different product pages for different user levels

  • Posts: 15
  • Thank you received: 0
8 years 1 month ago #268279

-- url of the page with the problem -- : dontknowpublishing.com/sandbox
-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 7
-- Browser(s) name and version -- : firefox

I would like to have product page show differently for each user group. For example, I want to have a guest could see some custom fields but not other custom fields and a registered user could see different and more custom fields. I know how to modify the template for the product page. I do not know how give access to a different product page template (for the same product) to different user groups. If I use custom fields it seems like I have to have all of the custom field visible to only one user group. Can I have three custom fields visible to one user group and a different three custom fields visible to another user group?

Please Log in or Create an account to join the conversation.

  • Posts: 83989
  • Thank you received: 13603
  • MODERATOR
8 years 1 month ago #268285

Hi,

When you edit your custom fields, you have the setting "access level" where you can select which user groups can see the custom field.
So I don't think you need to edit any code for what you're saying you want to do.
You should be able to do that with just that setting in your custom fields.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
8 years 1 month ago #268348

Thanks for the directions. I had been trying to assign the acl in the product page not the custom item page.

Please Log in or Create an account to join the conversation.

  • Posts: 83989
  • Thank you received: 13603
  • MODERATOR
8 years 1 month ago #268369

The access level setting on the product edition screen is for you to give access to the whole product on the frontend, so indeed, it's for something else.

Last edit: 8 years 1 month ago by nicolas.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum