Author Topic: Random products  (Read 2758 times)

inTroubles

  • Beginner
  • *
  • Posts: 37
Random products
« on: December 19, 2010, 22:11:35 pm »
Hi, please help how i can set the Random products module to be shown only in the main page of the website and not in all pages?
For example if i browse a gategory, or look into a product detail i see those random products, i want to show them only on index, possible?

Thank you

djcritch

  • Beginner
  • *
  • Posts: 27
Re: Random products
« Reply #1 on: December 20, 2010, 15:37:37 pm »
its tricky i have done it before though.

Heres how i did it:

Download joomla plugin http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/6958

This allows you to load a module within an article.

I then set the home page as an article and included the module using {module [27]}

If you are looking to load virtuemart bits on the home page as well you can also use this plugin http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/5947

Example: http://www.sullivansgardenmachienry.co.uk

It will much more tricky however if you are trying to display the module in a non component text area of your website.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10412
  • VirtueMart Version: 3+
Re: Random products
« Reply #2 on: December 20, 2010, 16:12:33 pm »
IF you set the main page as a joomla page, and joomla menu item, you can assign modules to it.

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

inTroubles

  • Beginner
  • *
  • Posts: 37
Re: Random products
« Reply #3 on: December 23, 2010, 10:55:03 am »
gonna try this now thank you very much.

inTroubles

  • Beginner
  • *
  • Posts: 37
Re: Random products
« Reply #4 on: December 23, 2010, 11:02:18 am »
Perfect thanks, works perfectly.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10412
  • VirtueMart Version: 3+
Re: Random products
« Reply #5 on: December 23, 2010, 12:43:58 pm »
HAVE you tried doing a {loadmodule abc} etc in the shop.index ?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)