Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update theme belgrade to 2.0.x-dev and add correct config for shopping cart block. #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "GPL-2.0+",
"require": {
"drupal/admin_toolbar": "^2.0",
"drupal/belgrade": "1.x-dev",
"drupal/belgrade": "2.0.x-dev@dev",
"drupal/commerce": "^2.0",
"drupal/commerce_cart_api": "^1.0",
"drupal/commerce_cart_flyout": "^1.0",
Expand Down
22 changes: 22 additions & 0 deletions config/install/block.block.belgrade_shopping_cart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
module:
- commerce_cart_flyout
theme:
- belgrade
id: belgrade_shopping_cart
theme: belgrade
region: top_bar
weight: -10
provider: null
plugin: commerce_cart
settings:
id: commerce_cart
label: 'Shopping Cart'
provider: commerce_cart
label_display: '0'
use_quantity_count: false
dropdown: true
item_text: items
visibility: { }