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

Better Together Contribution Support Thread

Views: 204,516

Results 201 to 220 of 696
8 Sep 2008, 7:15 PM
#201
swguy avatar

swguy

Administrator

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

Better Together Contribution Support Thread

There's nothing built in; you have to write code to do this sort of thing.

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 Sep 2008, 11:10 AM
#202
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 2.0 is now available. The new features in this version are:

* The addition of add_cat_to_prod linkages.
* Automatic cart sort by price. This means that discounts which use add_cat_to_cat, add_prod_to_cat or add_cat_to_cat will automatically discount the least expensive item that matches the second id.

New version is in the downloads area.

Enjoy,
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.

12 Sep 2008, 7:32 AM
#203
djmagiccards avatar

djmagiccards

New Zenner

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

Re: Better Together Contribution Support Thread

I am having trouble getting my linkages to work with better together version 2.0.

I have successfully uploaded the files and installed the module in admin. I have tried every variation of linkages and no matter what I do no linkages work.

Below are my current linkages.

function setup() {
// Add all linkages here
// Some examples are provided:
/*
$this->add_prod_to_prod(14169, 13461, "$", 10);

*/
}

By the way, I am also using discount_1.10 (which works) and preview_1.3.8_2 (also works). I tried removing them temporarily, but that didn't have an effect on better together (still broken).

The linkages don't appear in step 2/3 of checkout or with the Better Together Promotional Page.

Any ideas why it isn't working?

12 Sep 2008, 7:49 AM
#204
swguy avatar

swguy

Administrator

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

Re: Better Together Contribution Support Thread

You have your linkage commented out. Instead of

/*
$this->add_prod_to_prod(14169, 13461, "$", 10);

*/

you should have

$this->add_prod_to_prod(14169, 13461, "$", 10);

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 Sep 2008, 7:55 AM
#205
djmagiccards avatar

djmagiccards

New Zenner

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

Re: Better Together Contribution Support Thread

That did the trick. Thanks!

21 Sep 2008, 4:37 PM
#206
honrheart avatar

honrheart

Zen Follower

Join Date:
Jul 2008
Posts:
139
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Ok I just ran across this add-on and I have installed but I'm not sure where to go to add the discounts in? I am wanting to do the following:

Purchase at least $5 and get a certain product free
Purchase item A & get Item B free

What file do I need to edit to do this?

Helpppppppppp

21 Sep 2008, 8:23 PM
#207
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 doesn't do "Buy $5, get item X free." - it only does "Buy A get B free."

To figure out how to make it work, you should read the documentation. A link is provided in admin->modules->Order total->Better Together, or you could just read the readme file which is provided with the contribution.

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 Sep 2008, 8:30 PM
#208
honrheart avatar

honrheart

Zen Follower

Join Date:
Jul 2008
Posts:
139
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Never mind I'll just uninstall it then because it doesn't do what I need it to do. Thanks

6 Oct 2008, 7:11 PM
#209
dni avatar

dni

New Zenner

Join Date:
Oct 2006
Posts:
64
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Can better Better Together do this kind of thing:

"Enter this code at checkout and get a free thingamajig with your purchase of $50 or more”

or am I barking up the wrong tree?

6 Oct 2008, 8:33 PM
#210
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 - Better Together is "Buy A, get B at a discount."

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.

7 Oct 2008, 3:12 PM
#211
twdhosting avatar

twdhosting

Zen Follower

Join Date:
Mar 2005
Posts:
119
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

I've read through all 22 pages of this thread but I'm still confused if BT can do the following:

TOP LEVEL CAT
|
SUB CAT1
|
Product1
Product2
Product3

Buy at least one of every item in SUB CAT1 and get a 10% discount on your order total...

I don't want it to mix 'n match between sub categories...

To give you a better idea (as I am pants at explaining these things) - Sub Cat1 will contain approx 6 products in a design, if the customer chooses to order every product in this design then they get a 10% discount, there are several designs in several sub cats.

Thanks!

7 Oct 2008, 3:41 PM
#212
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 - this is not what Better Together does. Better Together is "Buy A, get B at a discount."

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 Oct 2008, 6:26 PM
#213
dscott1966 avatar

dscott1966

Zen Follower

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

Re: Better Together Contribution Support Thread

Just a question on if this can be done. Can there be an image of the product if your doing product to product instead not to a category.

Lets say buy product 1 and get product 2 at 50% off. where there would be an image of product 2. instead of the customer having to click on the link for product 2 just to see what it is. It would already have the image there, and if they want to buy it they can click the image or the link.

Do you think this would sell other products better if it was this way. This way your saving the customer extra clicking. because if it is something they do not want now they have to click back to the product they do want.

