shopping cart quick add

main
alexanderroese 2024-06-22 17:12:25 +02:00
parent 3aaad127f9
commit c962a0070f
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -11,8 +11,6 @@
{% 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", shx_section_id: section_id %}
<div {{ block.shopify_attributes }}> <div {{ block.shopify_attributes }}>
{%- if product != blank -%} {%- if product != blank -%}
{%- liquid {%- liquid
@ -54,6 +52,8 @@
novalidate: 'novalidate', novalidate: 'novalidate',
data-type: 'add-to-cart-form' data-type: 'add-to-cart-form'
-%} -%}
{% render "shx-product-page-shopping-cart-quick-add", shx_section_id: section_id %}
<input <input
type="hidden" type="hidden"
name="id" name="id"