Page 11 of 70 FirstFirst ... 9101112132161 ... LastLast
Results 101 to 110 of 697
  1. #101
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    I can't dup this on php4 or php5.

    I use
    $this->add_twoforone_cat(21);
    at

    http://192.168.1.103/swguy_demo_1.3.7/
    which is php4.

    Cat 21 is gift certificates. Add two OF THE SAME and you'll see the discount. I know the marketing text is misleading; I will fix this in the next release.
    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.

  2. #102
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by swguy View Post
    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.
    Argh! For those who weren't completely confused by this misstatement - you should have been! (This should have read, "the semantics of add_twoforone_cat(x) ...")
    The documentation has been updated to reflect how this actually works, namely:

    add_twoforone_cat(x) - "you get two for one on all items in category x"
    add_cat_to_cat(x, x, ..) - "buy one item from category x, get another from category x free"

    As noted previously, the marketing text is misleading on add_twoforone_cat; this will be fixed in the next release, which will be available shortly.

    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.

  3. #103
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by albertomrubio View Post
    Is there a posibility to list all Better Toguether products on one list just like Specials items?
    OK, this is now ready. Right now it's just a zip file on my website; I guess if people like it I'll submit it to the download area, but I wanted to keep it out of the main contribution so that people would have a choice of whether or not to use it. Here's the zip:

    http://www.thatsoftwareguy.com/promo_better.zip

    and if you want to see what it looks like before installing it, here's an example:

    http://www.thatsoftwareguy.com/swguy...together_promo

    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.

  4. #104
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    Better Together 1.5 has been released and is available in the download area.
    It builds on the introduction of tpl_better_together_marketing.php (as the way to add marketing text to the product info page) in the following ways:

    - The marketing text has been consolidated to a single div named
    betterTogetherDiscountPolicy. This div is only created when it is needed,
    so you are now free to style it with a border. If you have styled
    "discountPolicy" and "discountPolicyReverse" (the previous names), please
    incorporate this name change into your stylesheet.

    - Some wording changes have been made to the marketing text to further
    clarify the discount being offered. If you have made changes to the
    language file, you will want to install the new one and merge your changes.
    In particular, the change noted in post 97

    http://www.zen-cart.com/forum/showpo...7&postcount=97

    is critical for two for one category discounts, and must be installed. Other
    changes are required to align the marketing text with how the code actually works.

    The core contribution does not include the "Promotional Page" described in the previous
    post, which is packaged separately and is available as a free download off my site.

    Thank you,
    That Software Guy
    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.

  5. #105
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    If you are using Better Together and want to use Google Checkout, please upgrade to Better Together 1.5a. A bug was detected in the process() routine in ot_better_together.php that makes Google Checkout unable to determine the discount. Of course, you will also need to be running Google Checkout v1.4.1_beta2 (or better), which contains the fixes required to make Order Total modules work.

    If you have made significant changes outside of the setup() routine and just want to merge in this change, look for the string 'value'. You will see

    Code:
       'value' => $this->deduction);
    Change this to

    Code:
       'value' => $od_amount['total']);
    So the whole block should look like this:
    Code:
              $this->output[] = array('title' => $this->title . ':',
                                     'text' => '-' . $currencies->format($od_amount['total'], true, $order->info['currency'], $order->info['currency_value']),
                                     'value' => $od_amount['total']);
    Thank you,
    That Software Guy
    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.

  6. #106
    Join Date
    May 2005
    Posts
    532
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    swguy,

    this mod was working okay and I have just added a second promo and now I get this error regardsless of how many promos it only goes if I take all promos off the module ot_betther_together.php file

    error is

    Parse error: syntax error, unexpected $end in /secure/f/mydomain/includes/modules/order_total/ot_better_together.php on line 457

    odd it should suddenly occur. I have even taken a new copy of the file from the down load incase I had deleted something by error.

    But still get issue. Look forward to your help and thoughts

    MG

  7. #107
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    Typically this indicates a brace or bracket imbalance.
    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.

  8. #108
    Join Date
    May 2005
    Posts
    532
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Swguy,

    thank you for your speedy response. Would that be in the same file as the error (sorry not a php programmer at all)? i.e. the includes/modules/ot_bettertogether.php file rather than any where else and any clues on how to work out (I am assuming I need to go from the start of the file and work out all pairings and then close off accordingly.)

    Odd it was working and then I just added an offer and it fell over?

    Thanks

    MG

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

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by MikeyG View Post
    I am assuming I need to go from the start of the file and work out all pairings and then close off accordingly.
    This is not what I would do. Instead, I would get a fresh copy of the file, type in the first discount, test. Type in the second discount. Test. Do not copy and paste; you'll copy and paste your error.
    I would also delete all the comments and examples from the setup() function so that what you're doing is clear.

    Odd it was working and then I just added an offer and it fell over?
    Not odd at all. You're modifying code. Every little bit counts.
    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. #110
    Join Date
    May 2005
    Posts
    532
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Swguy,

    Thanks for the methodology. I did just start from a new file and add one offer but it fell over. I will try again


    Regards

    MG

 

 
Page 11 of 70 FirstFirst ... 9101112132161 ... LastLast

Similar Threads

  1. Twitter Updates Sidebox Contribution Support Thread
    By delia in forum Addon Sideboxes
    Replies: 13
    Last Post: 29 Dec 2010, 12:44 AM
  2. Better Together Promotional Page Contribution
    By swguy in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 27 Feb 2010, 05:52 PM
  3. Windows Live Product Search Contribution Support Thread
    By numinix in forum All Other Contributions/Addons
    Replies: 209
    Last Post: 3 Jul 2009, 08:23 PM
  4. Better together mod
    By coolman in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Aug 2008, 09:48 PM
  5. LinkConnector Affiliate Contribution Support Thread
    By hyperdogmedia in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 28 Jun 2007, 06:33 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