Can this be done? If so how do i do it? :unsure:

12 Oct 2008, 6:32 PM
#214
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 is the next item on the Better Together roadmap. Stay tuned.

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 Oct 2008, 9:23 AM
#215
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Hi I have just received my zip files but I can not find where on earth you have hidden the includes/modules/order_total/ot_better_together.php . It is not in my zipped version I have received. I need it asap please ...

Thanks you

PS. I have emailed you direct as well just in case

Downunder QLD

15 Oct 2008, 9:53 AM
#216
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

swguy:

I have updated the help on my home page to answer this question more clearly.

Thanks,
Scott

I did have look but all I need to know if this is correct. I have the admin mod. So I need to insert this bit -

     if (!IS_ADMIN_FLAG) { 
        require(DIR_WS_MODULES . 'better_together_admin.php'); 
     }
     function setup() {
         // Add all linkages here
         // Some examples are provided: 
/*
         $this->add_cat_to_prod(4, 83, "%", 100); 

         // Buy product 83, get product 53 at 50% off 
         $this->add_prod_to_prod(83, 53, "%", 50); 

         // Buy product 83, get one free 
         $this->add_prod_to_prod(83, 83, "%", 100); 

         // Buy product 83, get an item from category 14 free 
         $this->add_prod_to_cat(83, 14, "%", 100); 

         // Buy an item from category 21, get an item from category 14 free
         $this->add_cat_to_cat(21, 14, "%", 100); 

         // Buy item 12, get a second one free.
         $this->add_twoforone_prod(12);

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

         // $this->add_twoforone_prod(17);
         $this->add_prod_to_prod(26, 27, "%", 100); 
         $this->add_prod_to_prod(83, 15, "%", 50); 
         $this->add_prod_to_prod(83, 20, "%", 25); 
         $this->add_cat_to_cat(14, 14, "%", 100); 
         $this->add_prod_to_prod(3, 25, "%", 50); 
*/

/* Is this correct where it is below the line ?? */

         if (!IS_ADMIN_FLAG) { 
            require(DIR_WS_MODULES . 'better_together_admin.php'); 
         }
    }

  }
?> 

Downunder QLD

15 Oct 2008, 10:47 AM
#217
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Mine isn't working. Can anyone please offer a helping hand?

I am using Zenrt 1.3.8a with Better Together Contribution + Better Together Admin

So I don't need to (want to) enter manual discounts and hard code the files. Therefore as per instruction, I have inserted the extra code to my tpl_product_info_display.php in my own template folder. I have also entered the code into includes/modules/order_total/ot_better_together.php.

I then have created the discount product > Product at 15%

(2) Buy: Jojoba Oil 25/50/100ml (PROD 80) Get: Midgie/Mossie Bite Balm 125/250ml (PROD 77) Discount: 15%

Problem I can not see the like in the demo any of this type of text. What is missing? I have upload all the files.

 Better Together Discounts
 Buy this item, get a Die Hard With A Vengeance Linked at 50% off 

  1. Edit the file
    includes/modules/order_total/ot_better_together.php
    and in the setup() function at the bottom of the file, add the lines:

      if (!IS_ADMIN_FLAG) { 
         require(DIR_WS_MODULES . 'better_together_admin.php'); 
      }
    
  1. Customize the tpl_product_info_display.php file to advertise
    your discounts. Put the file
    includes/templates/template_default/templates/tpl_product_info_display.php
    into includes/templates/<Your Template>/templates, and be sure
    you have installed tpl_better_together_marketing.php in this
    same directory. Then add this block of code to the
    tpl_product_info_display.php file
<?php require($template->get_template_dir('/tpl_better_together_marketing.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_better_together_marketing.php'); ?>

The placement of this code is a matter of personal preference.
Try placing it below the product description (line 87 in
tpl_product_info_display.php in 1.3.7), and adjust to your taste.

Downunder QLD

15 Oct 2008, 11:01 AM
#218
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

My fault

I forgot to upload the Ajax files.

Different question: How can I high light the message "Buy this item, get a Midgie/Mossie Bite Balm 125/250ml at 15% off" on th eproducts page?

Downunder QLD

15 Oct 2008, 11:11 AM
#219
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 sure what you mean by highlight, but displaying your discounts on the product page is discussed here:

http://www.thatsoftwareguy.com/zencart_better_together.html#marketing

The text on your product info page is tagged with #betterTogetherDiscountPolicy, so you can add css to style it.

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 Oct 2008, 11:13 AM
#220
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

Yes I got that too on your website. Thanks for getting back to me. It is so easy to use in admin its worth every dollar :-)

Downunder QLD