Skip to main content

Alternative (un)taxed prices display on eCommerce

Beta License: LGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runbot

This module takes into account if your eCommerce is in B2B or B2C mode, and displays the alternative pricing next to the main one.

For example, if your website is B2B (main price is without taxes), you would see it similar to this:

B2B features showcase

If your website is B2C (main price is with taxes), then it looks like this:

B2C features showcase

It also displays the alternative price, including discounts, updated automatically when the user is choosing alternatives in the product detail page:

Product details page features showcase

Table of contents

Configuration

To choose if you want to display or not the alternative price in the website products list, just enable or disable the feature from the “Customize” menu. This can be done independently per website:

How to disable and enable the feature in products list

You can also toggle the behavior similarly in the product details page. This can also be done independently per website:

How to disable and enable the feature in product details

Usage

To use this module, you need to:

  1. Create a product.

  2. Set some customer taxes on it.

  3. Publish it.

  4. Go see it on your website. It will display the alternative price.

Known issues / Roadmap

  • Computing this requires 1 or 2 extra calls to taxes.compute_all() per product. This could be expensive in terms of performance, but the truth is that it is also not very optimized upstream in Odoo. Maybe optimize this part in Odoo and in this module? Or maybe apply some hack to avoid recomputing this? Maybe cache calls to that method? Is it really a problem in the Real World®?

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

Yajo

This module is part of the OCA/e-commerce project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo13-addon-website-sale-b2x-alt-price 13.0.1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo13-addon-website-sale-b2x-alt-price 13.0.1.1.0
File Interpreter ABI Platform Actions
odoo13_addon_website_sale_b2x_alt_price-13.0.1.1.0-py3-none-any.whl Python 3 none any Details for odoo13_addon_website_sale_b2x_alt_price-13.0.1.1.0-py3-none-any.whl

Release files / odoo13_addon_website_sale_b2x_alt_price-13.0.1.1.0-py3-none-any.whl

Download URL odoo13_addon_website_sale_b2x_alt_price-13.0.1.1.0-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1e180f12b6635dda422af53006e6eed6a3aeaec9fcc196fdf7f2ef5d051c1212
BLAKE2b-256 checksum
How to use checksums
96ef96c4186cafed22de2e65df0782f9a8a6d68b8068959ceb89b15bc2e17a23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5

Security for odoo13-addon-website-sale-b2x-alt-price 13.0.1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page