Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2008
    Location
    Rochester, NY
    Posts
    231
    Plugin Contributions
    0

    help question How do I give a discount if two products are purchased together?

    Here's what I want to do. A customer can buy product A for $300. They can also buy product B for $300. However, if they they will get a message asking them if they also want to checkout with product B. If they do, product B will only cost them $200, therefore giving a grand total of $500.

    Is there any way of doing this?

    Thanks,
    BP

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,501
    Plugin Contributions
    88

    Default Re: How do I give a discount if two products are purchased together?

    There's the Better Together plugin (I haven't used it).

  3. #3
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: How do I give a discount if two products are purchased together?

    Quote Originally Posted by bparker View Post
    Here's what I want to do. A customer can buy product A for $300. They can also buy product B for $300. However, if they they will get a message asking them if they also want to checkout with product B. If they do, product B will only cost them $200, therefore giving a grand total of $500.

    Is there any way of doing this?

    Thanks,
    BP
    From memory (and I could be totally wrong..) there is an add-on called Better Together. Just have a look in the "Plugins" section of this site (see menu on top of page).

    Frank

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

    Default Re: How do I give a discount if two products are purchased together?

    You are both correct. Better Together is designed to do "Buy A, Get B at a discount."
    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. #5
    Join Date
    Oct 2008
    Location
    Rochester, NY
    Posts
    231
    Plugin Contributions
    0

    Default Re: How do I give a discount if two products are purchased together?

    Ok, I'm trying Better Together, but I have no idea what this line means in the readme:

    Decide on the linkages you wish to use, and add them to the setup() function in includes/modules/order_total/ot_better_together.php. Open a shopping cart in another window to test these discounts. They are shown on the second step of checkout in "Your Total" under "Better Together."

    Could someone clarify, please? This is critical and I have no idea what I'm doing. :)

    Thanks,
    bparker

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

    Default Re: How do I give a discount if two products are purchased together?

    There are some more examples in the extended help on my home page at

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

    You need to modify the setup() function at the bottom of includes/modules/order_total/ot_better_together.php

    Use these examples to guide you to the configuration you want to use.
    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. #7
    Join Date
    Oct 2008
    Location
    Rochester, NY
    Posts
    231
    Plugin Contributions
    0

    Default Re: How do I give a discount if two products are purchased together?

    Wow... this is an essential. Why the heck was this not included in the readme? How can someone use the addon without seeing this information? I mean, sure, you could look at the code and decipher this, but then it's probably just as difficult as building the addon from scratch.

    Very helpful. Thanks!

    You've earned an emoticon. :)

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

    Default Re: How do I give a discount if two products are purchased together?

    Quote Originally Posted by bparker View Post
    Wow... this is an essential. Why the heck was this not included in the readme?
    It was. Re-read the block of text you posted in post #5. It probably makes more sense now.
    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.

 

 

Similar Threads

  1. Can I apply a discount after a certain number of products are purchased?
    By bparker in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 8 Aug 2011, 10:59 AM
  2. problem when Downloads and shipped items are purchased together ..
    By burnsy in forum Setting Up Categories, Products, Attributes
    Replies: 29
    Last Post: 12 Apr 2009, 03:57 PM
  3. Need discount if two specifc items purchased together
    By jalaco in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 21 Jul 2008, 04:37 PM
  4. Ideas/Suggestions for Discount Coupon - How to give a credit and a discount
    By vegascoug in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 15 Nov 2007, 05:40 PM
  5. How to choose two products together for shopping cart.
    By spcmnspf in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Aug 2007, 07:36 AM

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