Re: Better Together Contribution Support Thread
Hi swguy,
Excellent plugin, thank you! It seems to be working fine except for error logs that get generated each time I edit an order even when it does not include any "better together" items. Order editing itself works fine (correct updates are saved and correct notifications are sent), but after clicking "update order" I get a Server 500 error, and a new error log which reads:
PHP Fatal error: Call to undefined function zen_get_tax_rate_from_desc() in /SITE/includes/modules/order_total/ot_better_together.php on line 465
Line 465 in my copy of that file is:
$tax_rate = zen_get_tax_rate_from_desc($key);
I'm using Zen Cart 1.5.1 and Better Together 2.4 (released 4/20/2013). For tax handling I use TaxCloud. Any idea what could be causing these errors and how I can fix them? (Please be gentle, I'm not a php developer, just a user...)
Thank you!
Magz
Re: Better Together Contribution Support Thread
When you say, "each time I edit an order ..." - are you using an order edit mod? Which one? What version?
This does not happen on a stock cart when you do admin->customers->orders and then press the edit button to update the status and send a notification.
Re: Better Together Contribution Support Thread
Hi swguy - I use Edit Orders 4.1 and Ty Package Tracking 3.1.3. What I forgot to mention last night is that the errors happen only on my "real" website with SSL, they don't happen on the testing website without SSL. Could the SSL certificate have anything to do with it? Of course it's possible that I may have messed up the installation of either BT or EO/TPT on the real website... - any idea which BT file(s) I should check? (I checked them "all" and they seem correct, but being human I may have missed something...) What I'm finding strange is that all of the features of all of these mods seem to be working fine despite the errors (who knows what's going wrong that I don't see or haven't tested yet...). The function mentioned in the errors is defined in SITE/includes/functions/functions_taxes.php which is present on both sites and has not been modified by any plugin on either site.
Thanks!
Magz
Re: Better Together Contribution Support Thread
OK. This is a bug in Edit Orders 4.1; I will work on getting a fix in place this month.
Re: Better Together Contribution Support Thread
Better Together 2.5 has just been released; this version has support for "one to many" discounts. So if you have
Buy item 10, get item 20 for 25% off
Buy item 10, get item 30 for 25% off
Buy item 10, get item 40 for 15% off
In the past, when the customer has 1 each of items 10,20,30 and 40 in the cart, only the first discount would run, and item 10 would be removed from the list of items available for fulfilling a condition.
Now, if you want all three discounts to fire when the customer has items 10,20,30 and 40 in the cart, you can set the flag "One to Many = 1" in Admin->Modules->Order Total->Better Together. Setting One to Many = 2 will allow the discount to repeat if you have multiple of items 20, 30 or 40 in the cart, but only one item 10.
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
swguy
OK. This is a bug in Edit Orders 4.1; I will work on getting a fix in place this month.
Thanks swguy. Just so you know, lhungil has been working on some improvements to EO 4.1 and might already be working on fixing this bug. ~magz
Re: Better Together Contribution Support Thread
@magz the fix for your issue is posted on the Edit Orders 4.1 support thread here: http://www.zen-cart.com/showthread.p...03#post1205703
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
swguy
Thanks swguy! This seems to have fixed the problem for me. ~magz
Re: Better Together Contribution Support Thread
Is there anywhere I can see this plugin in action?
Thanks
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
uswebworx
Is there anywhere I can see this plugin in action?
Thanks
You can see the demo on the author's site:
http://www.thatsoftwareguy.com/thats...products_id=12