| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Javascript Validation for Product Options | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() PS - make sure your js validation doesn't have any extra whitespace. Here is an example again...
Code:
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#12
|
|||||||
|
|||||||
![]() Thank you, carpeperdiem!
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#13
|
|||||||||
|
|||||||||
![]() Quote:
Okay, so my tpl has been altered already, so I'm not sure where to place this... I have: {foreach from=$v.options item=o} <TR> <TD>{if $o.avail ne 'Y'}<FONT color="red">{/if}{$o.option_name}{if $o.avail ne 'Y'}</FONT>{/if}</TD> {if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} <TD>{$o.price_modifier}</TD> <TD>{if $o.modifier_type|default:"$" eq '$'}{$config.General.currency_symbol}{else}%{/if}</TD> {/if} </TR> {foreachelse} >>>this changes the font color when an item is on sale... >>>and this: {foreach from=$v.options item=o} <OPTION value='{$o.optionid}'>{$o.option_name}</OPTION> {/foreach} >>>which I have no idea what this does...
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
#14
|
|||||||
|
|||||||
![]() Anyone notice in 4.1.9 that the "Select" text part does not default to the top of the dropdown on the product page. Can't seem to figure out, by default it goes to my first option.
I have seen most of the posts referencing the latest version but no fixes for what might be a unusual issue. Thanks, Bruce
__________________
X-Cart version 4.0.18 X-Cart version 4.1.9 |
|||||||
#15
|
|||||||
|
|||||||
![]() Anyone know if this works in 4.3 or how to get it working?
__________________
X-Cart DB Version: 5 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|