News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Related Products

Started by solantis, August 07, 2012, 13:45:39 PM

Previous topic - Next topic

solantis

So i have made some items related in the backend but how do i display them from the frontend? Is there a module to do this or does it display on certain pages?

bytelord

Hello,

If you select related products from the backend for a product on the default vm template will be shown in product details page under related products (after description if i am not wrong).

If you use a custom template you can use the following code to load related products template inside product details template.


<?php echo $this->loadTemplate('relatedproducts'); ?>


after that you can copy relatedproducts template to your template and modify it as you wish (need to know some php skills and also joomla template system).

Hope helps you.

Regards.
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!