| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Product Options Icon, image or swatches code | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
After searching for code for 2 days I decided to write some Javascript to have Product Options have swatches or images for color options etc.... Here is the working example: http://208.109.212.12/product.php?productid=2&cat=1&page=1 And if the above link does not work try: http://www.licensetoride.com/product.php?productid=2&cat=1&page=1 Here is the code: -------------------------------------------------------------------------------------------- <a onclick="javascript: window.document.orderform.po2.options[0].selected=true;check_options(); " href="javascript:void();check_options();"> <img border="0" align="" alt="" src="http://www.licensetoride.com/catalog/colorimages/cap_blue_th.jpg" /></a><br /> -------------------------------------------------------------------------------------------- Varun |
|||||||
#2
|
|||||||
|
|||||||
![]() HI Varun, can you please let us know what versions this applies to? If you can update your signature with your X-Cart version per the forum guidelines that would be great. Thanks!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|