Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Better together issues

    Okay, so I installed the better together in my root directory. I want to see if this product is actually what I'm looking for. Anyhow, the readme file is confusing.
    It's saying to change all the file paths from custom to my template name.

    Just where are all these files to change and how do I change them? I'm soooo confused

  2. #2
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Better together issues

    I think I found the resolve. Taken from the Software Guy's site

    Better Together
    In this example, we will assume your cart is installed under httpdocs/testsite on your webserver, and that your template is named "brownie."
    Copy ./includes/languages/english/modules/order_total/ot_better_together.php to
    /httpdocs/testsite/includes/languages/english/modules/order_total/ot_better_together.php
    Copy ./includes/modules/order_total/ot_better_together.php to
    /httpdocs/testsite/includes/modules/order_total/ot_better_together.php
    Copy ./includes/templates/custom/templates/tpl_better_together_marketing.php to
    /httpdocs/testsite/includes/templates/brownie/templates/tpl_better_together_marketing.php

  3. #3
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Better together issues

    Software guy...are you there?

    Have a question. I see the instructions for coding the discounts. Like, buy one...cat 2, get one free cat 2.

    I understand how to do that (I think). But I want to make sure...if that's all I want...that's all I have to change in the file, correct? That's the only code I'll be touching.??

    I don't have to change anything under add_prod-prod.

  4. #4
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Better together issues

    And how would you code
    Buy any item from cat 2 get another in cat 2 for $1. ?


  5. #5
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Better together issues

    Hi,

    I'm not thatsoftwareguy, and I'm pretty sure he supports his add-ons on his own forum, but since I've used this mod before, I think I can answer your questions. ...

    1. buy one from category 21 (for example) and get one from category 21 free
    $this->add_prod_to_cat(21, 21, "%", 100);

    2. buy one from category 21 (for example) and get one from category 21 for $1.00
    $this->add_prod_to_cat(21, 21, "$", 1);

    Both of those lines (the ones that start with $this) would go at the bottom of the file .../modules/order_total/ot_better_together.php

    The examples in that file are commented out (wrapped in /* */ symbols.) That means your working lines have to be outside of those wrappers, but still within the function. So put them just above the second-last } and under the last */.

    Rob

  6. #6
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Better together issues

    Okay, I've done all this, put the includes/templates/template_default/templates/tpl_product_info_display.php into MY CUSTOM template area.

    I'm not seeing any effect on my website. ??

    I do see it says to make sure that the above file is in the same directory as the tpl_better_together_marketing.php

    I'm not exactly sure what this means unless there's a step not listed in the install instructions and I was supposed to copy this marketing file and have it in the place the directions said to put it AND in my includes/templates/MYCUSTOM/templates/ area.

    Help? Please.

  7. #7
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Better together issues

    All I did when I installed it was follow the folder structure as shown in the mod's own files. That is, I didn't change anything or move anything out of the folder structure that I found it in in the mod itself.

    You say... "Okay, I've done all this, put the includes/templates/template_default/templates/tpl_product_info_display.php into MY CUSTOM template area." So just to be sure, the tpl_better_together_marketing.php file is also in that folder? And the code mentioned in step 6 of the install file was added to the tpl_product_info_display.php file? And you've edited the ot_better_together.php file to make your discounts? Then it should all work.

    Maybe copy and paste here the code you're using for the discounts, in case there's something worng there.

    A URL to your site would also help, so I can see what's happening myself.

    Rob

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Better together issues

    Quote Originally Posted by sheila123 View Post
    And how would you code
    Buy any item from cat 2 get another in cat 2 for $1. ?
    This is not a supported discount. You can only express discounts in terms of dollars off or percent off. For what you're doing, you might just say buy one cat 2 get the second free:

    function setup() {
    $this->add_twoforone_cat(2);
    }
    That Software Guy. My Store: Zen Cart Modifications
    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. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Better together issues

    Quote Originally Posted by rstevenson View Post
    Hi,
    I'm not thatsoftwareguy, and I'm pretty sure he supports his add-ons on his own forum, but since I've used this mod before, I think I can answer your questions. ...
    Note that discount 2 cannot be done (as noted above). Rob's writeup of Discount 1 had a small typo in it:

    1. buy one from category 21 (for example) and get one from category 21 free
    $this->add_cat_to_cat(21, 21, "%", 100);

    (he coded "add_prod_to_cat") This is probably closer to what you want than add_twoforone_cat, which allows 2 for 1 on the same item within a category.

    Scott
    That Software Guy. My Store: Zen Cart Modifications
    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. #10
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Better together issues

    "Rob's writeup of Discount 1 had a small typo in it: "

    “I know you believe you understand what you think I said, but I am not sure you realize that what you heard is not what I meant.” - Richard M. Nixon

    Rob

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Better Together Centerbox
    By swguy in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 27 Nov 2011, 06:21 PM
  2. Better Together add-on
    By CaroleAs in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 2 Nov 2010, 04:31 PM
  3. Better Together mod
    By coolman in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 18 Aug 2008, 09:09 PM
  4. Better together mod
    By coolman in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Aug 2008, 09:48 PM
  5. Better together problem
    By JasonRSI in forum Addon Payment Modules
    Replies: 2
    Last Post: 27 Nov 2007, 06:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR