shopping cart quick add
parent
beac52d0ee
commit
8010f328c1
|
@ -65,8 +65,6 @@
|
||||||
>
|
>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{% render "shx-product-page-shopping-cart-quick-add" %}
|
|
||||||
|
|
||||||
{% assign variant_images = product.images | where: 'attached_to_variant?', true | map: 'src' %}
|
{% assign variant_images = product.images | where: 'attached_to_variant?', true | map: 'src' %}
|
||||||
<div class="page-width">
|
<div class="page-width">
|
||||||
<div class="product product--{{ section.settings.media_size }} product--{{ section.settings.media_position }} product--{{ section.settings.gallery_layout }} product--mobile-{{ section.settings.mobile_thumbnails }} grid grid--1-col {% if product.media.size > 0 %}grid--2-col-tablet{% else %}product--no-media{% endif %}">
|
<div class="product product--{{ section.settings.media_size }} product--{{ section.settings.media_position }} product--{{ section.settings.gallery_layout }} product--mobile-{{ section.settings.mobile_thumbnails }} grid grid--1-col {% if product.media.size > 0 %}grid--2-col-tablet{% else %}product--no-media{% endif %}">
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
Usage:
|
Usage:
|
||||||
{% render 'buy-buttons', block: block, product: product, product_form_id: product_form_id, section_id: section.id, show_pickup_availability: true %}
|
{% render 'buy-buttons', block: block, product: product, product_form_id: product_form_id, section_id: section.id, show_pickup_availability: true %}
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
|
{% render "shx-product-page-shopping-cart-quick-add" %}
|
||||||
|
|
||||||
<div {{ block.shopify_attributes }}>
|
<div {{ block.shopify_attributes }}>
|
||||||
{%- if product != blank -%}
|
{%- if product != blank -%}
|
||||||
{%- liquid
|
{%- liquid
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
{%- form 'product',
|
|
||||||
product,
|
|
||||||
id: product_form_id,
|
|
||||||
class: 'form',
|
|
||||||
novalidate: 'novalidate',
|
|
||||||
data-type: 'add-to-cart-form'
|
|
||||||
-%}
|
|
||||||
|
|
||||||
<button id="scrollToCartButton" class="scroll-to-cart-button" type="submit" name="add">
|
<button id="scrollToCartButton" class="scroll-to-cart-button" type="submit" name="add">
|
||||||
In den Warenkorb
|
In den Warenkorb
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
{%- endform -%}
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.scroll-to-cart-button {
|
.scroll-to-cart-button {
|
||||||
|
|
Loading…
Reference in New Issue