Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Gorodkov Denis
Project
Commits
8d3eea84
Commit
8d3eea84
authored
Jun 21, 2022
by
Gorodkov Denis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commerce
parent
8cddbf2d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
101 additions
and
19494 deletions
+101
-19494
1154.sql
app/1154.sql
+0
-10031
block.block.productssyggest.yml
app/config/general/block.block.productssyggest.yml
+0
-30
core.extension.yml
app/config/general/core.extension.yml
+10
-0
rest.resource.entity.user.yml
app/config/general/rest.resource.entity.user.yml
+18
-0
rest.resource.rest_people.yml
app/config/general/rest.resource.rest_people.yml
+19
-0
search_api.index.default_index.yml
app/config/general/search_api.index.default_index.yml
+1
-18
ultimate_cron.job.swapi_cron.yml
app/config/general/ultimate_cron.job.swapi_cron.yml
+29
-0
user.role.redactor.yml
app/config/general/user.role.redactor.yml
+0
-2
views.view.people.yml
app/config/general/views.view.people.yml
+22
-1
ProductSuggest.js
...croot/modules/custom/custom_commerce/js/ProductSuggest.js
+1
-1
CustomPromotion.php
...ce/src/Plugin/Commerce/PromotionOffer/CustomPromotion.php
+1
-0
project1302.sql
app/project1302.sql
+0
-9411
No files found.
app/1154.sql
deleted
100644 → 0
View file @
8cddbf2d
This diff is collapsed.
Click to expand it.
app/config/general/block.block.productssyggest.yml
deleted
100644 → 0
View file @
8cddbf2d
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
app/config/general/core.extension.yml
View file @
8d3eea84
...
...
@@ -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
...
...
app/config/general/rest.resource.entity.user.yml
0 → 100644
View file @
8d3eea84
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
app/config/general/rest.resource.rest_people.yml
0 → 100644
View file @
8d3eea84
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
app/config/general/search_api.index.default_index.yml
View file @
8d3eea84
...
...
@@ -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
...
...
app/config/general/ultimate_cron.job.swapi_cron.yml
0 → 100644
View file @
8d3eea84
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
app/config/general/user.role.redactor.yml
View file @
8d3eea84
...
...
@@ -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'
...
...
app/config/general/views.view.people.yml
View file @
8d3eea84
...
...
@@ -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
:
people
s
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
:
...
...
app/docroot/modules/custom/custom_commerce/js/ProductSuggest.js
View file @
8d3eea84
...
...
@@ -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>'
;
...
...
app/docroot/modules/custom/custom_commerce/src/Plugin/Commerce/PromotionOffer/CustomPromotion.php
View file @
8d3eea84
...
...
@@ -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
;
...
...
app/project1302.sql
deleted
100644 → 0
View file @
8cddbf2d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment