Add to cart visibility and by role
-
Hi,
I am trying to hide the Add to cart buttons for every user role except Administrator. I am lost trying to figure out the semantics of the Module settings. The settings use ‘Disable’ in both the checkbox label and in the checkbox action string. It is confusing. It looks like this:Add to cart button visibility module settings
Add to cart button visibility [] Activate module
Enable/disable Add to Cart button globally or on per product basis.
>> Understandable so far.Heading All products
All products [] Activate section
>> Ok, so here I disable all the Add to cart buttons everywhere? Or do I need to disable the button in the settings under All products [] Enable section?
Disable Buttons on Category/Archives Pages [] Disable
>> What does this mean? Does it mean that I can override the All products [] checkbox and disable the global ‘All products’ disabling setting above = thus enabling the Add to cart button on Category/Archives Pages? I.e. the setting could be interpreted as disable the disabling.Your documentation has this confusing use of “disable” too. You write:
Disable buttons on category/archives pages [] Disable.
Default: no.
Yes or no isn’t values you can select. And the opposite of disable isn’t yes.Apart from that, I can’t get the hiding to work as I want. What checkboxes should I have selected in “Add to cart visibility settings” combined with “Modules By User Roles” if I want to hide the Add to cart buttons to all user roles beside “Administrator” and a custom role called “AF”?
Regards
Magnus
- The topic ‘Add to cart visibility and by role’ is closed to new replies.