2019-03-19 06:18:32 +00:00
|
|
|
{% if shopping_cart and shopping_cart.cart_settings.enabled %}
|
|
|
|
{% set cart_settings = shopping_cart.cart_settings %}
|
|
|
|
|
2021-01-20 12:17:25 +00:00
|
|
|
<div class="mt-5 mb-6">
|
2020-07-23 10:28:47 +00:00
|
|
|
{% if cart_settings.enable_variants | int %}
|
2021-06-08 18:41:48 +00:00
|
|
|
<button class="btn btn-primary-light btn-configure font-md"
|
2019-03-19 06:18:32 +00:00
|
|
|
data-item-code="{{ doc.name }}"
|
|
|
|
data-item-name="{{ doc.item_name }}"
|
|
|
|
>
|
|
|
|
{{ _('Configure') }}
|
|
|
|
</button>
|
|
|
|
{% endif %}
|
2020-08-31 08:30:27 +00:00
|
|
|
{% if cart_settings.show_contact_us_button %}
|
|
|
|
{% include "templates/generators/item/item_inquiry.html" %}
|
2019-03-19 06:18:32 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
{% include "templates/generators/item/item_configure.js" %}
|
|
|
|
</script>
|
|
|
|
{% endif %}
|