add-to-cart.css |
css/add-to-cart.css |
|
/* @todo fix upsteam in commerce */
.product--rendered-attribute input:checked ~ label.option {
border: 1px solid;
} |
AddToCart.php |
src/Plugin/Field/FieldFormatter/AddToCart.php |
Drupal\commerce_cart_flyout\Plugin\Field\FieldFormatter |
|
CartBlock.php |
src/Plugin/Block/CartBlock.php |
Drupal\commerce_cart_flyout\Plugin\Block |
|
CartEventSubscriber.php |
src/EventSubscriber/CartEventSubscriber.php |
Drupal\commerce_cart_flyout\EventSubscriber |
|
commerce-cart-flyout-add-to-cart-attributes-radios.html.twig |
templates/commerce-cart-flyout-add-to-cart-attributes-radios.html.twig |
|
<fieldset class="fieldgroup form-composite required js-form-item form-item js-form-wrapper form-wrapper" aria-required="true">
<legend>
<span class="fieldset-legend js-form-required… |
commerce-cart-flyout-add-to-cart-attributes-rendered.html.twig |
templates/commerce-cart-flyout-add-to-cart-attributes-rendered.html.twig |
|
<fieldset class="product--rendered-attribute fieldgroup form-composite required js-form-item form-item js-form-wrapper form-wrapper" aria-required="true">
<legend>
<span class="fieldset-legend… |
commerce-cart-flyout-add-to-cart-attributes-select.html.twig |
templates/commerce-cart-flyout-add-to-cart-attributes-select.html.twig |
|
<div class="js-form-item form-item js-form-type-select form-type-select js-form-item-purchased-entity-attributes-attribute-<%= attributeId %> form-item-purchased-entity-attributes-attribute-<%= attributeId %>">
<label… |
commerce-cart-flyout-add-to-cart-button.html.twig |
templates/commerce-cart-flyout-add-to-cart-button.html.twig |
|
<div class="form-actions form-group js-form-wrapper form-wrapper">
<input class="button button--primary js-form-submit form-submit" type="submit" value="{{ 'Add to cart'|t }}" />
</div> |
commerce-cart-flyout-add-to-cart-variation-select.html.twig |
templates/commerce-cart-flyout-add-to-cart-variation-select.html.twig |
|
<select>
<% _.each(variations, function(variation, key) { %>
<option value="<%= variation.uuid %>"><%= variation.title %></option>
<% }) %>
</select> |
commerce-cart-flyout-block-icon.html.twig |
templates/commerce-cart-flyout-block-icon.html.twig |
|
<img src="<%= icon %>" alt="Cart"/> |
commerce-cart-flyout-block.html.twig |
templates/commerce-cart-flyout-block.html.twig |
|
<div class="cart--cart-block">
<div class="cart-block--summary">
<a class="cart-block--link__expand" href="<%= url %>">
<span… |
commerce-cart-flyout-offcanvas-contents-items.html.twig |
templates/commerce-cart-flyout-offcanvas-contents-items.html.twig |
|
<table class="cart-block--offcanvas-cart-table table">
<tbody>
<% _.each(cart.order_items, function(orderItem, key) { %>
<tr>
<td… |
commerce-cart-flyout-offcanvas-contents.html.twig |
templates/commerce-cart-flyout-offcanvas-contents.html.twig |
|
<% _.each(carts, function(cart) { %>
<div data-cart-contents='cart.order_id) %>'></div>
<% }); %> |
commerce-cart-flyout-offcanvas.html.twig |
templates/commerce-cart-flyout-offcanvas.html.twig |
|
<div class="cart--cart-offcanvas">
<div class="cart--cart-offcanvas__close">
<button class="button btn">x<span class="visually-hidden"> {{ 'Close cart'|t }}</span>… |
CommerceCartFlyoutServiceProvider.php |
src/CommerceCartFlyoutServiceProvider.php |
Drupal\commerce_cart_flyout |
|
commerce_cart_flyout.info.yml |
commerce_cart_flyout.info.yml |
|
commerce_cart_flyout.info.yml |
commerce_cart_flyout.libraries.yml |
commerce_cart_flyout.libraries.yml |
|
commerce_cart_flyout.libraries.yml |
commerce_cart_flyout.module |
commerce_cart_flyout.module |
|
|
commerce_cart_flyout.post_update.php |
commerce_cart_flyout.post_update.php |
|
Post update functions for Commerce Cart Flyout. |
commerce_cart_flyout.schema.yml |
config/schema/commerce_cart_flyout.schema.yml |
|
config/schema/commerce_cart_flyout.schema.yml |
commerce_cart_flyout.services.yml |
commerce_cart_flyout.services.yml |
|
commerce_cart_flyout.services.yml |
module.css |
css/module.css |
|
body.toolbar-fixed .cart-offcanvas {
padding-top: 39px;
}
body.toolbar-fixed.toolbar-tray-open .cart-offcanvas {
padding-top: 79px;
}
.cart-offcanvas {
position: fixed;
min-height: 100%;
max-height: none;
top: 0;
display:… |
PreparedAttributeNormalizer.php |
src/Normalizer/PreparedAttributeNormalizer.php |
Drupal\commerce_cart_flyout\Normalizer |
|
README.txt |
README.txt |
|
CONTENTS OF THIS FILE
---------------------
* Introduction
* Requirements
* Installation
* Configuration
* Maintainers
INTRODUCTION
------------
* Drupal 8: The Cart Flyout is a drop-in replacement of the cart block provided
by Drupal… |