Posted by Nigel on 07/25/06 08:19
anyone using xcart?
in the advanced search, i want to change searching for providers from a
text field to a drop down box.
the field is currently
<INPUT type="text" name="posted_data[provider]" size="30"
value="{$search_prefilled.provider}" style="width:70%">
and i want it to be similar to the shipping method field which is a
drop down, which looks like this...
<SELECT name="posted_data[shipping_method]" style="width:70%">
<OPTION value=""></OPTION>
{section name=sm loop=$shipping_methods}
<OPTION value="{$shipping_methods[sm].shippingid}"{if
$search_prefilled.shipping_method eq $shipping_methods[sm].shippingid}
selected{/if}>{$shipping_methods[sm].shipping|trademark}</OPTION>
{/section}
</SELECT>
anyone know how to make the providers field work like shipping method
field?
i need to search in the table called xcart_customers and display all
the 'company' fields for all entries with a usertype of 'P'
help! thnx!
Navigation:
[Reply to this message]
|