Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Customer group discount
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

manilow
VP-CART New User

France
134 Posts

Posted - September 09 2013 :  05:56:45  Show Profile  Visit manilow's Homepage  Reply with Quote
I changed the customer prices table in order to be able to apply specific discounts to customer groups.

A record in this table is now like:

id
customerid
groupid
categoryid
catalogid
discountpercent
discountamount


After changing the table, I had to change the customerprices subroutine as well by including additional LookupCustomerGroupProduct and LookupCustomerGroupCategory subroutines.

This may be an idea for a standard option in VPASP 8 ?

Kind regards.

Erik
www.AquaThermia.com

support
Administrator

4679 Posts

Posted - September 09 2013 :  21:24:43  Show Profile  Visit support's Homepage  Reply with Quote
Hi Eric,

A bit lost with this one.

We already offer the ability to apply discounts to customer groups?

Thank you.

Cam Flanigan
VP-ASP Cart Support

*********************************************
Need a shopping cart for your online business?
http://www.vpasp.com

Click here to compare the different VP-ASP shopping carts:
--http://www.vpasp.com/virtprog/vpaspcompareversions.htm

Need to contact our sales team?
-- http://www.vpasp.com/sales/shopcustcontact.asp
*********************************************
Go to Top of Page

manilow
VP-CART New User

France
134 Posts

Posted - September 10 2013 :  04:13:35  Show Profile  Visit manilow's Homepage  Reply with Quote
Hi Cam,

I believe only overall discounts (percents or amounts) can be applied through customer groups. So if you specify for example 10% discount for resellers, it will be calculated on ALL products.

My idea was to set up specific category or product discounts for customer groups. In fact the same way as discounts can be applied to individual customers now.

I changed the customerprices subroutine allowing a customer to be member of several (static) customer groups. In this way some clients can benefit from discounts defined for each group.

I hope my explanations will be clearer this time.

Kind regards,

Erik
www.AquaThermia.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00