Browse Source

Nov 13: [FIX] Bug Fixed 'website_hide_button'

pull/348/merge
Cybrosys Technologies 9 months ago
parent
commit
38ea3910c6
  1. 2
      website_hide_button/__manifest__.py
  2. 5
      website_hide_button/doc/RELEASE_NOTES.md
  3. 2
      website_hide_button/views/product_templates.xml

2
website_hide_button/__manifest__.py

@ -21,7 +21,7 @@
###############################################################################
{
'name': "Hide Price, Add To Cart And Quantity Button In Website",
'version': '17.0.2.0.1',
'version': '17.0.3.0.0',
'category': 'Website',
'summary': """Hide Price, Add To Cart and Quantity button for guest
users""",

5
website_hide_button/doc/RELEASE_NOTES.md

@ -15,3 +15,8 @@
#### Version 17.0.2.0.1
##### UPDT
- Bug Fix - Hide the visibility add to cart and price
#### 13.11.2024
#### Version 17.0.3.0.0
##### UPDT
- Bug Fix - Fixed the error that occurred after installing the website_sale_stock module

2
website_hide_button/views/product_templates.xml

@ -19,7 +19,7 @@
</template>
<!-- Hide Add To Cart button for guest users -->
<template id="product" inherit_id="website_sale.product">
<xpath expr="//div[@id='o_wsale_cta_wrapper']" position="attributes">
<xpath expr="//div[@id='add_to_cart_wrap']" position="attributes">
<attribute name="t-if">login_user == False</attribute>
</xpath>
</template>

Loading…
Cancel
Save