| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Displaying content (prices) according to usertype | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Displaying content (prices) according to usertype
hiya,
i wonder if anyone can help... i am trying to display different prices depending on the usertype. i've been trying to edit the products.tpl template to see if i can get it to do the following, but it's not working, where am i going wrong? any help much appreciated! # C is Customer # T is Trader # param00 is trade price {if $usertype eq "C"} {include file="currency.tpl" value=$products[product].param00} {elseif $usertype eq "T"} {include file="currency.tpl" value=$products[product].price} {/if} - omar |
|||||||
#2
|
|||||||||
|
|||||||||
sounds like wholesale pricing to me. probably easiest to use that
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
thanks for the reply shan,
your right... i checked out modify product and changed the a product price in the wholesale section, refreshed the catalog, logged in as wholesaler and voila!... the price had changed to the new reduced one, ive got one more question however, how would i go about uploading the wholesale prices all in one go (i've got 700/800 products!) - could i do it through 'Import Products'? many thanks -omar |
|||||||
#4
|
|||||||
|
|||||||
hhmmm....
still hacking away at this to try and get this to somehow work does anyone know if it'd be possible to target the membership field in the customers table as a variable in smarty. i've tried this... $customers.membership but, lo and behold, it doesn't seem to work... any ideas? -omar |
|||||||
#5
|
|||||||
|
|||||||
*bump
|
|||||||
#6
|
|||||||||
|
|||||||||
http://forum.x-cart.com/viewtopic.php?t=5840
I use it. Works good. Make sure you thank Anton (27Stars). AND PLEASE PUT YOUR VERSION NUMBER AND SERVER INFO IN YOUR SIG. C'mon people, 16 posts is not newbie territory anymore!!! :P |
|||||||||
|
|||
X-Cart forums © 2001-2020
|