[FIX] website_sale: remove disabled attribute on button in the xml template for product without variants
This commit is contained in:
parent
f62673c266
commit
9d363b8758
|
@ -570,8 +570,8 @@
|
|||
|
||||
<p class="hidden oe_not_available bg-danger" style="padding: 15px;">Product not available</p>
|
||||
|
||||
<a t-if="not optional_product_ids" disabled="disabled" class="btn btn-primary btn-lg mt8 a-submit js_check_product">Add to Cart</a>
|
||||
<a t-if="optional_product_ids" disabled="disabled" class="btn btn-primary btn-lg mt8 js_check_product" href="#" data-toggle="modal" data-target="#modal_optional_products">Add to Cart</a>
|
||||
<a t-if="not optional_product_ids" class="btn btn-primary btn-lg mt8 a-submit js_check_product">Add to Cart</a>
|
||||
<a t-if="optional_product_ids" class="btn btn-primary btn-lg mt8 js_check_product" href="#" data-toggle="modal" data-target="#modal_optional_products">Add to Cart</a>
|
||||
</div>
|
||||
</form>
|
||||
</xpath>
|
||||
|
|
Loading…
Reference in New Issue