[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
set shipmodes - how to make it work?
After reading through quite a bit of the mailing list archive, I determined
that the way to limit the display of available shipping modes would be
something like:
================================================================================
[set restricted_shipping][/set]
[item-list]
[if base=data term="products::overweight::[item-code]" op="=~" comp="1"]
[set restricted_shipping]1[/set]
[/if]
[/item-list]
[if scratch restricted_shipping]
[set shipmodes]motor[/set]
[else]
[set shipmodes]upsg upsb upsr[/set]
[/else]
[/if]
================================================================================
However, this has no effect. Do I need to change the SELECT, which is currently:
================================================================================
<SELECT MV=loop
MV.SEARCH="fi=country.asc/se=[default country
US]/sf=selector/rf=shipmodes"
MV.OPTION="mv_shipmode"
onChange="this.form.submit()"
NAME="mv_shipmode">
<OPTION VALUE="[loop-code]"> [shipping-desc [loop-code]] [shipping
[loop-code]]
</SELECT>
================================================================================
?
Any help would be greatly appreciated.
--
------------------------------------------------------------------------
Brian Knotts bknotts@europa.com
Webmaster/Developer/Portland SysAdmin (503) 222-9508
Europa/NWLink Fax: (503) 796-9134