[FIX] website_sale: remove disabled attribute on button in the xml template for product without variants

This commit is contained in:
Christophe Matthieu 2014-06-12 17:03:17 +02:00
parent f62673c266
commit 9d363b8758
1 changed files with 2 additions and 2 deletions

View File

@ -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>