Commit 8d3eea84 authored by Gorodkov Denis's avatar Gorodkov Denis

commerce

parent 8cddbf2d
This diff is collapsed.
uuid: 4239dfd8-a503-4e50-9d05-7874b9a36871
langcode: en
status: true
dependencies:
module:
- custom_commerce
- node
theme:
- bartik
id: productssyggest
theme: bartik
region: content
weight: 0
provider: null
plugin: custom_commerce_product_suggest
settings:
id: custom_commerce_product_suggest
label: 'Products suggest'
label_display: visible
provider: custom_commerce
context_mapping:
node: '@node.node_route_context:node'
visibility:
'entity_bundle:node':
id: 'entity_bundle:node'
negate: false
context_mapping:
node: '@node.node_route_context:node'
bundles:
product: product
......@@ -5,12 +5,15 @@ module:
address: 0
admin_toolbar: 0
admin_toolbar_tools: 0
ajax_form: 0
automated_cron: 0
batch: 0
better_exposed_filters: 0
big_pipe: 0
block: 0
block_content: 0
breakpoint: 0
cache_context: 0
ckeditor: 0
color: 0
comment: 0
......@@ -37,12 +40,14 @@ module:
config: 0
config_pages: 0
contact: 0
context_defenition: 0
contextual: 0
custom_commerce: 0
datetime: 0
dblog: 0
devel: 0
devel_kint_extras: 0
drush: 0
dynamic_page_cache: 0
editor: 0
entity: 0
......@@ -66,21 +71,25 @@ module:
layout_builder: 0
layout_discovery: 0
link: 0
local_task: 0
locale: 0
media: 0
menu_link_content: 0
menu_ui: 0
multivalue_form_element: 0
node: 0
options: 0
page_cache: 0
path: 0
path_alias: 0
people_rest: 0
physical: 0
profile: 0
queue_ui: 0
rdf: 0
rest: 0
restui: 0
role_editor: 0
schema: 0
search_api: 0
search_api_autocomplete: 0
......@@ -92,6 +101,7 @@ module:
shortcut: 0
smtp: 0
state_machine: 0
swapi: 0
system: 0
taxonomy: 0
text: 0
......
uuid: f71d18f8-54f8-4e83-9345-5a537ef9edce
langcode: en
status: true
dependencies:
module:
- serialization
- user
id: entity.user
plugin_id: 'entity:user'
granularity: resource
configuration:
methods:
- GET
- POST
formats:
- json
authentication:
- cookie
uuid: 4111f0da-857b-4a3e-9fcf-43502a5848d9
langcode: en
status: true
dependencies:
module:
- people_rest
- serialization
- user
id: rest_people
plugin_id: rest_people
granularity: resource
configuration:
methods:
- GET
- POST
formats:
- json
authentication:
- cookie
......@@ -16,7 +16,6 @@ dependencies:
- field.storage.node.field_starships
- field.storage.node.field_vehicles
- search_api.server.default_server
- core.entity_view_mode.node.search_index
module:
- node
- search_api
......@@ -91,17 +90,6 @@ field_settings:
indexed_locked: true
type_locked: true
hidden: true
rendered_item:
label: 'Rendered item'
property_path: rendered_item
type: text
configuration:
roles:
anonymous: anonymous
view_mode:
'entity:node':
article: search_index
page: search_index
status:
label: 'Publishing status'
datasource_id: 'entity:node'
......@@ -218,7 +206,6 @@ processor_settings:
- field_height
- field_mass
- field_skin_color
- rendered_item
- title
- title_1
- title_2
......@@ -247,7 +234,6 @@ processor_settings:
- field_height
- field_mass
- field_skin_color
- rendered_item
- title
- title_1
- title_2
......@@ -268,7 +254,6 @@ processor_settings:
- field_height
- field_mass
- field_skin_color
- rendered_item
- title
- title_1
- title_2
......@@ -284,9 +269,7 @@ processor_settings:
preprocess_index: -4
preprocess_query: -7
all_fields: false
fields:
- rendered_item
- title
fields: { }
tracker_settings:
default:
indexing_order: fifo
......
uuid: d2749a9e-b12a-437c-b50f-26255fab72ee
langcode: en
status: true
dependencies:
module:
- swapi
title: 'Default cron handler'
id: swapi_cron
weight: 0
module: swapi
callback: swapi_cron
scheduler:
id: simple
configuration:
rules:
- '*/15+@ * * * *'
launcher:
id: serial
configuration:
timeouts:
lock_timeout: 3600
launcher:
thread: 0
logger:
id: database
configuration:
method: '3'
expire: 1209600
retain: 1000
......@@ -22,7 +22,6 @@ permissions:
- 'access toolbar'
- 'administer blocks'
- 'administer node display'
- 'create films content'
- 'create people content'
- 'create planets content'
- 'create species content'
......@@ -40,7 +39,6 @@ permissions:
- 'delete own species content'
- 'delete own starships content'
- 'delete own vehicles content'
- 'edit any films content'
- 'edit any people content'
- 'edit any planets content'
- 'edit any species content'
......
......@@ -317,6 +317,21 @@ display:
field_identifier: ''
exposed: false
granularity: second
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: standard
order: ASC
expose:
label: Title
field_identifier: title
exposed: true
arguments: { }
filters:
status:
......@@ -569,6 +584,8 @@ display:
- 'languages:language_interface'
- url
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
......@@ -584,7 +601,7 @@ display:
position: 1
display_options:
display_extenders: { }
path: people
path: peoples
cache_metadata:
max-age: -1
contexts:
......@@ -592,6 +609,8 @@ display:
- 'languages:language_interface'
- url
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
......@@ -615,6 +634,8 @@ display:
- 'languages:language_interface'
- url
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
......
......@@ -27,7 +27,7 @@
src_item = src + item['uri'];
}
img_attr = 'width="60" height="60" src="' + src_item +'"';
img = '<div class="item-img-container"><img ' + img_attr + '></div>';
img = '<div class="item-img-container"><img alt="alt"' + img_attr + '></div>';
content = content + '<div class="card">';
content = content + '<div class="item-img-container">' + img + '</div>';
content = content + '<div class="item-name">Наименование товара: ' + item['name'] + '</div>';
......
......@@ -8,6 +8,7 @@ use Drupal\commerce_promotion\Entity\PromotionInterface;
use Drupal\commerce_promotion\Plugin\Commerce\PromotionOffer\OrderItemPercentageOff;
use Drupal\commerce_promotion\Plugin\Commerce\PromotionOffer\OrderPromotionOfferBase;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Form\FormStateInterface;
use Drupal\multivalue_form_element\Element\MultiValue;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment