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

Better Together Contribution Support Thread

Views: 204,516

Results 141 to 160 of 696
12 Jan 2008, 1:17 PM
#141
swguy avatar

swguy

Administrator

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

Better Together Contribution Support Thread

Response by email.

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.

15 Jan 2008, 12:31 AM
#142
uiserloh avatar

uiserloh

New Zenner

Join Date:
Jul 2007
Posts:
13
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Looks like a great module - couple questions that came up in a variety of posts, but were never conclusively answered:

[1] What's the PHP requirement? PHP5?

[2] Can Better Together v1.6 be used on 1.3.7 ZC Stores? Or should I install v1.5a

Thanks.

15 Jan 2008, 1:21 AM
#143
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

a) PHP4 or 5 are fine.
b) 1.6 i s fine with 1.3.7, and will save you a headache when you go to 1.3.8.

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.

18 Jan 2008, 12:19 PM
#144
albertomrubio avatar

albertomrubio

New Zenner

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

Re: Better Together Contribution Support Thread

Hello,

I have your module installed since several months and is working great. But now I want to offer free shipping based on amount, and of course, Free shipping takes the total from cart session, and better together put the discount on total order. So for example if i have some items at 2x1 and unit price is 20 USD, and for free shipping order must be over 60 USD, so for example, If one costumer add to cart 4 products, with the 2x1 offer the total order amount before better together discount will be 40 USD, but free shipping module see the cart session of 80 USD and automatically activates free shipping for this order.

The obvious problem is that is correct that the free shipment module needs to take the total from the cart you need to choose a shipping method before see the total order amount. But Better together module for a more accurate and user friendly usage will work better if is modified to shows discount directly on the cart session automatically. But of course is a contribution, a good one, a free one and this is just a suggestion.

So anybody can let me know who can I force free shipping module (or free rules and free options module) to takes the total from the cart session and subtract the better together total that already exists before the selection of the shipping method in order to have a real order total to calculate the free shipping.

23 Jan 2008, 8:10 AM
#145
livefish_com_au avatar

livefish_com_au

New Zenner

Join Date:
Jan 2007
Posts:
2
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Hi swguy,

I read through your docos, but sitll have a question.

I want to give Buy 5 get 1 free for all items in category X. (No mixing and matching allowed).

Can I do this with one of your products?

23 Jan 2008, 8:28 AM
#146
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Response by 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.

26 Jan 2008, 12:23 AM
#147
johnmans avatar

johnmans

New Zenner

Join Date:
Mar 2007
Posts:
31
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Seems a great contrib. But I am looking on how to set a discount for buy x, pay y. E.g. buy 4 items from one cat, pay 3 items (cheapest is free). Also buy 8, pay 6.... etc. Is it the language barrier, or isnt there a hint in the docs on howto?

Regards, John

26 Jan 2008, 12:29 AM
#148
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Response by 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.

26 Jan 2008, 4:56 AM
#149
jerrytkc avatar

jerrytkc

New Zenner

Join Date:
Nov 2007
Posts:
14
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

paul3648:

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?

I'm try to having this as well, do you mind sending the info to me as well, thanks,

8 Feb 2008, 6:44 AM
#150
ashishgandhi avatar

ashishgandhi

New Zenner

Join Date:
Oct 2007
Posts:
22
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

hi,

Firstly nice contribution...its really good.
But i have issue with setup function.
Why we have to add PHP code to setup()? Why didn't you put this in the Admin panel?

is there something to setup discount using admin?

plz help me

Thanx

8 Feb 2008, 7:28 AM
#151
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Please click on Help in the Admin screen for Better Together and see FAQ question number 2.

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.

12 Feb 2008, 6:59 PM
#152
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: Better Together Contribution Support Thread

Fantastic mod. I'm confident that this is going to help me with sales. My only suggestion (this might have already been mentioned) is that the mod should detect whether a product name starts with a vowel or not. At the moment, it says "get a". Obviously this could be manually changed to "get an" but then it wouldn't work for products not starting with a vowel. I got around this by changing it to "get the", which seems to work ok, but I think "a" and "an" would be better. Just an idea anyway. Great mod, thanks.

14 Feb 2008, 6:26 AM
#153
ashishgandhi avatar

ashishgandhi

New Zenner

Join Date:
Oct 2007
Posts:
22
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

hey thanx for yr repy.....

i have one more query...at time you r providing function for buy 2 get 1 free, now suppose how can i make it buy x(number of items) get y(number of items) for free....

do i have to make new function for this or i have to customize the existing twoforoneproduct() function.

hope to get yr promp reply
thanx

26 Feb 2008, 1:37 AM
#154
hedera avatar

hedera

Zen Follower

Join Date:
Nov 2007
Posts:
128
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

I've now read through this entire thread and haven't seen my specific problem addressed. I'm building a site on ZenCart which was previously built from scratch using FrontPage and Miva Merchant. The function I'm trying to put in, which brought me to BT, is:

We have one product on which we say, "Free with any book order." Our catalog is very small. We have 3 categories:

1 - Books (5 items)
2 - Brochures (11 items)
3 - Other (3 items)

The "Free with any book order" product is #16 in category 2. After carefully reading your doc, I concluded that the appropriate call was

add_prod_to_cat(1,16,”%”,100);

but when I loaded this to my site and test in the shopping cart, I get no discount at all. The crazy thing is, my first pass was backward - add_prod_to_cat(16,1,"%",100) - and the discount worked, but on the wrong item - it discounted the category 1 item.

The statement I think is correct doesn't discount at all. Before you ask, I've established that the value in master_categories_id is NOT zero. What should I be doing?? I want product 16 in category 2 to be free with purchase of ANY item in category 1.

hedera

Nature bats last.

26 Feb 2008, 2:21 AM
#155
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

There is no "buy category 1, get free product 16 (cat_to_prod) in Better Together. Since your catalog is small, you can do 5 prod_to_prods for each product in category 1 to product 16.

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.

6 Mar 2008, 12:09 AM
#156
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Hi there! I'm trying to install Better Together but - after carefully putting all the files where they're supposed to go, and allowing for the name of my custom installation - it does not show up as an item on Order Total Modules in my admin.

What might possibly be the reason for this? I'm eager to get started with cross-product discounts...

Many thanks!
adam

6 Mar 2008, 12:49 AM
#157
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

Remember that the installation is only step 1; you need to configure the setup() routine to add your pairings. Click the help from admin to learn how to do it. If the problem you're having pertains to pairing between categories, read about categories in the Better Together FAQ.

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.

6 Mar 2008, 12:50 AM
#158
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Whoops, following up on my previous post, I see that BetterTogether does appear on my cart's sidebar, but when I click it I get a string of error messages warning of missing files:

Warning: main(includes/languages/english/modules/order_total/ot_better_together.php) [function.main]: failed to open stream: No such file or directory in /home/wholebei/public_html/shop/includes/modules/pages/bettertogether_promo/header_php.php on line 24

Warning: main() [function.include]: Failed opening 'includes/languages/english/modules/order_total/ot_better_together.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/wholebei/public_html/shop/includes/modules/pages/bettertogether_promo/header_php.php on line 24

Warning: main(includes/modules/order_total/ot_better_together.php) [function.main]: failed to open stream: No such file or directory in /home/wholebei/public_html/shop/includes/modules/pages/bettertogether_promo/header_php.php on line 25

Warning: main() [function.include]: Failed opening 'includes/modules/order_total/ot_better_together.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/wholebei/public_html/shop/includes/modules/pages/bettertogether_promo/header_php.php on line 25

Fatal error: Cannot instantiate non-existent class: ot_better_together in /home/wholebei/public_html/shop/includes/modules/pages/bettertogether_promo/header_php.php on line 26

I can't figure out what this is trying to tell me though. Everything seems to be in the right place....

adam

6 Mar 2008, 12:59 AM
#159
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Thanks for the reply Scott! I thought I was following the install instructions to the letter: since I don't have a previous install of BT, I went to step 3, installing all the files in the appropriate places, and then read this as the next step:

  1. Login to admin and in Modules->Order Total you will see 'Better Together' listed along with all the other modules available.

Nothing about configuring a setup() routine... that's the code I add to my template to enable the linkages, right? Do I have to do that first before BT will even appear on my site or admin?

As for "clicking the help from admin", ummm... what help from admin? My admin? Oh, I'm so discouraged... but hanging in there!

adam

6 Mar 2008, 1:47 AM
#160
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 introductory material before the install instructions explains how setup works.

If you don't see a help link on Better Together in admin under modules->order totals, you have an old version; please upgrade.

The direct link to the help is
http://www.thatsoftwareguy.com/zencart_better_together.html

Yes, you have to add linkages to the setup before you will see it in your order total on checkout page 2. You don't get a discount until you specify some pairings. Please spend an hour or two and read the whole web page and README file. This is an advanced mod and not something you can just do in five minutes.

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.