Many "mod_eshop_product" modules with different settings in the same page

  • Impression eStudio
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 3 weeks ago - 3 years 3 weeks ago #147962 by Impression eStudio
This is a simple code change to allow many "mod_eshop_product" modules using the navigation layout to run with different settings in the same page.

In the file "modules\mod_eshop_product\tmpl\navigation.php" change the code:
Code:
<div class="image-product">
to:
Code:
<div class="image-product id<?php echo $module->id; ?>">

and the code:
Code:
$('.image-product').slick({
to: 
Code:
$('.image-product.id<?php echo $module->id; ?>').slick({
Last edit: 3 years 3 weeks ago by Impression eStudio.

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
3 years 2 weeks ago #148052 by Giang Dinh Truong
Hi there,

Thank you for your suggestion. I will check more on this.

Sincerely, Giang

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

Moderators: Giang Dinh Truong