related products

  • Posts: 223
  • Thank you received: 1
13 years 4 days ago #30969

quick question...

to move position of related products on product page, which view do i edit?

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

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
13 years 3 days ago #30986

It's the file "show" of the view "product". Near the end of that the code below which displays the modules under the product page:
<div class="hikashop_submodules" id="hikashop_submodules" style="clear:both">
<?php
if(!empty($this->modules) && is_array($this->modules)){
jimport('joomla.application.module.helper');
foreach($this->modules as $module){
echo JModuleHelper::renderModule($module);
}
}
?>
</div>

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

  • Posts: 223
  • Thank you received: 1
13 years 3 days ago #30991

got it!
thank you sir!

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

  • Posts: 16
  • Thank you received: 0
12 years 11 months ago #33111

i guess my products are displayed through Configuration - Display
There i set "Content of product page" to "Related products"

The related products are not show.
There is no change in show product file

Thanks for help

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

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
12 years 11 months ago #33116

Did you follow the explanations there www.hikashop.com/en/support/documentatio...ct-form.html#related ?
If yes, please post a screenshot of your module's hikashop options and of your product and a link to the product page so that we can see the problem.

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

  • Posts: 5
  • Thank you received: 0
12 years 11 months ago #33208

Hello,

I'm having the same issue, I've done everything the documentation says, I even tried in a different order but for some reason the related products don't show up.

Here are the screens:





Thank you in advance,

Constantine

Edit

I've figured it out after crawling deep in here.. I had to select the "Synchronize with currently displayed item when possible" as well.

Everything seems to work now :)

Last edit: 12 years 11 months ago by xkonidis.

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

  • Posts: 16
  • Thank you received: 0
12 years 11 months ago #33498

For me its working now, thank you very much

I guess xkonidis forgot step 3
For step 3 go to HikaShop --> System --> Configuration
select Tab "Display"
In the Display tab the 5. entry is Modules under the product page, there you can select your Related Products Module created in step 1 and 2

How to display your related products below your products:

1. Create a new module of the type "HikaShop content module" via the joomla modules manager and leave it unpublished in the joomla options of the module.

2. In the HikaShop options of the module (there is a link to them on the right of the module's joomla options screen), make sure that the "Type of content" option is set to "product" and that the option "Content on product page" is set to "Related products".

3. In the Display tab of the configuration of HikaShop, click on the "Select" button of the "Modules under the product page" option. Set your related module to published and click on OK. Then, save the configuration.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum