Skip to content

Conversation

@meval1006
Copy link
Contributor

@meval1006 meval1006 commented Dec 15, 2025

  • Added subsections to the Hide prices section.
  • Changed the checkbox label from Prevent Sales of Zero Priced Product to Hide Add To Cart.
  • Changed field Button URL to Link URL.
  • Added screenshot to show the Specific categories configuration.
  • Removed an unused image from the image folder.

The "Prevent Sale of Zero Priced Product" setting has been replaced with a "Hide Add to Cart" dropdown option. This dropdown provides two configuration choices that control price visibility and online sales behavior.

@robodoo
Copy link
Collaborator

robodoo commented Dec 15, 2025

Pull request status dashboard

@meval1006 meval1006 force-pushed the master-ecommerce-prevent-sales-by-category-meval branch from bfddc7c to d0983c5 Compare December 16, 2025 00:39
@meval1006 meval1006 force-pushed the master-ecommerce-prevent-sales-by-category-meval branch from d0983c5 to b9df546 Compare December 16, 2025 19:44
@meval1006 meval1006 marked this pull request as ready for review December 16, 2025 19:46
@meval1006 meval1006 self-assigned this Dec 16, 2025
@meval1006 meval1006 added the 3 label Dec 16, 2025
@meval1006 meval1006 requested a review from khaj-odoo December 16, 2025 19:47
@C3POdoo C3POdoo requested a review from a team December 16, 2025 19:48
@meval1006
Copy link
Contributor Author

Hi @khaj-odoo, I have drafted the documentation update for the "Prevent Sale of Zero Priced Product" setting update. Thank you for the help. Please let me know if you have any questions.

@Felicious
Copy link
Contributor

Hi @khaj-odoo, could you link this documentation PR to your feature update PR, so this documentation PR merges after your feature merges? Thank you!

(I'm not sure how to do this through runbot, if you'd like to teach us how, that would be really helpful for the entire team 😊 )

Copy link

@khaj-odoo khaj-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @meval1006
I’ve added a few small suggestions to help clarify the wording and better reflect the feature’s behavior. Please feel free to adjust if needed.

===========

Some businesses, such as :ref:`B2B shops <ecommerce/b2b_b2c/prices>` or companies that sell luxury
or custom items, often prefer to showcase their products online without displaying their prices.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or custom items, often prefer to showcase their products online without allowing direct purchases or showing prices.

- :guilabel:`0 price products`\: Products with a price of `0` have their prices hidden and
**cannot** be purchased from the wesite.
- :guilabel:`Specific categories`\: Products belonging to selected categories display their prices,
but **cannot** be purchase directly from the website.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • :guilabel:Specific categories: Products belonging to selected categories cannot be purchased
    directly from the website, and the prices are displayed only if the product price is greater than 0.


.. _ecommerce/prices/hide-prices:

Hide prices

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prevent Sale will be better as this feature not only hides prices but also prevents online sales based on either zero-priced products or products belonging to specific categories.

@khaj-odoo
Copy link

Hello @Felicious
After my feature PR is merged, the Runbot team will take care of internally linking this documentation PR to the deployed PR. So for now, we’ll need to wait for that step.

Thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants