X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   RFQ: Limit Maximum Products per vendor by membership (https://forum.x-cart.com/showthread.php?t=60453)

sdstren 08-06-2011 10:34 AM

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?


All times are GMT -8. The time now is 12:04 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.