seikan / Cart

A simple PHP shopping cart class to use in ecommerce web applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Max Quantity Cart Question

MobileITnz opened this issue · comments

I have a project that this could be amazing with but was wondering how we would implement the following:

  • We would like to limit purchases to 1 item per 28 days (this should be easy enough)

Ultimately we would also like to set limits based on supplier or category (whichever is easier)

  • This limit only applies to a specific supplier (Say Supplier ID: 1) and supplier ID: 2 wouldn't have any limitation
    or
  • This limit only applies to particular categories (I.E. Laptops, Tablets, Monitors)

Whichever way is easier to implement..

Any assistance would be great :) thank you in advance.