Community: CMS / eCommerce Experts mailing list archives

expert-website@mail.odoo.com

Re: [eCommerce] How to hide prices and add "Contact for price" for products on website

by
Antony Lesuisse (al)
- 06/01/2015 15:21:08
Create an inherited qweb view to replace the price by a button if the product 
is part a specific category (or you could add an x_hide_price bool field).

if will need to override:
website_sale.product
website_sale.products
website_sale.product_price

with a xpath attribute add t-if="not product.x_hide_price
with a xpath append add a 
there any simple ways to achieve this without developing our own module? > > Regards, > Hieu > > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59 > Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe >