Hi,
how can I solve the problem with the second line with colors as you can see in attached photo? Even if I reduse the size of the photos I got the same result. And available colors are about 40. The only way to show each color is with radio option.
Please help.
You can edit the view file and change the width and height of the image, which will force its size no matter how big it actually is, like this example :
Code: Select all
<img width="20px" height="20px" />
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
catalog\view\theme\default\template\product\product.twig
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
There has to be <img> tags. If you're not using the default theme the code might be different, and only looking at it I can tell you exacly what to change and where.
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
I found this in that file
$theme_options->get( 'product_page_radio_image_width' ); } else { echo 25; } ?>px" height="<?php if($theme_options->get( 'product_page_radio_image_height' ) > 0) { echo $theme_options->get( 'product_page_radio_image_height' ); } else { echo 25; } ?>px"<?php }
$theme_options->get( 'product_page_radio_image_width' ); } else { echo 25; } ?>px" height="<?php if($theme_options->get( 'product_page_radio_image_height' ) > 0) { echo $theme_options->get( 'product_page_radio_image_height' ); } else { echo 25; } ?>px"<?php }
Who is online
Users browsing this forum: Axlagusti, Semrush [Bot] and 483 guests