Customizing the product and category display

  • Posts: 159
  • Thank you received: 0
9 years 1 month ago #247300

-- url of the page with the problem -- : Prima.pk
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.6.16
-- Browser(s) name and version -- : Chrome 52.0.2743.82
-- Error-message(debug-mod must be tuned on) -- : how to change the product display

How to get the product display like this

www.czone.com.pk/laptops-new-apple-lapto...pakistan-p.3313.aspx

as laptops have different specifications which are too much that hikashop dont have.. how to get like that tabs with long descriptions and specifications.

Also kindly tell me how can i make a menu with hikashop category list like this website's product link. to show the categories of 1st and 2nd level.

Thanks

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
9 years 1 month ago #247301

Hi,

1.
To get a product page with tabs, just change the "layout on product page" setting of the HikaShop configuration to "tabular".
To get the review tab, just activate the votes and comments in the Features tab of the HikaShop configuration.
To get the specification tab, create custom fields of the table "product" via the menu Display>Custom fields and fill them in the products edition page.

2.
To get a menu (like what they have at the top), you can either create the menu items one by one via the Joomla menu manager, or use an extension like extensions.joomla.org/extension/maximenu-ck-for-hikashop
To get a category listing box on the side with two levels of categories, you can use the "categories on 2 levels" module that is preinstalled with HikaShop and that you can configure via the Joomla modules manager.

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

  • Posts: 159
  • Thank you received: 0
9 years 1 month ago #247317

Thanks for the reply.. i want to edit a hikashop code
the code is
<div id="hikashop_product_description_main" class="hikashop_product_description_main" itemprop="description">
<?php
echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
?>
</div>

this code shows full description. How to limit it ? i want it to show 200 characters only. how to do that ?

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 1 month ago #247320

Hello,

The most simple is to directly edit each product description in order to add your '<hr id="system-readmore" />'
Hope this will help you.

Regards

Last edit: 9 years 1 month ago by Philip.

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

  • Posts: 159
  • Thank you received: 0
9 years 1 month ago #247405

Thanks Philip

One last question. Pleas.

how to add Tabs in Hikashop Default Product Display options ?
i want to add tabs in default view. same like tabular view

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 1 month ago #247411

Hello,

You have already an option in HikaShop to do this easily, for reach it :
- Go in Main HikaShop Configuration.
- Click on Display tab and go to Default parameters for products
- Find Layout on product page option and select Tabular



Hope this will fit your needs !

Regards

Attachments:
Last edit: 9 years 1 month ago by Philip.

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

  • Posts: 159
  • Thank you received: 0
9 years 1 month ago #247555

Thanks Philip

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

Time to create page: 0.072 seconds
Powered by Kunena Forum