Certain product categories different view

  • Posts: 179
  • Thank you received: 17
13 years 6 months ago #15080

Hi there

I currently have my menus and products set up to display the image and title, with a add to cart button underneath and linkable to a full product page for each. This works really well for most of my products.

My question would be if it is possible to display certain product categories in a list format instead ?
ie.
Product Name1 Price Add to cart button
Product Name2 Price Add to cart button
Product Name3 Price Add to cart button
etc.

but still linked from the normal menu system?

my test site is at redcell.co.uk/test1 at the moment if you click on Leisure products at the top and choose vhf accessories menu ( redcell.co.uk/test1/index.php?option=com...ccessories&Itemid=34 ) then you will see the accessories in a 'normal' format. I would want to change that category to a list format only (ie pick categories I want like that).

ANy ideas :)

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
13 years 6 months ago #15110

There is no option for that.

You will have to first create a new menu of the type hikashop product list via the joomla menu manager. You can put temporarily the menu with the access level sepcial so that only you see it. Once the options are ok, you can move it to a main menu which is hidden (not displayed on your template) with the access public.
Then, in the hikashop options of the menu, you can set it to display the products as you need.
Then, once it's correct, you can edit the file you already customized to display the categories listing via the menu Display->Views. There, instead of having such link:
$link = hikashop::completeLink('category&task=listing&cid='.$child->category_id.'&name='.$child->alias.$this->menu_id);

You could use:
$link = hikashop::completeLink('product&task=listing&cid='.$child->category_id.'&name='.$child->alias.'&Itemid=X');
where X is the id of your products listing menu for the categories where you want a display in table layout.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum