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

Better Together Contribution Support Thread

Views: 204,516

Results 81 to 100 of 696
1 Aug 2007, 10:42 AM
#81
swguy avatar

swguy

Administrator

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

Better Together Contribution Support Thread

You might have this code within an if block that's not being triggered. Try moving this block of code around. Right after
$discount = new ot_better_together();

do something like

echo "Hello world!";

to see if this block is being reached.

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.

1 Aug 2007, 6:19 PM
#82
makenoiz avatar

makenoiz

Zen Follower

Join Date:
Mar 2006
Posts:
284
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Oddly enough tpl_product_info_display.php page is not the page that is being called. I renamed it and the product description still showed. So now I have to figure out which page is being used to create the product description pages!

22 stores and counting! Ive been zenned.

1 Aug 2007, 6:43 PM
#83
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Are you in the right template directory? Check your template in Admin->Tools and be sure you're in that directory.

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.

5 Aug 2007, 3:37 PM
#84
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Better Together 1.4 has been released; it contains some minor improvements in the wording of marketing text for Checkout Candy users and encapsulates the marketing text which appears on the product info page in one single file so that only a one line change needs to be made to tpl_product_info.php to include it.

The README file and the extended help on my site have traditionally advised displaying the marketing text below the product description, but feel free to experiment. For instance, putting it at the very top of the page is also very eye-catching. Now that the marketing text is a one line inclusion, it should be easier to move around to try different layouts.

SoftwareGuy

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.

10 Aug 2007, 5:29 PM
#85
enchantedlingerie avatar

enchantedlingerie

Zen Follower

Join Date:
Nov 2005
Posts:
101
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

hi i just have a quick question. first i love this mod its awesome. but i don't want to mess around with this mod for hours if this isn't even possible for this scenario.

i want to set up my store so that everything in it is buy 2 get 1 free. This will apply to the entire store.

is this possible?

thanks alot

10 Aug 2007, 5:45 PM
#86
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Not with Better Together but there are other solutions; see your PM.

Scott

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.

20 Aug 2007, 11:31 AM
#87
stenrique avatar

stenrique

Zen Follower

Join Date:
Apr 2005
Posts:
355
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Hi, can I configure this mod. to offer a category-wide discount (% or dollar value) and dynamically apply the discount to the lower value item. For instance:

Category 1

Product A - $10.00
Product B - $20.00
Product C - $30.00

Scenario 1: Customer bought Product A and B. Then discount is on Product A.
Scenario 2: Customer bought Product C and B. Then discount is on Product B.

TIA.

21 Aug 2007, 11:45 AM
#88
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

The discounts are applied in the order you specify them, against the products in the order they appear in the cart.

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 Aug 2007, 10:05 PM
#89
albertomrubio avatar

albertomrubio

New Zenner

Join Date:
Aug 2007
Posts:
3
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Hi,

I have a question and sugestion. I have installed your module as I found it very very interesting. CONGRATULATIONS. But just one concern at least for me.
You know that some of as uses Discount Groups, and others like my self that uses the Discount Pert Itemes Per Group prices. The problem is that a 2x1 or what ever offer based on the listed price is good for the business, the problem is when you sell to at the same time to "final customers" "reselleres" and or "distributors". one 2x1 offer based on price list for example 10 USD is ok, but when you have a Price group for 50% off price list, for exaple "Reselleres" then with your module they will have 10USD plus 50% off - 5USD plus 2x1 - 2.5 USD per item..... Well to shot this out as i guess you may figure out what i mean. Is ther a posibility to avoid a Better together offer to some Group Price or for all of them by default?

24 Aug 2007, 10:41 PM
#90
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 want to avoid double discounting, you should modify your per item per group logic to not discount items you have Better Together discounts on. You will have to ask whoever supports that code how to make that change.

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.

26 Aug 2007, 2:05 PM
#91
albertomrubio avatar

albertomrubio

New Zenner

Join Date:
Aug 2007
Posts:
3
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Ok, Thanks for the reply. I will try tofigure out how to do this. One more question. Is there a posibility to list all Better Toguether products on one list just like Specials items?

