www.uburst.com www.uburst.com

"Volume pricing?"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Programmer Tips
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Volume pricing?"
Posted by Thomas Huulbaek Andersen on Jul-15-02 at 05:33 AM (EST)
I just implemented the volume pricing in our shopping system, which makes buying more a lot easier and cheaper for our customers. I do:

document.uShopJSI.addProduct(
"21137",
"Asus CD-RW 24/10/40 (lagervare)",
" ",
"1",
quantity,
"1 @ 469.00, 10 @ 449.00",
"0.00",
"0.00",
"0.00",
"YES");

But... If I for example buy 10 units of this item and then continue shopping, I will get all the other products at the volume price too! How do I fix this???

Sincerely,

Thomas

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Volume pricing?, Bill Weiner, Jul-15-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Volume pricing?"
Posted by Bill Weiner on Jul-15-02 at 05:41 AM (EST)
To prevent the volume pricing from being applied to other products in the store... you'll need to utilize the "classification" parameter for each volume pricing item. That is, give the product a unique classification such as "volumeprice1"... and that will make sure that the volume price only applies to products with that classification. The "classification" parameter is the 3rd-to-last parameter in the JavaScript addProduct() call, so you would use something like this:

document.uShopJSI.addProduct(
"21137",
"Asus CD-RW 24/10/40 (lagervare)",
" ",
"1",
quantity,
"1 @ 469.00, 10 @ 449.00",
"0.00",
"MYCLASSIFICATION",
"0.00",
"YES");

Refer to the following URL for more details about using the "classification" parameter with a "price" table:

http://www.uburst.com/uShop/reference/ref_parameter_standards.html#PRICE

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.