atomiksteve:
can you explain that a little further? Sorry, I'm a Zen Amateur...:(
I just figured this one out. You can find help here:
http://www.thatsoftwareguy.com/zencart_giftwrap_checkout.html#userexits
You need to open the file ot_giftwrap_checkout.php You can find it in the includes/modules/order_total folder.
Look for the following code:
// Add products you wish to not offer wrapping for to this list.
// Go to Admin->Catalog->Categories/Products->[Your category]
// and look at the left hand side of the list to determine
// product id. Note that 99999 and 99998 are just given
// as examples. By returning true, we exclude these products.
function exclude_product($prid) {
$id = (int)$prid;
switch($id) {
case 99998:
case 99998:
return true;
}
return false;
}
Then change 99998 to the product ID of the product you wish to exlude from gift wrapping. Assuming your product ID is 199 the new code would look like this:
// Add products you wish to not offer wrapping for to this list.
// Go to Admin->Catalog->Categories/Products->[Your category]
// and look at the left hand side of the list to determine
// product id. Note that 99999 and 99998 are just given
// as examples. By returning true, we exclude these products.
function exclude_product($prid) {
$id = (int)$prid;
switch($id) {
case 199:
case 99998:
return true;
}
return false;
}
Save the file and upload it back to your server.
Thank you for the mod swguy. I had no problems installing it. Quick and easy.