80fbe16be8
- Test for ProductQuery engine and ProductFilters engine - Test for engine for Item Group too - Renamed ‘product_configurator’ to ‘variant_selector’ - Cleaned up filters.py - Modal freeze backdrop lighter only in cart, since there’s nothing over it - Fixed unusual spacing in variant selector dialog - Made `get_child_groups_for_website` more readable - Replaced ‘Configure’ with ‘Select’ for variant selection
21 lines
602 B
HTML
21 lines
602 B
HTML
{% if shopping_cart and shopping_cart.cart_settings.enabled %}
|
|
{% set cart_settings = shopping_cart.cart_settings %}
|
|
|
|
<div class="mt-5 mb-6">
|
|
{% if cart_settings.enable_variants | int %}
|
|
<button class="btn btn-primary-light btn-configure font-md mr-2"
|
|
data-item-code="{{ doc.name }}"
|
|
data-item-name="{{ doc.item_name }}"
|
|
>
|
|
{{ _('Select Variant') }}
|
|
</button>
|
|
{% endif %}
|
|
{% if cart_settings.show_contact_us_button %}
|
|
{% include "templates/generators/item/item_inquiry.html" %}
|
|
{% endif %}
|
|
</div>
|
|
<script>
|
|
{% include "templates/generators/item/item_configure.js" %}
|
|
</script>
|
|
{% endif %}
|