created snippet for payment list and added it below of the buy button in the card drawer
parent
a114231461
commit
c297636443
|
@ -97,20 +97,7 @@
|
|||
{{ form | payment_button }}
|
||||
{%- endif -%}
|
||||
|
||||
<!-- custom code -->
|
||||
|
||||
<div style="display: flex; flex-direction: column; align-items: center; padding-top: 4px">
|
||||
<span>Sicher Bezahlen mit</span>
|
||||
<ul class="list list-payment" style="padding-top: 0px;" role="list">
|
||||
{%- for type in shop.enabled_payment_types -%}
|
||||
<li class="list-payment__item">
|
||||
{{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- end -->
|
||||
{% render 'shx-payment-list' %}
|
||||
</div>
|
||||
{%- endform -%}
|
||||
</product-form>
|
||||
|
|
|
@ -526,6 +526,8 @@
|
|||
{{ 'sections.cart.checkout' | t }}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{% render 'shx-payment-list' %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<div style="display: flex; flex-direction: column; align-items: center; padding-top: 4px">
|
||||
<span>Sicher Bezahlen mit</span>
|
||||
<ul class="list list-payment" style="padding-top: 0px;" role="list">
|
||||
{%- for type in shop.enabled_payment_types -%}
|
||||
<li class="list-payment__item">
|
||||
{{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</div>
|
Loading…
Reference in New Issue