| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Invoicing (account) • Discuss (mail) |
| Lines of code | 29 |
| Technical Name |
web_shop_product_card |
| License | OPL-1 |
| Website | https://gulfboost.com |
Web Shop Product Card
Display a crossedâout base price alongside the active price on product cards/pages even for Fixed Price pricelist rules. This mirrors the classic discount display so customers clearly see savings on the shop grid and product page.
Key Features
- Shows current price + struck base price for fixedâprice rules (when enabled).
- New checkbox on
product.pricelist.item: Show as discount on Website (fixed price). - Leverages native
website_saleprice rendering. No template overrides. - Works with taxâincluded/excluded display settings.
Requirements
Odoo 18 (Enterprise or Community)
Apps: Website, eCommerce (website_sale)
How It Works
1. Enable on the Pricelist Rule
Open the fixedâprice rule and tick Show as discount on Website (fixed price). The module treats that rule as âdiscountedâ for website display only.
2. Price Rendering on Shop
If the fixed price is lower than the base price, the shop grid and product page show the active price plus a struck base price, exactly like percentage discounts.
Configuration
- Go to Sales â Pricelists and edit your fixedâprice rule.
- Enable Show as discount on Website (fixed price) and Save.
- Ensure your website uses the target pricelist (Website â Configuration â eCommerce â Pricelists).
- Refresh the shop page (Ctrl+F5) to see the compare price on product cards.
Compatibility
Compatible with Odoo 18 (Enterprise & Community). Uses native
website_sale.product_price template and pricing APIs; no template overrides
required.
Screenshots
Enable Show as discount on Website (fixed price) on the fixedâprice rule.
Fixedâprice rule configuration in the pricelist. Works with taxâincl/excl display.
Website product card shows the active price plus a struck base price.
Shop grid product card with clear savings: current price and compareâat base price.
Product page view mirroring discount style for fixedâprice rules on the website.
About
Developed by Mostafa Badr.
Phone: +20 1147532376
Support / customization: mostafabadrhafez@gmail.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module