Page 1 of 1

Additional Related Products module

Posted: Sun Jul 31, 2016 4:47 am
by kevtheirish
I know there's a few that pop up in the search, but I haven't found a solution that does what I need..
I need an exact copy of the standard related products module that allows me to dictate which items show up in the box, and when there are none, the additional module is hidden. I currently use the related products, but also want an "Also available in these colors" box. Most of the ones I've seen, pull automatically OR recommend products based on what other shoppers buy with the inital product(s)

Any help would be appreciated.

I know I can copy the stock related products module, rename it, I just dont know where to put all the coding so it shows up on the product page (product.tpl)

A VQMod would be ideal...

Re: Additional Related Products module

Posted: Sun Jul 31, 2016 8:44 pm
by straightlight
Which OC version are you using?

Re: Additional Related Products module

Posted: Mon Aug 01, 2016 2:12 am
by kevtheirish
sorry 2.0.2

Re: Additional Related Products module

Posted: Mon Aug 01, 2016 6:47 pm
by straightlight
I know I can copy the stock related products module, rename it, I just dont know where to put all the coding so it shows up on the product page (product.tpl)
By copying an existing module into a new module name, you simply need to relate it to the product layout from your admin - > extensions - > modules page. Followed is the documentation on how to proceed with the layout and the route: http://docs.opencart.com/extension/module/edit/ :)

I like the idea on the first post, though. In addition, I have a module called: un-related products that also covers this part:
and when there are none
if it can help: http://www.opencart.com/index.php?route ... =unrelated products