Hide Price, Add To Cart And Quantity Button In Website
by Cybrosys Techno Solutions https://www.cybrosys.comAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Invoicing (account) • Discuss (mail) |
Lines of code | 241 |
Technical Name |
website_hide_button |
License | AGPL-3 |
Website | https://www.cybrosys.com |
Versions | 14.0 15.0 16.0 17.0 18.0 |

Hide Price, Add To Cart And Quantity Button In Website
This App Allows Only Login Users to View the Price, Add To Cart Button and Quantity from Website.

Key Highlights
Hide Price, Add to cart buttons and Quantity of the product from Guest users. That will be only visible to login users.
Hide cart quickview for public users.
Disable the order creation option for public users.

The user can enable the 'Hide Cart for Guests' and 'Hide Product Prices from Guests' options in the general settings of the Website module.

Login user can see the product price in Shop page.

Login user can see Product Price, ADD TO CART button and Quantity in Product page.

Product Price is not visible to Guest user in Shop page.

Product Price, ADD TO CART button and Quantity are hided for Guest users in Product page.
-
Hide Price, Add to cart buttons and Quantity of the product from Guest users. That will be only visible to login users.
-
Hide cart quickview for public users.
-
Disable the order creation option for public users.
Initial commit for Hide Price, Add To Cart And Quantity Button In Website.
Related Products
Our Services

Odoo Customization

Odoo Implementation

Odoo Support

Hire Odoo Developer

Odoo Integration

Odoo Migration

Odoo Consultancy

Odoo Implementation

Odoo Licensing Consultancy
Our Industries

Trading
Easily procure and sell your products

POS
Easy configuration and convivial experience

Education
A platform for educational management

Manufacturing
Plan, track and schedule your operations

E-commerce & Website
Mobile friendly, awe-inspiring product pages

Service Management
Keep track of services and invoice

Restaurant
Run your bar or restaurant methodically

Hotel Management
An all-inclusive hotel management application
Support
Got questions or need help? Get in touch.
Say hi to us on WhatsApp!
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedUnfortunately, there is an issue with this module for version 17.
UncaughtPromiseError > TypeError
Uncaught Promise > Cannot read properties of null (reading 'classList')
TypeError: Cannot read properties of null (reading 'classList')
at VariantMixin._onChangeCombinationStock (https://lcop.com.cn/web/assets/1/443d872/web.assets_frontend_lazy.min.js:7990:160)
at VariantMixin._onChangeCombinationStock (https://lcop.com.cn/web/assets/1/443d872/web.assets_frontend_lazy.min.js:8118:558)
at Class._onChangeCombination (https://lcop.com.cn/web/assets/1/443d872/web.assets_frontend_lazy.min.js:7993:512)
at Class._onChangeCombination (https://lcop.com.cn/web/assets/1/443d872/web.assets_frontend_lazy.min.js:3356:375)
at https://lcop.com.cn/web/assets/1/443d872/web.assets_frontend_lazy.min.js:7601:6
Re: Unfortunately, there is an issue with this module for version 17.
Hello, Could you please share more details? We have checked the app and it is working as intended. You can email us at odoo@cybrosys.com.
What to do after installing the module
Re:
After installing the module, only logged-in users will see the product price, quantity, "Add to Cart" button, and cart quick view. Guest users will not have access to these features.
Same error here
Test on Odoo 17 community version.
To reproduce:
Log out Odoo, navigate to the Shop page, then click any product to get into the product detail page, the error thows out.
----------------------------------------------
UncaughtPromiseError > TypeError
Uncaught Promise > Cannot read properties of null (reading 'classList')
TypeError: Cannot read properties of null (reading 'classList')
at VariantMixin._onChangeCombinationStock (http://localhost:8069/web/assets/1/debug/web.assets_frontend_lazy.js:95629:16)
at Class._onChangeCombination (http://localhost:8069/web/assets/1/debug/web.assets_frontend_lazy.js:95679:48)
at Class._onChangeCombination (http://localhost:8069/web/assets/1/debug/web.assets_frontend_lazy.js:38255:38)
at http://localhost:8069/web/assets/1/debug/web.assets_frontend_lazy.js:90953:18