Thank you!
I logged back and try to order and again coupon code is applying to other brands products. I checked coupon restriction and top is denied. Any idea what else can be missing?
Thank you!
I logged back and try to order and again coupon code is applying to other brands products. I checked coupon restriction and top is denied. Any idea what else can be missing?
What are the specific settings on the Restrictions for the Discount Coupon?
NOTE: for something to tell users what is allowed on Minimum Order, I grabbed a piece of code I am building into Zen Cart v16 that you can try ...
Edit the file:
/includes/modules/order_total/ot_coupon.php
and add the code in RED and see if this is somewhat helpful:
This should add a link in the message for not enough spent ... see if that at least is more helpful than just the message about the amount ...Code:// left for total order amount vs qualified order amount just switch the commented lines // if ($order_total['totalFull'] < $coupon_result->fields['coupon_minimum_order']) { if (strval($order_total['orderTotal']) < $coupon_result->fields['coupon_minimum_order']) { $dc_link = ' <a href="javascript:couponpopupWindow(\'' . zen_href_link(FILENAME_POPUP_COUPON_HELP, 'cID=' . $coupon_result->fields['coupon_id']) . '\')">' . $dc_check . '</a>'; $messageStack->add_session('redemptions', sprintf(TEXT_INVALID_REDEEM_COUPON_MINIMUM, $currencies->format($coupon_result->fields['coupon_minimum_order'])) . ' ' . $dc_link,'caution'); $this->clear_posts(); zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL',true, false)); }
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Look on the message ... does the Coupon code show at the end of it? If so, click on that ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Did you also add the code at the end of this line on the message?
Code:$messageStack->add_session('redemptions', sprintf(TEXT_INVALID_REDEEM_COUPON_MINIMUM, $currencies->format($coupon_result->fields['coupon_minimum_order'])) . ' ' . $dc_link,'caution');
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
This should work for v1.5 ...
On restricting for two Products for a manufacturer, you would probably need to build something in for that, as there is nothing in there that checks for that, at this time ...
Have you any more details other than you want 2 Products of the same manufacturer?
This add-on allows you to add the Products of a given manufacturer, but it is adding the Products by products_id and there is no reference to the Manufacturer once the coupon is made ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I want to create a "Shop with friends" marketing campaign by offering a discount ( coupon ) for those who buy at least 2 products from a specified manufacturer. The coupon must apply only for more than 1 product for the same manufacturer in cart.
Are you telling that product_id for which coupon apply must be added by hand in restriction section ?
Could this zip do what I need ?
What this does when adding Coupon Restrictions is offer a selection for adding All the Products of a Manufacturer which you can then, if needed, change by deleting or setting to deny ...
What it does not do is count how many Products are in the cart for the manufacturer ... you would need to further customize the code in the ot_coupon.php or something to further control the validation on the specific coupon ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Bookmarks