![]() |
Yep the changes I made were identical to the changes that were posted in the first post on this thread, I only replaced the parts as directed in the post, I left everything else as is.
|
Any new reports on this. We have a bunch of different people adding products which has already caused soem problems with coupons ..
|
Re: Global Coupons for X-Cart Pro - Simple Mod
I have this working under 4.0.17. The code changes were very similar to those posted for version 3.x. There is one problem, however:
When a customer places items in the cart from different providers, the coupon gets doubled. Example: A customer orders a product from provider A, and provider B. The coupon is for $10.00 off. The discount is reflected as $20.00 off. |
Re: Global Coupons for X-Cart Pro - Simple Mod
the problem is, with an absolute coupon (i.e. - $20 off), x-cart will run the coupon for each provider found. so what you have to do, is separate the Global coupon part until the end of the totals gathering, and THEN apply it to the total. It doesn't matter if the global coupon is reflected for each individual product, as long as it's reflected in the grand total.
if you have more questions, contact me. |
Re: Global Coupons for X-Cart Pro - Simple Mod
Quote:
Can you clarify this for me? Also is the code in post #28 correct for 4.1.9? I realllly need this to work as quickly as possible. I don't know how to code anything on my own & I'm afraid to go rooting around in the sql databases. The previous cart owner had a provider set up as globalcoupon, but I just added the coupon I need & it doesn't appear to be working. She was using it in an earlier version of the cart. If anyone can provide some guidance please let me know. It didn't even occur to me that the cart would not let you use the same code across all providers--grrrrr!!!!! |
Re: Global Coupons for X-Cart Pro - Simple Mod
Quote:
Does anyone have this working properly under 4.0.x? |
Re: Global Coupons for X-Cart Pro - Simple Mod
Hi,
Regarding Global Coupons mod for X-cart Pro 4.X originally posted by mffowler. Thanks mffowler for your fine effort for making coupon globally. If we create a provider named "globalcoupon", and make a coupon to that provider so that we can control all provider from this global coupon provider and with the same coupon code & this global coupon can be controlled by user with any provider products. can we controlled it from admin? Can this be possible for x-cart pro 4.1.9 or 4.1.11? Your inputs will be immense help. Thanks to all again. |
Re: Global Coupons for X-Cart Pro - Simple Mod
Anybody can help me to create a provider name "globalcoupon",and make a coupon to that provider so that we can control all provider from this"globalcoupon" provider and with the same coupon code & this global coupon can be controlled by user with any provider products.
Is it possible to control from admin area? Can this be possible for x-cart pro 4.1.9 or 4.1.11? Thanks to all again. |
Re: Global Coupons for X-Cart Pro - Simple Mod
Hi Learner,
Yes, the code works fine in the 4.1.x versions of X-Cart, so you can just follow the code given in this thread (work on a backup copy of files). However, the file locations have changed to: include/func/func.cart.php and modules/Discount_Coupons/func.php To control the Global Coupon Provider from the Admin... just login as the global coupon provider and go to Inventory --> Coupons to create and delete global coupons. The only problem with this Mod is the coupon doubling problem as reported in Post #36 above. Robert |
Re: Global Coupons for X-Cart Pro - Simple Mod
Thanks robertswww for your response.
Now my question is 1) in X-Cart Pro 4.1.9 & X-Cart Pro 4.1.11 we modify include/func/func.cart.php in place of include/func.php in post #6 and modules/Discount_Coupons/func.php in place of modules/Discount_Coupons/discount_coupons.php in post#1 file #2? 2)I have already modify my code posted by mffowler in post#28 , is it creating some problem for new modification you suggested? Please suggest me what to do to install global coupon setup on X-Cart Pro 4.1.9 & X-Cart Pro 4.1.11. Your inputs will be immense help. Thanks to all again. |
All times are GMT -8. The time now is 05:56 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.