Hello,
How do we replace/remove the price on recently viewed products snippet.
See screenshot from runbot: https://ibb.co/G22XR6N
It seems to be generated from java so can not find corresponding view to edit?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
How do we replace/remove the price on recently viewed products snippet.
See screenshot from runbot: https://ibb.co/G22XR6N
It seems to be generated from java so can not find corresponding view to edit?
Hi,
You can achieve this by editing the code. The template rendered when adding the recently viewed products snippet is in website_sale -> static -> src -> xml -> website_sale_recently_viewed.xml (Odoo 14).
In that file, you can see a line:
<div class="d-block font-weight-bold" t-raw="product.price"/>
This is the code that adds price to the products in the snippet. You just have to remove it.
Regards
Thanks, we did eventually find that ourselves and modified it by an extended view with xpath in exactly the same manner.
Still your solution is correct.
I have the same question, didn't find the answer yet...
Hi, the same for me, do you find a way ??
THX