Can I allow customers to order more than one item if a digital download file is attached?
The only way to achieve this is to disable the 'maximum quantity' values on all products so if you require a maximum quantity on any of the products in your site then the following script change will not be suitable for you.
* Browse to your site folder and locate the 'ActinicOrder.pm' file
* Open the file in a text editor such as notepad
* Search for:
if ($$pProduct{"MIN_QUANTITY_ORDERABLE"}
you should see:
if ($$pProduct{"MIN_QUANTITY_ORDERABLE"} != $$pProduct{"MAX_QUANTITY_ORDERABLE"} &&
* change
!=
to:
<=
* Then search for:
$nQuantityLeft = $$pProduct{'MAX_QUANTITY_ORDERABLE'};
* Change this to:
$nQuantityLeft = 32767;
* Close and save the file and update the site.
Your customers will now be able to buy more than one of a product with a digital download.
SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
The only way to achieve this is to disable the 'maximum quantity' values on all products so if you require a maximum quantity on any of the products in your site then the following script change will not be suitable for you.
* Browse to your site folder and locate the 'ActinicOrder.pm' file
* Open the file in a text editor such as notepad
* Search for:
if ($$pProduct{"MIN_QUANTITY_ORDERABLE"}
you should see:
if ($$pProduct{"MIN_QUANTITY_ORDERABLE"} != $$pProduct{"MAX_QUANTITY_ORDERABLE"} &&
* change
!=
to:
<=
* Then search for:
$nQuantityLeft = $$pProduct{'MAX_QUANTITY_ORDERABLE'};
* Change this to:
$nQuantityLeft = 32767;
* Close and save the file and update the site.
Your customers will now be able to buy more than one of a product with a digital download.
SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.