Forums / Addon Order Total Modules / Better Together Contribution Support Thread

Better Together Contribution Support Thread

Views: 204,516

Results 561 to 580 of 696
9 Feb 2013, 12:42 AM
#561
sham avatar

sham

Zen Follower

Join Date:
Feb 2010
Posts:
159
Plugin Contributions:
0

Better Together Contribution Support Thread

Hi,

Can this give multiple discounts? like buy from category A get 20% of category B. So customer buys 1 item from A and 3 from B can discount be applied to all items in B?
This module is installed and working on my site, but only gives discount on 1 item from be and always the lowest priced item.
Thanks for the great Mod.

9 Feb 2013, 12:46 AM
#562
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

sham:

Hi,

Can this give multiple discounts?

No. Better Together operates on pairs of items.

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.

9 Feb 2013, 12:48 AM
#563
sham avatar

sham

Zen Follower

Join Date:
Feb 2010
Posts:
159
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

I have seen some of your other add-ons is there one that would accomplish this? V 1.5.1
Thanks again.

21 Feb 2013, 10:00 AM
#564
ange_solly avatar

ange_solly

New Zenner

Join Date:
Feb 2013
Location:
Melbourne, Victoria, Australia, Australia
Posts:
5
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

was wondering if someone could help me...i can get get the two for one offers to work using this plugin but can not get any linkages working...any help would be great

21 Feb 2013, 10:19 AM
#565
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

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.

21 Feb 2013, 12:20 PM
#566
ange_solly avatar

ange_solly

New Zenner

Join Date:
Feb 2013
Location:
Melbourne, Victoria, Australia, Australia
Posts:
5
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

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

21 Feb 2013, 12:58 PM
#567
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

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.

22 Feb 2013, 6:04 AM
#568
ange_solly avatar

ange_solly

New Zenner

Join Date:
Feb 2013
Location:
Melbourne, Victoria, Australia, Australia
Posts:
5
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

swguy:

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.

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

22 Feb 2013, 11:00 AM
#569
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

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

function setup() { 
  $this->add_cat_to_cat(36,36,"%", 15); 
}

} // closing paren for class 

I suspect that will work, which means that the real issue is with categories only, and you need to look at the help on categories

http://www.thatsoftwareguy.com/zencart_category_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.

24 Feb 2013, 12:29 PM
#570
ange_solly avatar

ange_solly

New Zenner

Join Date:
Feb 2013
Location:
Melbourne, Victoria, Australia, Australia
Posts:
5
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

swguy:

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

function setup() {
$this->add_cat_to_cat(36,36,"%", 15);
}

} // closing paren for class

> 
> I suspect that will work, which means that the real issue is with categories only, and you need to look at the help on categories 
> 
> <http://www.thatsoftwareguy.com/zencart_category_issues.html>
> 
> to see how they work and what can go wrong.


Hi,

Appreciate the help but this didnt work either...same issue with nothing actually appearing...
24 Feb 2013, 1:08 PM
#571
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

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.

31 Mar 2013, 3:01 AM
#572
jjmondoro avatar

jjmondoro

New Zenner

Join Date:
Aug 2012
Posts:
20
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Scott, why would a category not show as an option in bt admin but the rest do?

31 Mar 2013, 11:16 AM
#573
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

See PM.

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.

4 Apr 2013, 4:47 PM
#574
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Trying to get an understanding of the discount logic.

I have three products
Product A - id1
Product B - id2 price £10
Product C - id3 price £20

If I have the following config:

$this->add_prod_to_prod(1,2,"%", 50);
$this->add_prod_to_prod(1,3,"%", 50);

I notice currently that only one discount is applied and the one that gives the least discount is applied.
Is this anything that can be configured to be different?

Phil Rogers
A problem shared is a problem solved.

4 Apr 2013, 4:50 PM
#575
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

No. Once an item has been "used" to provide a discount (or discounted), it is not available to provide other discounts. Discounts are applied (second parameter) from the least to the most expensive items, and items are used (first parameter) from most to least expensive.

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.

4 Apr 2013, 5:17 PM
#576
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

swguy:

No. Once an item has been "used" to provide a discount (or discounted), it is not available to provide other discounts. Discounts are applied (second parameter) from the least to the most expensive items, and items are used (first parameter) from most to least expensive.

Ok understand this, thanks. Is there anyway to change the logic so it chooses differently? I had an items that was more expensive but had less of a discount than a product that was less expensive so I assume that's why I ended up having the smaller discount applied.

Phil Rogers
A problem shared is a problem solved.

21 Apr 2013, 3:59 AM
#577
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

If you downloaded Better Together this week, please pull it again; there was a small bug in an update I submitted earlier this week. Thanks.
BTW the update was just code cleanup and formatting; no functional changes were involved so the update is not required.

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.

31 May 2013, 5:30 AM
#578
magz avatar

magz

Zen Follower

Join Date:
Apr 2013
Location:
north carolina
Posts:
110
Plugin Contributions:
0

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

31 May 2013, 9:29 AM
#579
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,725
Plugin Contributions:
56

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.

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.

31 May 2013, 4:54 PM
#580
magz avatar

magz

Zen Follower

Join Date:
Apr 2013
Location:
north carolina
Posts:
110
Plugin Contributions:
0

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