Increasing the maximum number of products in the cart array

The size of the cart array is set by the following code. As you can see, it limits the system to 100 separate items in the cart, each with up to 35 variables.

pcCartArray(100,35)

The files that contain this string are:

pc\instConfiguredPrd.asp
pc\instPrdCharges.asp
pc\pcPay_GoogleCheckout_Calculations.asp
pc\pcPay_GoogleCheckout_Callback.asp
pc\pcStartSession.asp

To allow a user to order more than 100 separate items at the same time (rare), you will need to replace the value 100 with a higher value (e.g. 150). Please note that this can affect performance as it means that each shopping cart session will require a larger amount of server memory.


Personal Tools