Page 58 of 70 FirstFirst ... 848565758596068 ... LastLast
Results 571 to 580 of 697
  1. #571
    Join Date
    Feb 2013
    Location
    Melbourne, Victoria, Australia, Australia
    Posts
    5
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by swguy View Post
    When you say "it doesn't work," can you be more specific? In what way does it not work? What exactly are you doing in the two for one case that does work, and what are you doing in the product to product case that does not? Show your code.
    When I add a two for one discount it appears in the checkout process as "Better Together Discount" with the correct discount, but when I do a product to product or category to category discount nothing actually happens.

    The code is attached

    function setup() {
    // Using Better Together Admin? Uncomment this out
    /*
    if (!IS_ADMIN_FLAG) {
    require(DIR_WS_MODULES . 'better_together_admin.php');
    }
    */
    // Add all linkages here

    $this->add_twoforone_cat(36);
    $this->add_cat_to_cat(33,34,"%", 15);



    // Some examples are provided:

    /*


    Any help is apprecaited

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

    Default Re: Better Together Contribution Support Thread

    That's an add_cat_to_cat - I asked you for an add_prod_to_prod. But since cat 36 seems to work, please try

    Code:
    function setup() { 
      $this->add_cat_to_cat(36,36,"%", 15); 
    }
    
    } // closing paren for class
    I suspect that will work, which means that the real issue is with categories only, and you need to look at the help on categories

    http://www.thatsoftwareguy.com/zenca...ry_issues.html

    to see how they work and what can go wrong.
    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. #573
    Join Date
    Feb 2013
    Location
    Melbourne, Victoria, Australia, Australia
    Posts
    5
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by swguy View Post
    That's an add_cat_to_cat - I asked you for an add_prod_to_prod. But since cat 36 seems to work, please try

    Code:
    function setup() { 
      $this->add_cat_to_cat(36,36,"%", 15); 
    }
    
    } // closing paren for class
    I suspect that will work, which means that the real issue is with categories only, and you need to look at the help on categories

    http://www.thatsoftwareguy.com/zenca...ry_issues.html

    to see how they work and what can go wrong.

    Hi,

    Appreciate the help but this didnt work either...same issue with nothing actually appearing...

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

    Default Re: Better Together Contribution Support Thread

    Then something is either wrong with your database, your files or your installation which will require someone to have access to all three to debug it. You can hire someone off the Commercial Help Forum.
    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. #575
    Join Date
    Aug 2012
    Posts
    20
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Scott, why would a category not show as an option in bt admin but the rest do?

  6. #576
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    See PM.
    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.

  7. #577
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Trying to get an understanding of the discount logic.

    I have three products
    Product A - id1
    Product B - id2 price £10
    Product C - id3 price £20

    If I have the following config:

    $this->add_prod_to_prod(1,2,"%", 50);
    $this->add_prod_to_prod(1,3,"%", 50);

    I notice currently that only one discount is applied and the one that gives the least discount is applied.
    Is this anything that can be configured to be different?
    Phil Rogers
    A problem shared is a problem solved.

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

    Default Re: Better Together Contribution Support Thread

    No. Once an item has been "used" to provide a discount (or discounted), it is not available to provide other discounts. Discounts are applied (second parameter) from the least to the most expensive items, and items are used (first parameter) from most to least expensive.
    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. #579
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by swguy View Post
    No. Once an item has been "used" to provide a discount (or discounted), it is not available to provide other discounts. Discounts are applied (second parameter) from the least to the most expensive items, and items are used (first parameter) from most to least expensive.
    Ok understand this, thanks. Is there anyway to change the logic so it chooses differently? I had an items that was more expensive but had less of a discount than a product that was less expensive so I assume that's why I ended up having the smaller discount applied.
    Phil Rogers
    A problem shared is a problem solved.

  10. #580
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Better Together Contribution Support Thread

    If you downloaded Better Together this week, please pull it again; there was a small bug in an update I submitted earlier this week. Thanks.
    BTW the update was just code cleanup and formatting; no functional changes were involved so the update is not required.
    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.

 

 
Page 58 of 70 FirstFirst ... 848565758596068 ... 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