Skip to main content

Display prices with(out) taxes in eCommerce, complementing normal mode

Project description

Production/Stable License: LGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

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

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

b2c-features

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

details-features

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” tab of the web editor. This can be done independently per website:

toggle-list

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

toggle-detail

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 to smash it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa:

    • Jairo Llopis

    • Carlos Roca

    • Carlos López

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_website_sale_b2x_alt_price-18.0.1.0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_website_sale_b2x_alt_price-18.0.1.0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 bc8ac1d643ece5d7403998d8c04b66af3794c32aa1ee2474efde6ccca0daa7b8
MD5 641180030cba46203119df20f1d65d6b
BLAKE2b-256 e4b1cd6174b8747d14156bb3d3d4727534c9917b6888976631e6cdc346fceb01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page