Post by obzelite » Wed Jul 14, 2021 4:32 pm

so I've added some colour variations to a product in options, uploaded the appropriate image with that colour product, but on the page, i can see the option to choose what colour I want, but it doesn't show the image in that colour.
Image
Image

Newbie

Posts

Joined
Thu Feb 28, 2019 1:44 pm

Post by OSWorX » Wed Jul 14, 2021 4:53 pm

Per default there is no change of the image when an option is selected.
What you need, is an extension like: https://www.opencart.com/index.php?rout ... n_id=35185
Because you did not stated your OpenCart version and other, look also at these:
https://www.opencart.com/index.php?rout ... ch=options
or
https://www.opencart.com/index.php?rout ... load_id=59

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by by mona » Wed Jul 14, 2021 5:30 pm

To add to OSWorX - a couple of other ways it is done

I have a DROPDOWN IMAGE extension - the image will appear in the dropdown
https://www.opencart.com/index.php?rout ... n_id=37073

Usually you add the colour options to the product image itself -
I also have an IMAGE ZOOM with swop - but it is a thumbnail swop not a select swop
https://www.opencart.com/index.php?rout ... n_id=42140

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by OSWorX » Wed Jul 14, 2021 6:21 pm

by mona wrote:
Wed Jul 14, 2021 5:30 pm
I have a DROPDOWN IMAGE extension - the image will appear in the dropdown
https://www.opencart.com/index.php?rout ... n_id=37073
Did not know that you have such an extension.
Great option, seems well done.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by paulfeakins » Thu Jul 15, 2021 7:17 pm

OSWorX wrote:
Wed Jul 14, 2021 6:21 pm
by mona wrote:
Wed Jul 14, 2021 5:30 pm
I have a DROPDOWN IMAGE extension - the image will appear in the dropdown
https://www.opencart.com/index.php?rout ... n_id=37073
Did not know that you have such an extension.
Great option, seems well done.
If that solves the problem please add [SOLVED] to the start of the post title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Thu Jul 15, 2021 8:13 pm

The 2nd extension link provided by mona was requested before on the forum on rare occasions but I don't think those requests were ever covered ... it seem this extension date is also recent so that might help.

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: lockbox, OSWorX and 101 guests