VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 Conflict betwen Qty discounts & cust spec. pricing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

21 Posts

Posted - July 31 2003 :  16:09:08  Show Profile  Reply with Quote
I have v5.

I need to sell to retail customers and wholesale customers. To sell to wholesale customers, I will be using the customerprices table.

All of the products that I will be selling will have several levels of quantity discount; however, I do not want to apply a quantity discount if the logged in customer is a wholesaler.

The behavior that I am seeing is this:
The quantity discount is applied then the customer specific pricing is applied.

What do I need to change or set to not apply quantity discount is the customer type is something or if a customer specific price record available.

Gabriel Smith

Edited by - Gabriel on August 01 2003 10:22:48

Edited by - Gabriel on August 01 2003 10:41:38

Starting Member

6 Posts

Posted - October 30 2003 :  11:51:19  Show Profile  Reply with Quote
I seem to be having the same problem. Has anyone figured out a solution for this? Thanks,


Update - 10/31/2003

I've been searching for the solution and I think I've found it.
In the file shopuserprice.asp, at around line 14, you need to change this:

if getconfig("xquantityPrices")<>"Yes" then exit sub

to this:

if getconfig("xquantityPrices")<>"Yes" OR getsess("customertype")<>"" then exit sub

This seemed to fix the problem for me. I had checked the version 4.00 shopuserprice.asp with 5.00 and this was the first big standout I noticed and once I added the OR, it fixed my problem.

I hope this helps whoever needs it.


Edited by - lazurus on October 31 2003 09:03:02
Go to Top of Page

VP-ASP New User

194 Posts

Posted - February 13 2004 :  00:21:44  Show Profile  Visit siraj's Homepage  Reply with Quote
Hi.. if you dont want to apply the quanity break price for particular type customer in the above case wholesaler do this.

In shopuserprices.asp which handles quantity break price,
locate this line (its on top some where line 10?):
if getconfig("xquantityPrices")<>"Yes" then exit sub
add the following line somewhere around that.
dim customertype
if lcase(customertype)<>"retail" then exit sub

What this one does is, if you customer is not wretail customertype, then quantity price is not applied.

[email protected]
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000