Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Members en non members price (wholesale)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-06-2005, 05:28 AM
 
WPOO WPOO is offline
 

Advanced Member
  
Join Date: May 2004
Location: Delft - Netherlands -
Posts: 31
 

Default Members en non members price (wholesale)

I think many of us have the same problem and that is that we would like to display the members and non member price.

I did this with a hard code work around but its not really a good solution.

Code:
<HR size="1" noshade width="100%" align="left"> {if $products[product].product_type eq "C"} {include file="buttons/details.tpl" href="product.php?productid=`$products[product].productid`&cat=`$cat`&page=`$navigation_page`"} {else} {if $active_modules.Subscriptions ne "" and $products[product].catalogprice} {include file="modules/Subscriptions/subscription_info_inlist.tpl"} {else} {if $products[product].taxed_price ne 0} {if $products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price} {math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%3.0f" assign=discount} {if $discount gt 0} <FONT class="MarketPrice"> {if $login ne ""} {$lng.txt_login_price}: {else} {$lng.lbl_market_price}: {/if} <S> {include file="currency.tpl" value=$products[product].list_price} </S></FONT> {/if} {/if} <FONT class="ProductPrice">{if $login ne ""}<font color="red">{$lng.txt_login_price}:</font> {else} {$lng.lbl_our_price}: {/if} {include file="currency.tpl" value=$products[product].taxed_price}</FONT><FONT class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</FONT><FONT class="StudentenPrice"> {if $discount gt 0},{* {$lng.lbl_save_price} {$discount}%*}ACTIE</FONT>{/if} {if $products[product].taxes} {if $login ne ""} {* {if $discount gt 0}<FONT class="StudentenPrice">{$discount}% {$lng.lbl_save_price_extra} </FONT>{/if} *} {* <FONT class="StudentenPrice">{include file="currency.tpl" value=$products[product].taxed_price}</FONT> *} {else} {* {if $discount gt 0}<FONT class="StudentenPrice">{$discount}% {$lng.lbl_save_price_extra_nonmem} </FONT>{/if} *} <FONT class="StudentenPrice">{$lng.lbl_studenten_price}: [b]{include file="currency.tpl" value=$products[product].taxed_price*0.95}[/b]</FONT>{/if}

the line :

Code:
<FONT class="StudentenPrice">{$lng.lbl_studenten_price}: [b]{include file="currency.tpl" value=$products[product].taxed_price*0.95}

takes the price and multiplies it by .95 to get the members price which is always 5% discount.

Then i have to put the price in the wholesale area.

This is toooooooooooooo much workt.

My question is can anyone tel me how to display the 5% discount price and not have to go to each products wholesale because it is too much work.

Please let me know it would be very helpfull

Thanks Willem
__________________
X-Cart Gold 4.13
X-Configurator
X-ROM
Easy Checkout
Reply With Quote
  #2  
Old 09-08-2005, 06:12 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just to clarify, you want to display the retail and wholesale prices to everyone?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-08-2005, 06:51 AM
 
WPOO WPOO is offline
 

Advanced Member
  
Join Date: May 2004
Location: Delft - Netherlands -
Posts: 31
 

Default Not really I just have one type of membership

The members recieve 5% discount on everything. I would like to display this without having to set the wholesale price. because now i have to calutate the price. I would like to do this automaticly. Thanks for the reply

if you look at the site www.shop4u.nl you wil see what i have tried to do but this does not work when members log in.


Thanks
__________________
X-Cart Gold 4.13
X-Configurator
X-ROM
Easy Checkout
Reply With Quote
  #4  
Old 09-08-2005, 06:53 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Why not just set a global discount that applies to members at checkout?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 09-08-2005, 07:06 AM
 
WPOO WPOO is offline
 

Advanced Member
  
Join Date: May 2004
Location: Delft - Netherlands -
Posts: 31
 

Default That sounds good. But poeple like to see the price

That sounds good but people would like to see the price they are going to be paying before they get into the laast screen.

Example

If you see that someone wil buy a computer for

1000 euros and they only see that the have to pay 900 euros at the laast screen they will most likely buy it at another store that displays the price as 950 eventhough it is more expensive.

Hoop i explaind it wel enough.

thanks again
__________________
X-Cart Gold 4.13
X-Configurator
X-ROM
Easy Checkout
Reply With Quote
  #6  
Old 10-02-2005, 10:35 AM
 
WPOO WPOO is offline
 

Advanced Member
  
Join Date: May 2004
Location: Delft - Netherlands -
Posts: 31
 

Default Does nobody have a solution

Can someone please help me.
__________________
X-Cart Gold 4.13
X-Configurator
X-ROM
Easy Checkout
Reply With Quote
  #7  
Old 10-03-2005, 01:05 PM
 
rvargas rvargas is offline
 

Member
  
Join Date: Sep 2004
Location: usa
Posts: 27
 

Default Different Prices depending on profile type

Quote:
Originally Posted by balinor
Just to clarify, you want to display the retail and wholesale prices to everyone?

I Want to have two prices for every product on my store, one for retail and one for wholesale, now I want wholesalers to register and send them a password (I rather check myself the info. they put on the form and then send them the password), once they log in they will only see prices for them(wholesalers).
I do not want regular customers to see whosale prices.

how do I acomplish this??

Thank you
__________________
Roberto Vargas
computersar.com
X-Cart Gold 4.0.13 Installed On Unix Server
Location: Ca - USA
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:48 AM.

   

 
X-Cart forums © 2001-2020