Results 1 to 10 of 699

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    2
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Hi

    I understand how better together works, but I am trying to figure out if it is the correct plugin I need to solve the problem I have.

    I have a category that is two for the price of, so for example, one product cost X but buy two of those products and get it for price y. if the customer buys three products they get the discount on the first two but not the third but again on four products the discount is given.

    I have messed about with this plug in but it doesn't entirely achieve what I would like. so either A; I haven't correctly set it up or B: I need something else to achieve the result I am looking for...

    Thanks for any help.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: Better Together Contribution Support Thread

    Better Together doesn't work exactly this way.

    It is a discount module, and the price reduction is structured as a discount off the second item (not the final price of A+B).

    So if A and B are linked, buy A+B will give 1x the B discount. Buy A + 2B still gives 1x the B discount. Buy 2A + 2B gives 2x the B 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.

  3. #3
    Join Date
    Feb 2013
    Posts
    2
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Quote Originally Posted by swguy View Post
    Better Together doesn't work exactly this way.

    It is a discount module, and the price reduction is structured as a discount off the second item (not the final price of A+B).

    So if A and B are linked, buy A+B will give 1x the B discount. Buy A + 2B still gives 1x the B discount. Buy 2A + 2B gives 2x the B discount.
    Thanks for the reply.

    Is there a plug in that will possibly create what I need.

    Thanks for your time

  4. #4
    Join Date
    Jul 2004
    Posts
    142
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Hi all,
    Glancing through the thread and the forum I am unable to find anything about the below scenario so hopefully there's a solution:

    Using Zen 1.51
    Better Together: Xsell (cross-sell), most recent.

    Add two items under the xsell, one item sells. The item that sold is still showing up in the cross sell, since I list items in a SOLD category, but they ALL have the quantity of zero (0).

    So, where can I tell xsell NOT to show items with the quantity of zero (0)?

    Thanks
    GJW

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: Better Together Contribution Support Thread

    Please post your setup() function (or at least the relevant lines).
    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. #6
    Join Date
    Jul 2004
    Posts
    142
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    Hi Scott,
    function setup() {

    $this->add_prod_to_prod(6753, 6744, 'X', 0);
    $this->add_prod_to_prod(6744, 6753, 'X', 0);
    $this->add_prod_to_prod(6585, 6589, 'X', 0);
    $this->add_prod_to_prod(6589, 6585, 'X', 0);

    and on and on....on...and...on and one more on...ok 7,000 more.

    I wrote a excel sheet to generate the numbers and insert it into a list, as such, up to the highest current product number and create the opposite set.

    Items that do not have a actual item attached to them generate a "S O L D" image and link to the Newest Items Page.

    The problem I am having is even if a item is sold (0 quantity) AND/OR the status of the item is OFF. The item is still showing the image in my cross-sell, BUT when clicked it obviously would go to the Newest Items Page since it is not available. Seeing the image, a customer would expect to go to the product rather than the Newest Items List, I'm sure annoyed.

    Great work by the way with all of these plug-ins, they are absolutely the best.

    Thanks
    GJW

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: Better Together Contribution Support Thread

    OK so looking at

    $this->add_prod_to_prod(6753, 6744, 'X', 0);

    if you're on 6753 you don't want to show 6744 if it's sold out, right? Then go to includes/modules/order_total/ot_better_together.php and modify the function get_xsell_info(). The block you want is on 676-682 of the latest update.

    Before

    Code:
             if ($match == 1) {
                $info['image'] = $second_image;
                $info['link'] = $disc_href;
                $info['ident'] = $li->ident2;
                $info['name'] = $name;
                $response_arr[] = $info;
             }
    add this block of code

    Code:
             // Don't display out of stock products for xsell if not purchaseable
             if ( ($match == 1) &&
                  (($li->flavor == PROD_TO_PROD) || ($li->flavor == CAT_TO_PROD)) ) {
                 if ( (zen_get_products_stock($li->ident2) <= 0) &&
                      (STOCK_ALLOW_CHECKOUT == 'false') ) {
                      continue;
                 }
             }
    Last edited by swguy; 25 Sep 2013 at 04:05 PM. Reason: updated example code
    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.

  8. #8
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Better Together Contribution Support Thread

    I have also installed the the old paid version 2.0 and I still cannot see it in the Admin Tools.

    Can you please help. Thanks
    Downunder QLD

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: Better Together Contribution Support Thread

    See PM. Please contact me privately, not over the forum, for help with paid work.
    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.

 

 

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

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