[Skip to main content](#vessel-content)

#   Show price without Add to cart button for group

##

- **[denoo](/forum/user/27930-denoo "View denoo's Profile")**
- [![denoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27930-denoo "View denoo's Profile") Topic Author
- [ Offline](/forum/user/27930-denoo)

Less More

- Posts: 44
- Thank you received: 0
-
-

12 years 4 months ago [\#164109](#164109) by [denoo](/forum/user/27930-denoo "View denoo's Profile")  *[Show price without Add to cart button for group](/forum/33-customers/869713-show-price-without-add-to-cart-button-for-group#164109 "-- HikaShop version -- : 2.3.1  Hi,  I'm trying to set three groups of customers: 1. &quot;Unregistered&quot; - they will see only 'display in div' without prices and 'Add to cart' buttons. 2. &quot;Registered&quot; - they will see only 'display in div' with prices and WITHOUT 'Add to cart' buttons. 3. &quot;Customers&quot; - they will see both 'display in div' and 'display in table' with prices and 'Add to cart' buttons.  Everything is almost ready. &quot;Unregistered&quot; group have no access to prices so 'Add to cart' button is not showing. The problem is with &quot;Registered&quot; group. They have access to the prices, so they can see 'Add to cart' button, which I want to be shown only to the 3rd group - &quot;Customers&quot;. Is there any Access level option to manage display of the 'Add to cart' button?  Thanks in advance Denis")* was created by *[denoo](/forum/user/27930-denoo "View denoo's Profile")*

-- HikaShop version -- : 2.3.1

Hi,

I'm trying to set three groups of customers:
1. "Unregistered" - they will see only 'display in div' without prices and 'Add to cart' buttons.
2. "Registered" - they will see only 'display in div' with prices and WITHOUT 'Add to cart' buttons.
3. "Customers" - they will see both 'display in div' and 'display in table' with prices and 'Add to cart' buttons.

Everything is almost ready. "Unregistered" group have no access to prices so 'Add to cart' button is not showing.
The problem is with "Registered" group. They have access to the prices, so they can see 'Add to cart' button, which I want to be shown only to the 3rd group - "Customers".
Is there any Access level option to manage display of the 'Add to cart' button?

Thanks in advance
Denis

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njk3MTMtc2hvdy1wcmljZS13aXRob3V0LWFkZC10by1jYXJ0LWJ1dHRvbi1mb3ItZ3JvdXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 4 months ago [\#164113](#164113) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Show price without Add to cart button for group](/forum/33-customers/869713-show-price-without-add-to-cart-button-for-group#164113 "-- HikaShop version -- : 2.3.1  Hi,  I'm trying to set three groups of customers: 1. &quot;Unregistered&quot; - they will see only 'display in div' without prices and 'Add to cart' buttons. 2. &quot;Registered&quot; - they will see only 'display in div' with prices and WITHOUT 'Add to cart' buttons. 3. &quot;Customers&quot; - they will see both 'display in div' and 'display in table' with prices and 'Add to cart' buttons.  Everything is almost ready. &quot;Unregistered&quot; group have no access to prices so 'Add to cart' button is not showing. The problem is with &quot;Registered&quot; group. They have access to the prices, so they can see 'Add to cart' button, which I want to be shown only to the 3rd group - &quot;Customers&quot;. Is there any Access level option to manage display of the 'Add to cart' button?  Thanks in advance Denis")*

Hello Dennis,
If you have a product with a price and a stock, your customer will automatically be able to add it in his cart, the solution can be to :
- remove "registered" from the access level of your product
- create a "clone" of your product
- set the access level of that new product so that only the "registered" group can access it
- set the quantity of that product to 0

Also note that if you don't want the "No stock" to show, you can directly edit your translation file : [ www.hikashop.com/download/languages.html#translate](http://www.hikashop.com/download/languages.html#translate)

The following user(s) said Thank You: [denoo](/forum/user/27930-denoo "View denoo's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njk3MTMtc2hvdy1wcmljZS13aXRob3V0LWFkZC10by1jYXJ0LWJ1dHRvbi1mb3ItZ3JvdXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[denoo](/forum/user/27930-denoo "View denoo's Profile")**
- [![denoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27930-denoo "View denoo's Profile") Topic Author
- [ Offline](/forum/user/27930-denoo)

Less More

- Posts: 44
- Thank you received: 0
-
-

12 years 4 months ago [\#164241](#164241) by [denoo](/forum/user/27930-denoo "View denoo's Profile")  Replied by *[denoo](/forum/user/27930-denoo "View denoo's Profile")* on topic *[Show price without Add to cart button for group](/forum/33-customers/869713-show-price-without-add-to-cart-button-for-group#164241 "-- HikaShop version -- : 2.3.1  Hi,  I'm trying to set three groups of customers: 1. &quot;Unregistered&quot; - they will see only 'display in div' without prices and 'Add to cart' buttons. 2. &quot;Registered&quot; - they will see only 'display in div' with prices and WITHOUT 'Add to cart' buttons. 3. &quot;Customers&quot; - they will see both 'display in div' and 'display in table' with prices and 'Add to cart' buttons.  Everything is almost ready. &quot;Unregistered&quot; group have no access to prices so 'Add to cart' button is not showing. The problem is with &quot;Registered&quot; group. They have access to the prices, so they can see 'Add to cart' button, which I want to be shown only to the 3rd group - &quot;Customers&quot;. Is there any Access level option to manage display of the 'Add to cart' button?  Thanks in advance Denis")*

Hi, Mohamed

thank you for your answer. In my case it will be complicated, because I have over 2000 products. And if I got it right, I have to clone all of them. So I'm going to use "display: block;" for 'Add to cart' button on the product page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njk3MTMtc2hvdy1wcmljZS13aXRob3V0LWFkZC10by1jYXJ0LWJ1dHRvbi1mb3ItZ3JvdXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")**
- [![lionel75's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11856-lionel75 "View lionel75's Profile")
- [ Offline](/forum/user/11856-lionel75)

Less More

- Posts: 846
- Thank you received: 92
-
-

12 years 4 months ago -  12 years 4 months ago [\#164251](#164251) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[Show price without Add to cart button for group](/forum/33-customers/869713-show-price-without-add-to-cart-button-for-group#164251 "-- HikaShop version -- : 2.3.1  Hi,  I'm trying to set three groups of customers: 1. &quot;Unregistered&quot; - they will see only 'display in div' without prices and 'Add to cart' buttons. 2. &quot;Registered&quot; - they will see only 'display in div' with prices and WITHOUT 'Add to cart' buttons. 3. &quot;Customers&quot; - they will see both 'display in div' and 'display in table' with prices and 'Add to cart' buttons.  Everything is almost ready. &quot;Unregistered&quot; group have no access to prices so 'Add to cart' button is not showing. The problem is with &quot;Registered&quot; group. They have access to the prices, so they can see 'Add to cart' button, which I want to be shown only to the 3rd group - &quot;Customers&quot;. Is there any Access level option to manage display of the 'Add to cart' button?  Thanks in advance Denis")*

Hi
Does being log has a register user create a new selector in HTML page ? .
then be register should load a css that override display:none for the add cart button .
in a way custom css attach to status login ?
perhaps a extension laready exist in JED ?
The code ( css js html) ll be here in all case but show or hide using css properties/Values.

Don' know if this make sense ?
[ extensions.joomla.org/extensions/core-en...tion/head-code/25625](http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/head-code/25625)

How do you configure register ,unregister , customer ?
Is it implemented by default in joomla ? or do you need some custom code ( php ) ?
does the configuration is set by admin in backEnd or by people themself ( register ,unregister , customer) ?
is there a way to bloc account acces automaticly after create and validate account that need to be activate manually by admin server ?

Regard's

Last edit: 12 years 4 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njk3MTMtc2hvdy1wcmljZS13aXRob3V0LWFkZC10by1jYXJ0LWJ1dHRvbi1mb3ItZ3JvdXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[denoo](/forum/user/27930-denoo "View denoo's Profile")**
- [![denoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27930-denoo "View denoo's Profile") Topic Author
- [ Offline](/forum/user/27930-denoo)

Less More

- Posts: 44
- Thank you received: 0
-
-

12 years 4 months ago [\#164371](#164371) by [denoo](/forum/user/27930-denoo "View denoo's Profile")  Replied by *[denoo](/forum/user/27930-denoo "View denoo's Profile")* on topic *[Show price without Add to cart button for group](/forum/33-customers/869713-show-price-without-add-to-cart-button-for-group#164371 "-- HikaShop version -- : 2.3.1  Hi,  I'm trying to set three groups of customers: 1. &quot;Unregistered&quot; - they will see only 'display in div' without prices and 'Add to cart' buttons. 2. &quot;Registered&quot; - they will see only 'display in div' with prices and WITHOUT 'Add to cart' buttons. 3. &quot;Customers&quot; - they will see both 'display in div' and 'display in table' with prices and 'Add to cart' buttons.  Everything is almost ready. &quot;Unregistered&quot; group have no access to prices so 'Add to cart' button is not showing. The problem is with &quot;Registered&quot; group. They have access to the prices, so they can see 'Add to cart' button, which I want to be shown only to the 3rd group - &quot;Customers&quot;. Is there any Access level option to manage display of the 'Add to cart' button?  Thanks in advance Denis")*

Hi,
no, registered user has no selector in HTML. Is it possible without custom code?
These groups are implemented by default.
Configuration is set by admin.
We have two step registration:
1) on the web, after that user is in "Registered" group
2) by sending some data to us and then admin switches him to "Customers" group.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njk3MTMtc2hvdy1wcmljZS13aXRob3V0LWFkZC10by1jYXJ0LWJ1dHRvbi1mb3ItZ3JvdXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 4 months ago [\#164377](#164377) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Show price without Add to cart button for group](/forum/33-customers/869713-show-price-without-add-to-cart-button-for-group#164377 "-- HikaShop version -- : 2.3.1  Hi,  I'm trying to set three groups of customers: 1. &quot;Unregistered&quot; - they will see only 'display in div' without prices and 'Add to cart' buttons. 2. &quot;Registered&quot; - they will see only 'display in div' with prices and WITHOUT 'Add to cart' buttons. 3. &quot;Customers&quot; - they will see both 'display in div' and 'display in table' with prices and 'Add to cart' buttons.  Everything is almost ready. &quot;Unregistered&quot; group have no access to prices so 'Add to cart' button is not showing. The problem is with &quot;Registered&quot; group. They have access to the prices, so they can see 'Add to cart' button, which I want to be shown only to the 3rd group - &quot;Customers&quot;. Is there any Access level option to manage display of the 'Add to cart' button?  Thanks in advance Denis")*

Hi,

To hide the add to cart button to everybody but the users in the "customers" group, you can edit the view "product / show_quantity" and add the following code at the top of the view: Code:

&lt;?php $currUser = JFactory::getUser(); if(!in_array('XX',$currUser-&gt;groups)) return false; ?&gt;

Just replace XX by the id of the "customers" group.

Here is documentation about layout edition:
[ hikashop.com/support/support/documentati...ize-the-display.html](https://hikashop.com/support/support/documentation/153-customize-the-display.html)

The following user(s) said Thank You: [denoo](/forum/user/27930-denoo "View denoo's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njk3MTMtc2hvdy1wcmljZS13aXRob3V0LWFkZC10by1jYXJ0LWJ1dHRvbi1mb3ItZ3JvdXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[denoo](/forum/user/27930-denoo "View denoo's Profile")**
- [![denoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27930-denoo "View denoo's Profile") Topic Author
- [ Offline](/forum/user/27930-denoo)

Less More

- Posts: 44
- Thank you received: 0
-
-

12 years 4 months ago [\#164458](#164458) by [denoo](/forum/user/27930-denoo "View denoo's Profile")  Replied by *[denoo](/forum/user/27930-denoo "View denoo's Profile")* on topic *[Show price without Add to cart button for group](/forum/33-customers/869713-show-price-without-add-to-cart-button-for-group#164458 "-- HikaShop version -- : 2.3.1  Hi,  I'm trying to set three groups of customers: 1. &quot;Unregistered&quot; - they will see only 'display in div' without prices and 'Add to cart' buttons. 2. &quot;Registered&quot; - they will see only 'display in div' with prices and WITHOUT 'Add to cart' buttons. 3. &quot;Customers&quot; - they will see both 'display in div' and 'display in table' with prices and 'Add to cart' buttons.  Everything is almost ready. &quot;Unregistered&quot; group have no access to prices so 'Add to cart' button is not showing. The problem is with &quot;Registered&quot; group. They have access to the prices, so they can see 'Add to cart' button, which I want to be shown only to the 3rd group - &quot;Customers&quot;. Is there any Access level option to manage display of the 'Add to cart' button?  Thanks in advance Denis")*

Hi, Xavier

that's it.
Thank you.

Denis

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njk3MTMtc2hvdy1wcmljZS13aXRob3V0LWFkZC10by1jYXJ0LWJ1dHRvbi1mb3ItZ3JvdXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.086 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
