shopping cart quick add

main
alexanderroese 2024-06-22 17:09:55 +02:00
parent 3c09d5a895
commit 502263b9d0
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@
endcapture
%}
console.log("2", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
console.log("3", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
</script>

View File

@ -11,7 +11,7 @@
{% render 'buy-buttons', block: block, product: product, product_form_id: product_form_id, section_id: section.id, show_pickup_availability: true %}
{% endcomment %}
{% render "shx-product-page-shopping-cart-quick-add" %}
{% render "shx-product-page-shopping-cart-quick-add", section_id: section_id %}
<div {{ block.shopify_attributes }}>
{%- if product != blank -%}

View File

@ -1,5 +1,5 @@
<button id="scrollToCartButton" class="scroll-to-cart-button" type="submit" name="add">
<button id="ProductSubmitButton-{{ section_id }}" class="scroll-to-cart-button" type="submit" name="add">
In den Warenkorb
</button>