Post by kevtheirish » Sun Jul 31, 2016 4:47 am

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...

Active Member

Posts

Joined
Mon Jan 16, 2012 2:58 am

Post by straightlight » Sun Jul 31, 2016 8:44 pm

Which OC version are you using?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by kevtheirish » Mon Aug 01, 2016 2:12 am

sorry 2.0.2

Active Member

Posts

Joined
Mon Jan 16, 2012 2:58 am

Post by straightlight » Mon Aug 01, 2016 6:47 pm

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

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 7 guests