Can you be more specific about what doesn't work?
Can you be more specific about what doesn't work?
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
thanks for getting back to me swguy
i cant get any category to category discounts to work or product to product
the two for one works perfectly though
When you say "it doesn't work," can you be more specific? In what way does it not work? What exactly are you doing in the two for one case that does work, and what are you doing in the product to product case that does not? Show your code.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
When I add a two for one discount it appears in the checkout process as "Better Together Discount" with the correct discount, but when I do a product to product or category to category discount nothing actually happens.
The code is attached
function setup() {
// Using Better Together Admin? Uncomment this out
/*
if (!IS_ADMIN_FLAG) {
require(DIR_WS_MODULES . 'better_together_admin.php');
}
*/
// Add all linkages here
$this->add_twoforone_cat(36);
$this->add_cat_to_cat(33,34,"%", 15);
// Some examples are provided:
/*
Any help is apprecaited
That's an add_cat_to_cat - I asked you for an add_prod_to_prod. But since cat 36 seems to work, please try
I suspect that will work, which means that the real issue is with categories only, and you need to look at the help on categoriesCode:function setup() { $this->add_cat_to_cat(36,36,"%", 15); } } // closing paren for class
http://www.thatsoftwareguy.com/zenca...ry_issues.html
to see how they work and what can go wrong.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Then something is either wrong with your database, your files or your installation which will require someone to have access to all three to debug it. You can hire someone off the Commercial Help Forum.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
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
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
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.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.