Module on Product listing but not on product detail ??

  • Posts: 64
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
1 month 1 day ago #363569

I need to show a module above the product listing only, but it is also shown on the product details page ? How to avoid that ?

Last edit: 4 weeks 1 day ago by rbuelund.

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
1 month 1 day ago #363572

Hi,

The simple solution is to use the extension Advanced Modules Manager Pro. It has an integration with HikaShop so that you can configure any module to only display on the listings, or only on the product page, etc:
docs4.regularlabs.com/advancedmodulemana...#hikashop-page-types

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

  • Posts: 64
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
1 month 1 day ago #363579

It is getting quite expensive to use Hikashop with all the extra extensions one needs ! Is there no other way to do this ?

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
4 weeks 2 days ago #363589

Hi,

Another option is to create one menu item of the type "hikashop product page" for each product. Then, you can use the URL of the menu item as canonical URL of the corresponding product. And thus, you can use the "menu assignment" system of the Joomla modules manager to restrict the modules on a more fine grained approach. But that requires a lot of overhead.

Another option is to use Modules anywhere:
regularlabs.com/modulesanywhere
With it, you could add the module in the description of the category, and activate the menu item's "show description" setting to display the description of the category at the top of the products listing, which would then include your module.
This is free, but you're limited in where you can place the module on the page.

Another option is to modify the template you're using to display the module position on the page only when the page is not a product page. You can do that with a bit of PHP in the index.php file of most Joomla templates. But if you use a template with a page builder, or some kind of heavy framework, you won't be able to do that easily. And when I say easily, it still requires a bit of PHP skills.

That's all the solutions I can think of. As you can see, there are free solutions, but they all have one downside or another. Using Advanced Modules Manager is the easiest, but yes, it costs a bit of money.

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

  • Posts: 64
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
4 weeks 1 day ago #363658

Well I have now installed Advanced Module Manager. It works for the product page, but when you enter the basket and empties it - then the modules appear on the page with the message about an empty basket - that is not good.

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
4 weeks 1 day ago #363663

Hi,

When the cart is emptied, HikaShop will redirect to the URL you've entered in the "URL where you will be redirected when the cart is empty" setting of the HikaShop configuration:
www.hikashop.com/support/documentation/5...onfig.html#main_cart
If that setting is left empty, it will redirect to a products listing.
I would recommend you fill this setting with the page you want to see.

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

  • Posts: 64
  • Thank you received: 2
  • Hikashop Business Hikashop Essential
4 weeks 1 day ago #363670

Ok

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

Time to create page: 0.061 seconds
Powered by Kunena Forum