[RELEASED] Similar Prodcts (vQmod)
31 posts
• Page 1 of 2 • 1, 2
[RELEASED] Similar Prodcts (vQmod)
Have you ever felt that related products feature is not enough for expressing product associations. Do you need to show customers which products are similar, but not necessarily related, to a product? If so, then this mod is perfect for you. Now you can distinguish between related and similar products, because they are essentially different.
Similar Products modification enables you to link products to each other and show their relation/connection separately from the related product feature. It works just like related products - the workflow is the same. The added bonus is that you can choose the location the similar products appear and adjust the image size. You could even use it for related products and display them in a different location on the product page.
Furthermore, the similar products can be automatically selected by the mod itself from the same category the currently viewed product is in. Actually you can mix manually added similar products with auto selected ones. Manually added similar products have higher priority, so they will always show unless limit is applied. Manually added products are sorted as first, followed by automatically selected ones. If random sorting is appplied, then manually added products may not be sorted first.
In case the product is viewed directly (not through a category) then similar products will be searched from all the categories that the product belongs to.
Features:
Modification settings can be configured from module settings page (Extensions -> Modules).
Similar Products can be bought from http://www.opencart.com/index.php?route=extension/extension/info&extension_id=3449
The latest version is 3.1.0 and it is compatible with OpenCart 1.5.1.x. It is currently available as a vQmod.
Version 3.0.0 is compatible with OpenCart 1.5.0.x
Version 1.0.0 is compatible with OpenCart 1.4.9.5-1.4.9.6.
Some screenshots:
ADMIN
Modification settings page, enable/disable the mod and it's features
Associate similar products with a product
Store front view of similar products
- edit 18.05.2012 - Released version 3.1.0 for OpenCart 1.5.1.x (added option select similar products by matching name fragment, fixed a display issue)
- edit 26.03.2012 - Released version 3.0.0 for OpenCart 1.5.x.x (added option to sort by quantity, lazy loading, pagination)
- edit 14.02.2012 - Released version 2.2.0 for OpenCart 1.5.x.x (added option to show only products currently in stock)
- edit 29.12.2011 - Released version 2.1.1 for OpenCart 1.5.x.x (fixed product copy bug)
- edit 21.12.2011 - Released version 2.1.0 for OpenCart 1.5.x.x (added leaf category filtering)
- edit 16.12.2011 - Released version 2.0.0 for OpenCart 1.5.x.x (added sorting and auto select options)
- edit 06.10.2011 - Released version 1.1.0 for OpenCart 1.5.x.x (added selectable content position)
- edit 05.10.2011 - Initial release
Similar Products modification enables you to link products to each other and show their relation/connection separately from the related product feature. It works just like related products - the workflow is the same. The added bonus is that you can choose the location the similar products appear and adjust the image size. You could even use it for related products and display them in a different location on the product page.
Furthermore, the similar products can be automatically selected by the mod itself from the same category the currently viewed product is in. Actually you can mix manually added similar products with auto selected ones. Manually added similar products have higher priority, so they will always show unless limit is applied. Manually added products are sorted as first, followed by automatically selected ones. If random sorting is appplied, then manually added products may not be sorted first.
In case the product is viewed directly (not through a category) then similar products will be searched from all the categories that the product belongs to.
Features:
- automatically select similar products from the same category [added in v2.0]
- automatically select products that match first x characters of product name [added in v3.1]
- option to auto select from only the leaf categories the product is in instead of all the categories [added in v2.1]
- sort similar products by name, model, most viewed, quantity, sort order or randomize the order (product based setting) [added in v2.0]
- adjustable image size [added in v1.1]
- selectable position (in a new tab, column left/right or content top/bottom) within product page [added in v1.1]
- limit the number of similar products shown [added in v1.1]
- option to display only products currently in stock [added in v2.2]
- lazy loading [added in v3.0]
- pagination [added in v3.0]
Modification settings can be configured from module settings page (Extensions -> Modules).
Similar Products can be bought from http://www.opencart.com/index.php?route=extension/extension/info&extension_id=3449
The latest version is 3.1.0 and it is compatible with OpenCart 1.5.1.x. It is currently available as a vQmod.
Version 3.0.0 is compatible with OpenCart 1.5.0.x
Version 1.0.0 is compatible with OpenCart 1.4.9.5-1.4.9.6.
Some screenshots:
ADMIN
Modification settings page, enable/disable the mod and it's features
Associate similar products with a product
Store front view of similar products
- edit 18.05.2012 - Released version 3.1.0 for OpenCart 1.5.1.x (added option select similar products by matching name fragment, fixed a display issue)
- edit 26.03.2012 - Released version 3.0.0 for OpenCart 1.5.x.x (added option to sort by quantity, lazy loading, pagination)
- edit 14.02.2012 - Released version 2.2.0 for OpenCart 1.5.x.x (added option to show only products currently in stock)
- edit 29.12.2011 - Released version 2.1.1 for OpenCart 1.5.x.x (fixed product copy bug)
- edit 21.12.2011 - Released version 2.1.0 for OpenCart 1.5.x.x (added leaf category filtering)
- edit 16.12.2011 - Released version 2.0.0 for OpenCart 1.5.x.x (added sorting and auto select options)
- edit 06.10.2011 - Released version 1.1.0 for OpenCart 1.5.x.x (added selectable content position)
- edit 05.10.2011 - Initial release
Last edited by bull5-i on Fri May 18, 2012 5:31 am, edited 11 times in total.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
What is the difference between this and the related product?
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Yea I don't see the diff between similar and related. I guess if you assume "related" means a mouse to a computer.. but I don't think that is the general understanding of that. Related products typically means products of the same nature..
iPod classic would have ipod nano, ipod classic, iphone
HP Laptop could relate to mouse, keyboard but also other laptops, compaq, dell, etc
Either way... it is all in perception.
Great job on your first module
iPod classic would have ipod nano, ipod classic, iphone
HP Laptop could relate to mouse, keyboard but also other laptops, compaq, dell, etc
Either way... it is all in perception.
Great job on your first module


Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18210
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [RELEASED] Similar Prodcts (vQmod)
Yes, it works like related products, but related products are not always similar products and that is where this mod comes into play by helping to separate them.
For example I have a Nikko Stirling Nighteater 6-24x56 optical sight that is related to such products as a Nighteater parallax wheel and a sunshade which are specific to that sight. But on the similar products I have a Hawke SideWinder 6-24x56, which is a similar type of optical sight having the same zoom range and objective lens diameter, but being optically superior and from a different manufacturer.
Of course you could put all those items under related products, but then it would be quite a messy soup (at least for me).
Like Q said, it's all in perception.
For example I have a Nikko Stirling Nighteater 6-24x56 optical sight that is related to such products as a Nighteater parallax wheel and a sunshade which are specific to that sight. But on the similar products I have a Hawke SideWinder 6-24x56, which is a similar type of optical sight having the same zoom range and objective lens diameter, but being optically superior and from a different manufacturer.
Of course you could put all those items under related products, but then it would be quite a messy soup (at least for me).
Like Q said, it's all in perception.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Released version 1.1 for OpenCart 1.5.x.x
The main new feature is selectable content position. You can display the similar products in either columns, before or after the main content and you still have the option to display them inside the tab.
The main new feature is selectable content position. You can display the similar products in either columns, before or after the main content and you still have the option to display them inside the tab.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Scripts have no way of knowing which products are similar. You can show which products people bought together but experimenting with that I found the results weren't nearly as useful as I'd hoped (I'm kinda interested to see what factors Amazon uses to figure this out).
Last edited by rph on Tue Dec 13, 2011 7:19 am, edited 1 time in total.
-Ryan
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
-

rph - Posts: 2719
- Joined: Thu Jan 07, 2010 9:05 pm
- Location: Lincoln, Nebraska
Re: [RELEASED] Similar Prodcts (vQmod)
I created the current mod as this was requested by my client. Although they have many products in each category, only a selected few are actually similar to the currently viewed product by certain parameters so you would have to hand pick them.
But your idea to automatically pick products is also interesting, I wonder why I didn't think about it. I might consider adding it to a future release.
But your idea to automatically pick products is also interesting, I wonder why I didn't think about it. I might consider adding it to a future release.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
blackhalo wrote:I mean, does anyone else here actually have hundreds of products to deal with?
Try several thousand. That's why I'm not sure how you foresee this working. How could OpenCart know which products are similar? You could try grouping similar manufacturers and product attributes but that's still just a wild guess and goes right back to your problem of having to manually put all that information in in the first place.
-Ryan
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
-

rph - Posts: 2719
- Joined: Thu Jan 07, 2010 9:05 pm
- Location: Lincoln, Nebraska
Re: [RELEASED] Similar Prodcts (vQmod)
You could probably throw up a random sampling of products but I don't really see the use. Categories already exist to be categories.
-Ryan
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
-

rph - Posts: 2719
- Joined: Thu Jan 07, 2010 9:05 pm
- Location: Lincoln, Nebraska
Re: [RELEASED] Similar Prodcts (vQmod)
Just released version 2.0.0 for OpenCart 1.5.x.x
The main new feature is automatically selected similar products from the current product category.
Addittionally you can adjust the sorting order of the products.
See the first post for more information.
The main new feature is automatically selected similar products from the current product category.
Addittionally you can adjust the sorting order of the products.
See the first post for more information.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Yes, if you choose random sorting then the products change with each page load.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Released version 2.1 for OpenCart 1.5.x.x
This is a feature release that adds an option to choose if auto select takes products from all the categories the product is in or only the leaf categories.
To illustrate:
Let's assume the category structure is as follows
a
a -> b
a -> b -> c
a -> d
e
f
f -> g
f -> h
f -> h -> i
f -> j
k
k -> l
and product belongs to the following categories
a,b,c,d,e,f,h
then
all product categories chooses from the following categories
a,b,c,d,e,f,h
and
leaf categories chooses from
c,d,e,h
This is a feature release that adds an option to choose if auto select takes products from all the categories the product is in or only the leaf categories.
To illustrate:
Let's assume the category structure is as follows
a
a -> b
a -> b -> c
a -> d
e
f
f -> g
f -> h
f -> h -> i
f -> j
k
k -> l
and product belongs to the following categories
a,b,c,d,e,f,h
then
all product categories chooses from the following categories
a,b,c,d,e,f,h
and
leaf categories chooses from
c,d,e,h
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Yes, leaves are the tips. 'e' just happens to be a leaf and a root together. 'a' however has branches and the product is also associated with some of the branches. If the product belonged only to 'a' and not to 'b', 'c' and 'd', then 'a' would be chosen.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Hi there.
I have alot of products with a similar name so my entire inventory is organized via the SKU.
When trying to add similar products, it pulls from the product name. Is there any way to append the product SKU onto the product name during selection in the admin area?
I've successfully changed it for related products as per this post:
http://forum.opencart.com/viewtopic.php?f=20&t=48165
help?

I have alot of products with a similar name so my entire inventory is organized via the SKU.
When trying to add similar products, it pulls from the product name. Is there any way to append the product SKU onto the product name during selection in the admin area?
I've successfully changed it for related products as per this post:
http://forum.opencart.com/viewtopic.php?f=20&t=48165
help?

- InternalWealth
- Posts: 5
- Joined: Fri Dec 23, 2011 12:03 am
Re: [RELEASED] Similar Prodcts (vQmod)
Got it figured (I'm using 1.5.1.3)
in vqmod/xml/similar_products.xml
find:
and change to:
then find:
and change to:
and then finally:
in this section:
find:
change to:
worked for me
in vqmod/xml/similar_products.xml
find:
- Code: Select all
'product_id' => $similar_info['product_id'],
'name' => $similar_info['name']
and change to:
- Code: Select all
'product_id' => $similar_info['product_id'],
'model' => $similar_info['model'],
'name' => $similar_info['name']
then find:
- Code: Select all
<div id="product-related<?php echo $product_similar['product_id']; ?>" class="<?php echo $class; ?>"> <?php echo $product_similar['name']; ?> <img src="view/image/delete.png" />
and change to:
- Code: Select all
<div id="product-related<?php echo $product_similar['product_id']; ?>" class="<?php echo $class; ?>"> <?php echo $product_similar['name']; ?> (<?php echo $product_similar['model']; ?>)<img src="view/image/delete.png" />
and then finally:
in this section:
- Code: Select all
$('input[name=\'related\']').autocomplete({
find:
- Code: Select all
label: item.name,
change to:
- Code: Select all
label: item.name + '(' + item.model + ')',
worked for me

- InternalWealth
- Posts: 5
- Joined: Fri Dec 23, 2011 12:03 am
Re: [RELEASED] Similar Prodcts (vQmod)
Released version 2.1.1 for OpenCart 1.5.x.x (bugfix release)
Fixed product copying bug.
Fixed product copying bug.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Great!
How do you upgrade from 1.1.1 to 2.1.1 without losing any data?
Thanks!
How do you upgrade from 1.1.1 to 2.1.1 without losing any data?
Thanks!
- InternalWealth
- Posts: 5
- Joined: Fri Dec 23, 2011 12:03 am
Re: [RELEASED] Similar Prodcts (vQmod)
Modify the /admin/controller/module/similar_product.php uninstall function by commenting out the first line where the drop table statement is for your currently installed version (1.1.1).
Then uninstall the module from the OC admin modules page. If you commented out the line, it should not remove the table with your data.
Now replace your files with the files from the new version (2.1.1) and install & configure & enable it.
All your data should be there.
Cheers
Then uninstall the module from the OC admin modules page. If you commented out the line, it should not remove the table with your data.
Now replace your files with the files from the new version (2.1.1) and install & configure & enable it.
All your data should be there.
Cheers
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Released version 2.2.0 for OpenCart 1.5.x.x (feature release). Added option to display only products currently in stock.
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
Re: [RELEASED] Similar Prodcts (vQmod)
Released version 3.0.0 for OpenCart 1.5.x.x:
- Added: pagination
- Added: lazy loading
- Added: option to sort by quantity
|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
Commercial mods: Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - Product Questions & Answers - New! Endless scroller / Infinte scrolling
All mods & extensions by me
- bull5-i
- Posts: 330
- Joined: Tue Jan 11, 2011 12:49 pm
31 posts
• Page 1 of 2 • 1, 2
Return to Commercial Contributions













