Post by lockiedownunder » Wed Jun 18, 2025 3:45 pm

Hi guys, No doubt user error :)
I have default theme that came with OC and no Option plugins so it's pretty standard.
My problem is I created an Options for colours and have an image on each option but when I view the product I have a drop down to select the colour option but no option image. Is this normal? How to I display the option image?

Thanks
Tony
Last edited by lockiedownunder on Wed Jun 18, 2025 8:35 pm, edited 1 time in total.

OC 3.0.4.1
PHP 8.2
Keep Smiling ;D


New member

Posts

Joined
Sun Nov 01, 2015 3:00 pm


Post by ADD Creative » Wed Jun 18, 2025 4:25 pm

The option type needs to be radio or checkbox.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by by mona » Wed Jun 18, 2025 7:08 pm

If you have many option and need it in a drop down have an extension for that
https://www.opencart.com/index.php?rout ... n_id=37073

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 lockiedownunder » Wed Jun 18, 2025 7:46 pm

OH MAN!
You guys are gonna cost me a fortune :(
Radio or checkbox looks terrible.

Thank you mona your addon looks perfect and I'm sure I'll end up buying it LoL

Tony

OC 3.0.4.1
PHP 8.2
Keep Smiling ;D


New member

Posts

Joined
Sun Nov 01, 2015 3:00 pm


Post by by mona » Wed Jun 18, 2025 8:08 pm

You are welcome

I posted a free solution a while back to make radio (or checkboxes) with images look better .
With a little css knowledge that should be enough to get anything you want within reason.

Code: Select all

.radio label {
white-space:pre;
}
.radio {
width: 33%;
float: left;
height: 100px;
}
.radio:first-child {
margin-top: -5px;
}
Will give you
???
Screen-Shot-2021-01-29-at-14.27.37.png
The same will work for checkboxes using .checkboxes

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 lockiedownunder » Wed Jun 18, 2025 8:25 pm

So I went and purchased you app mona, but it's a vQmod not and ocmod. How do I install it?

OC 3.0.4.1
PHP 8.2
Keep Smiling ;D


New member

Posts

Joined
Sun Nov 01, 2015 3:00 pm


Post by lockiedownunder » Wed Jun 18, 2025 8:26 pm

I'm a dope and shouldn't be doing this so late at night. I downloaded wrong file.
SORRY!

OC 3.0.4.1
PHP 8.2
Keep Smiling ;D


New member

Posts

Joined
Sun Nov 01, 2015 3:00 pm


Post by by mona » Wed Jun 18, 2025 8:44 pm

Great thank you
I cant update the page without increasing the price.
For Information : Tested on Opencart 3 up to 3.0.4.1 php8.4

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 lockiedownunder » Thu Jun 19, 2025 6:10 am

Can confirm 3.0.4.1 working beautifully

OC 3.0.4.1
PHP 8.2
Keep Smiling ;D


New member

Posts

Joined
Sun Nov 01, 2015 3:00 pm

Who is online

Users browsing this forum: No registered users and 58 guests