Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions website_sale_ux/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ msgstr ""
msgid "Ecommerce Detailed Description"
msgstr "Descripción detallada para eCommerce"

#. module: website_sale_ux
#: model_terms:ir.ui.view,arch_db:website_sale_ux.products_add_to_cart
msgid "Shopping cart (Select attributes)"
msgstr "Carrito de Compras (Seleccionar atributos)"

#. module: website_sale_ux
#: model_terms:ir.ui.view,arch_db:website_sale_ux.website_product_description
msgid ""
Expand Down
11 changes: 0 additions & 11 deletions website_sale_ux/views/product_template_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,6 @@
</field>
</record>

<template id="products_add_to_cart" inherit_id="website_sale.products_add_to_cart" active="True" name="Add to Cart">
<xpath expr="//a[@t-if='product._website_show_quick_add()']" position="attributes">
<attribute name="t-if">product._website_show_quick_add() and len(product.product_variant_ids) == 1</attribute>
</xpath>
<xpath expr="//a[hasclass('btn-light')]/.." position="after">
<a class="btn btn-secondary btn-m" title="Shopping cart (Select attributes)" t-if="len(product.product_variant_ids) &gt; 1" t-att-href="keep('/shop/product/%s' % slug(product), page=(pager['page']['num'] if pager['page']['num']&gt;1 else None))">
<span class="fa fa-shopping-cart"/>
</a>
</xpath>
</template>

<template id="products_categories_list" inherit_id="website_sale.products_categories_list">
<xpath expr="//a" position="replace">
<a
Expand Down
Loading