Post by speedingorange » Wed Jan 25, 2017 10:07 pm

Hi All,

Just hoping someone can provide me with a step by step or point me to a guide on how to duplicate a standard field in opencart.

I am familiar with how to duplicate a module, but I want to create a duplication of the linked products.

The reason for wanting to do this is to have links to two different groups of products e.g. "Compatible Accessories" and "Alternative Products "

Could anyone advise how I would go about duplicating the table etc in the database "correctly".

The template and language changes I am happy to make changes to and understand what needs doing. Its the model / controller and database + any other files I would like assistance / guidance with.

Many Thanks
James

Active Member

Posts

Joined
Tue Feb 23, 2010 7:33 pm

Post by thekrotek » Wed Jan 25, 2017 11:08 pm

We have an extension, which might suit you: Recommended Products. In short, you'll have recommended (Alternative) products section added for each product, which works similar to Related Products, but in a little more sophisticated way.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by speedingorange » Thu Jan 26, 2017 7:53 pm

Thanks for the link, Because I want to add multiple versions of the this I would ideally like to understand the workings behind it so that I can replicate and manipulate it in a few different ways.

Active Member

Posts

Joined
Tue Feb 23, 2010 7:33 pm

Post by IP_CAM » Fri Jan 27, 2017 4:40 am

well, I doubt that someone will tell you in detail, what to do, to achieve such, and in the Extension
Section, multiple cheap Mod's exist on this, probably matching your version, as I found out. :D

But if you want to basically find out, how such works, then you should check on something like this,
it's not so complicated, to 'misuse' a RELATED PRODUCT Extension, even add it as (description) TAG,
then, you can selectively ADD other 'recommended' products to each Product, where this is required.
Below Mod's are all for v.1.5-Series, still, to serve as 'Learning Book', they should do well!
---
Product Detail - Related Products Module
https://www.opencart.com/index.php?rout ... n_id=20344
---
Related Products displayed as Listings on Product Page
https://www.opencart.com/index.php?rout ... n_id=27135
---
Related Products Module
https://www.opencart.com/index.php?rout ... on_id=2649
---
Good Luck ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by speedingorange » Fri Jan 27, 2017 4:57 pm

IP_CAM wrote:well, I doubt that someone will tell you in detail, what to do, to achieve such, and in the Extension
Section, multiple cheap Mod's exist on this, probably matching your version, as I found out. :D

But if you want to basically find out, how such works, then you should check on something like this,
it's not so complicated, to 'misuse' a RELATED PRODUCT Extension, even add it as (description) TAG,
then, you can selectively ADD other 'recommended' products to each Product, where this is required.
Below Mod's are all for v.1.5-Series, still, to serve as 'Learning Book', they should do well!
---
Product Detail - Related Products Module
https://www.opencart.com/index.php?rout ... n_id=20344
---
Related Products displayed as Listings on Product Page
https://www.opencart.com/index.php?rout ... n_id=27135
---
Related Products Module
https://www.opencart.com/index.php?rout ... on_id=2649
---
Good Luck ;)
Ernie
Cheers Ernie, Btw cool logo :)

Active Member

Posts

Joined
Tue Feb 23, 2010 7:33 pm
Who is online

Users browsing this forum: No registered users and 401 guests