DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Shopping Cart  
DwZone Forum Index -> Shopping Cart

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 131 to 140 of 197 (Total: 93) First |  Prev |  Next |  Last  
 Subject Author Date  
   DW chrashes on add cart  
View this persons public profile  [email protected]   14:02 24 May 2006  
   Re:DW chrashes on add cart  
View this persons public profile  gianluigi   19:14 24 May 2006  
   Re:DW chrashes on add cart  
View this persons public profile  gianluigi   20:24 25 May 2006  
   Re:DW chrashes on add cart  
View this persons public profile  [email protected]   18:04 26 May 2006  
   Re:DW chrashes on add cart  
View this persons public profile  gianluigi   19:37 26 May 2006  
   Quantity from calculated variable  
View this persons public profile  [email protected]   18:27 14 Mar 2006  
   Re:Quantity from calculated variable  
View this persons public profile  gianluigi   19:30 14 Mar 2006  
   Re:Quantity from calculated variable  
View this persons public profile  [email protected]   10:27 16 Mar 2006  
    Adding a Trade Price sub total  
View this persons public profile  [email protected]   18:33 6 Mar 2006  
 
On the site I'm building there are two prices for each product a retail price and a trade price. If the user has logged in and is a Trade User the site shows Trade Prices, if the user hasn't logged in or is not a trade user they see the Retail Price.

I've written the conditional "IF... THEN" statements to ensure the correct price is shown on my product detail page and when a user clicks "Add to Cart" both price are added to the cart.

Is is possible to create an alternate "SubTotal" and "GrandTotal" that adds up the "Trade Price" so that on the "Shopping Cart" and "Order Confirmation" page the Trade user will see the total trade price and the retail user will see the total retail price. At the minute the SubTotal add up all the Retail Prices okay but I need a second option that adds up all the Trade Prices.

I'm okay with writing the conditional arguements to ensure the correct price is displayed but I don't know how to add (or calculate) a second (alternative) sub total or grand total function.

I hope this all makes sense.


 
Reply to this current thread  View this persons public profile  Send Private Message
   Re:Adding a Trade Price sub total  
View this persons public profile  gianluigi   21:17 7 Mar 2006  
Last Visit: Monday 23 Dec, 2024 6:34 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: