Show Catalog to public and Shopping to registered

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
11 years 4 months ago #155931

Hi There,

I have a customer that wants to have a site that divides in two different parts, one for public and other for customers:

Public:
- Display products in a catalog form, without shoping cart, prices and order button

Registered:
- Display all products with price, order button and shopping cart.

Other thin is to have in the list of products a quantity button next to the order button, so customers don't need to go every product to choose the quantity.

It's possible to do this in HikaShop? How can I do it?

Thanks for all the help

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

  • Posts: 13201
  • Thank you received: 2322
11 years 4 months ago #156000

Hi,

I think that the easiest solution will be to edit the views "product / show_default", "product / listing_img_title" and add an if condition around the parts to display or not, a condition like:

if(hikashop_loadUser() != null){
  // Display the content
}
It require some PHP knowledges.

Regarding the modules, in the Joomla module options you can easily restrict their access, same thing for the menus.

For the quantity on the listing, you have to enable the option "Quantity field on 'Add to cart' button" in the menu settings.

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

  • Posts: 43
  • Thank you received: 3
  • Hikashop Business
11 years 3 months ago #156726

Hi Xavier,

I understand what you're saying, this is for a proposal for now, I just want to check if it was possible to prevent the duplicate of content (shop for register customers and articles with produts to public)

About the custom dev, I once changed the filter part in the code and after I update the HikaShop, I lost the custom dev, this is true or there's something that I can do to overwrite the code?

Thanks for the help

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 months ago #156737

Hi,

To overwrite the code, if it's a view you can edit it via the menu Display > Views, this will create an override in the template folder.
Else, you can generally use plugins to do what you want, and edit some comportments. We created a lot of triggers for that :)

hikashop.com/support/support/documentati...r-documentation.html

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

Time to create page: 0.077 seconds
Powered by Kunena Forum