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

RFQ: Limit Maximum Products per vendor by membership

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-06-2011, 10:34 AM
 
sdstren sdstren is offline
 

Senior Member
  
Join Date: Mar 2006
Posts: 111
 

Default RFQ: Limit Maximum Products per vendor by membership

I want to be able to limit the maximum number of products a provider can have in the store catalog at any one time based on the membership I've assigned to them. For example,

Bronze Membership: maximum of 15 items
Silver Membership: maximum of 25 items
Gold Membership: unlimited items

I can manually assign the memberships, but I need xcart to pop up a message if they try to add one more product than their current membership allows.

This should be a simple database query with an if then else statement, but I have no idea how to write it.

Any gurus out there?
__________________
Sandi in AL
Xcart Pro 4.4.3
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 07:23 AM.

   

 
X-Cart forums © 2001-2020