26 Aug 2007, 2:46 PM
#92
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Not right now. I have toyed with this idea in the past, but the trouble is, it's hard to make it relevant. If you are looking for gardening tools, you don't really care that diapers are discounted when purchased with baby food. That's why the marketing text on the product page is the promotional mechanism I have suggested - the customer has already drilled down and indicated his interest. That's the optimal upselling point.

Nevertheless, thank you for the suggestion, and I'll think on it some more.

That Software Guy

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.

27 Aug 2007, 1:29 PM
#93
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

I've had a change of heart on this. Look for a new optional download in late September providing this functionality. I think I'd like to keep it separate because not everyone wants it, but it definitely has value.

Scott

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.

28 Aug 2007, 9:40 PM
#94
paul3648 avatar

paul3648

Zen Follower

Join Date:
Mar 2007
Location:
Taiwan
Posts:
239
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

I've been using this mod for a while and it works great. Now I've got a new set of products and want to give a gift for any purchase of a category item i.e. category to product discount.

Since this is not part of your code, I tried adding

define('CAT_TO_PROD', '4');

and made adjustments through the code, but I get an error on line 35 - something about not expecting a Boolean AND.

Here are my modified lines 33 to 38:

      if ($flavor != PROD_TO_PROD && 
          $flavor != PROD_TO_CAT &&
          $flavor != CAT_TO_CAT) &&
          $flavor != CAT_TO_PROD) {
          bailout("Bad flavor " . $flavor); 
      }

Any ideas?

28 Aug 2007, 9:46 PM
#95
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

This line is in error:
$flavor != CAT_TO_CAT) &&

There are also other ways to do this; see your PM.

Scott

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.

29 Aug 2007, 4:47 PM
#96
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Re-reading this post, I see it's not very clear.

This line is in error
$flavor != CAT_TO_CAT) &&

because of the extraneous bracket before the logical and.

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.

1 Sep 2007, 4:44 PM
#97
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 are rusing the marketing text I have provided, you will see that the text for two for one category discounts will come out simply as "12." If you wish to provide a more detailed message :) please make the following changes:

./includes/modules/order_total/ot_better_together.php line 364
./includes/languages/english/modules/order_total/ot_better_together.php line 29

change the definition TWOFER_CAT to TWOFER_CAT_PROMO_STRING.
This bug only affects two for one category discounts.

This will be fixed in the next release.
Scott

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.

8 Sep 2007, 3:53 PM
#98
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Hi,

Great mod! One question and one problem though.

  1. Is it possible to make it discount the LOWER of the items in a "category to category" discount? ie; a person adds one item, worth $5 to the cart, then from the same category, an item worth $20. It's discounting the $20 item by 25%, and I'd prefer it discount the $5 one.

  2. I cannot seem to get the "two for one category" discount to work. I tried this first, with no other discounts, but no-go. I then used the "category to category" discount at 100% on the second item, and it worked. Items are in category 56, which is a sub-category of category 27. I was using category 56 for the discounts.

Thanks.

VTstuff.com, Quality gifts and products from Vermont.

8 Sep 2007, 4:17 PM
#99
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Re: 1 - not at this time.

Re 2 - the semantics (as implemented) of add_cat_to_cat(x) are "you get two for one on all items in category x" not "buy one item from category x, get another free". Of course, this is incredibly confusing given that the marketing text suggests the latter behavior. :( Add_cat_to_cat gives you what (I think) you want.

Thanks,
Scott

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.

8 Sep 2007, 4:48 PM
#100
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

swguy:

Re: 1 - not at this time.

Re 2 - the semantics (as implemented) of add_cat_to_cat(x) are "you get two for one on all items in category x" not "buy one item from category x, get another free". Of course, this is incredibly confusing given that the marketing text suggests the latter behavior. :( Add_cat_to_cat gives you what (I think) you want.

Thanks,
Scott

Hi Scott,

I think I was not clear in my explanation... I'll try again :smile:
My first attempt was with this code:

         // Buy any item from category 56, get a second identical one free
         $this->add_twoforone_cat(56);

I could not get it to work on my cart, but I do have this working to do the same thing:

         $this->add_cat_to_cat(56, 56, "%", 50);

Am I missing something in the functionality? My site seems OK, but I'm just trying to figure out why I could not make the twoforone work. Got no discount on the category at all.

Thanks
Ray

VTstuff.com, Quality gifts and products from Vermont.