Inventory not processing
If your inventory does not process correctly in the deluxe catalog, the first thing to check is your product names. Remove any characters that are not alphabetical, numerical or spaces, especially quotes, colons or dashes. For instance, change the product Johnny "Guns" Walker: Super-Star to Johnny Guns Walker Super Star. (The large product description, though, can have any characters.)
You should also make sure that there are no duplicate products - if so, ensure that there is a unique catalog number for each item. The system looks at the product name with catalog number to determine a unique product. If there are duplicates, it will not update the inventory because it does not know what to look for.
If your inventory worked in the past but is no longer working, your server may have updated their settings, causing the current inventory script not to work. To fix this, request a new version update; we offer the script updates at no cost (though you would need to install the system yourself, as installation of the upgrade is *not* included for free). The newest release will take care of any server related issues.
If that isn't an option, or you would prefer to just modify the script yourself, you will need to make some PHP changes.
-
Make a copy of the finish.php page in your main files (the same folder that the catalog.php page is in)
-
Open the original finish.php page.
-
Change the line:
if (!empty($_REQUEST[cart]) AND !empty($_REQUEST[pay_ref]))
to:
if (!empty($_REQUEST[cart]))
-
Make sure that the line:
include("inc/open.php");is just underneath the
-
The entire line should look like:
include("inc/open.php"); if (!empty($_REQUEST['cart'])) { -
Save the finish.php page.
-
Finally, double check your Mals setup to make sure all the Mals parameters are set up properly.