Jump to content

Maximum order quantity


Recommended Posts

Hello,

PrestaShop is awesome so far but I'm trying to figure out how to limit my customers to ordering only 1 product at a time. Is there a setting for this in the backend I'm missing or does someone know how to modify the source code to achieve this restriction?

Thank you,

Grimlock

Link to comment
Share on other sites

  • 9 months later...

Could anyone tell me how to get the quantity of an item that is already in the cart into a variable in the cart.php file?
$qty is the quantity that is being added to the cart. I want to add the value of $qty and the value of the quantity that is already in the cart. But I cant seem to get the value of what is already in the cart into a variable. I would really appreciate any input.
Thanks.

Link to comment
Share on other sites

  • 1 month later...
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...