MageParts

Skip to Main Content »

User Guides

My Cart

You have no items in your shopping cart.

Community Poll

What do you think of our prices?
 
 
 
 

Newsletter

Newsletter
 

Max Cart Quantity   -   User Guide

Chapter 1: Configuration options for Max Cart Quantity

This chapter will cover how to configure the Max Cart Quantity extension in Magento.

1.1Configuration overview

The Max Cart Quantity configuration is accessible from the top menu System → Configuration on the tab MageParts → Max Cart Qty.

Config overview
  1. Navigate to System → Configuration in the top menu.
  2. Click on the Max Cart Qty tab in the MageParts section of the left-hand menu.

1.2General Settings

General Settings
OptionDescription
EnabledThis controls whether or not the extension is enabled.
Max Cart QtyMaximum number of items allowed in shopping cart.
Only Apply Qty Restriction For These Customer GroupsHere you can select which specific customer groups this restriction should apply for. If this setting is left empty the quantity restriction will apply for all customers.
Error MessageMessage which will be displayed when the shopping cart has reached its quantity limit. See chapter 1.3 for more information regarding this message and what parameters can be used in it.

1.3The Error Message Setting

In the Error Message setting you can enter a message which will be displayed when the shopping cart is "full" (ie. when the shopping cart has reached its quantity limit).

You are allowed to use two parameters in this message (please note that these parameters are optional, not required). Both parameters are defined by using the keyword %s, and they will be replaced on the frontend with other data.

The first instance of the keyword %s will be replaced by the maximal number of items allowed in the shopping cart (defined in the Max Cart Qty setting).

The second instance of the keyword %s will be replaced by the current quantity in the shopping cart + the number of items the customer just tried adding to the shopping cart.

If the quantity limit is 5 the error message would look as illustrated in the screenshot below.

Screenshot of Error Message