| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product Option "default" in v4.3.1 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Product Option "default" in v4.3.1
What I want to do is to have a force option whn buying a product i.e.
Select Colour Blue Brown Now I want to force the user to select Blue or Brown, its been done on v4.1.* but I want to do this in v4.3.1 Balinor has done it see example REMOVED BY MOD
__________________
Version 4.7.2 |
|||||||||
#2
|
|||||||
|
|||||||
Re: Product Option "default" in v4.3.1
I removed the link, as that client is kind of anal about their stats.
Here's the mod that does what you want: http://forum.x-cart.com/showthread.php?t=20904&
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Product Option "default" in v4.3.1
OK Balinor I understand
Firstly I don't now see any .tbl only php code, so I am not sure whether I can use that code as so much has changed in v4.3.1. /modules/Product_Options/customer_options.tpl is not at this location Peter
__________________
Version 4.7.2 |
|||||||||
#4
|
|||||||
|
|||||||
Re: Product Option "default" in v4.3.1
in the skin1 directory are where all the templates are
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Product Option "default" in v4.3.1
Thank you Balinor I have placed the bolded text where you say in v4.3.1 and I get (pic1)
what I should get is (pic2). The "Please select" is my 1st option. If I manually select this options all works very well could you tell me where I should put this code?? {else} <select id="po{$v.classid}" name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();"{/if}> <option>Select {$v.classtext|default:$v.class}...</option> {foreach from=$v.options item=o} <option value="{$o.optionid}"{if $o.selected eq 'Y'} selected="selected"{/if}> {strip} {$o.option_name|escape} {if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} ( {if $o.modifier_type ne '%'} {include file="currency.tpl" value=$o.price_modifier display_sign=1 plain_text_message=1} {else} {$o.price_modifier}%
__________________
Version 4.7.2 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Product Option "default" in v4.3.1
Found the answer here
http://forum.x-cart.com/showthread.php?t=34831&highlight=Product+Options+D ropdown This option works fine with 4.1.12 and 4.3.1
__________________
Version 4.7.2 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|