Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Automatically Add Products to cart

    Hi. I've tried searching the forums but cannot find a way to do this.

    If someone buys product X from our store, I want the cart to automatically add product Y with a price of $0.00 to the cart.

    Is there a way to do this?

    Thanks!

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Automatically Add Products to cart

    What if a customer does not want "product Y" ?

  3. #3
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Automatically Add Products to cart

    It doesn't matter. For our purposes a customer will always want Product Y.

  4. #4
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Automatically Add Products to cart

    Any suggestions on how to do this? I've found a way to add products to the cart and modify the subtotal, but this subtotal does not carry through the whole checkout process.

    It'd be better if I could actually modify the product price that's in the cart. Any suggestions?

    Thanks!

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Automatically Add Products to cart

    Well, the easiest way would be: right at the checkout page, you scan if the customer has product x in the basket, if yes you add y in.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Automatically Add Products to cart

    There is an example of this in the wiki, describing all the coding required.
    http://www.zen-cart.com/wiki/index.p..._World_Example

 

 

Similar Threads

  1. v150 Pattern List - automatically add related products to cart?
    By adb34 in forum General Questions
    Replies: 0
    Last Post: 14 Feb 2012, 11:57 AM
  2. Automatically Add / Remove Product to / from Cart
    By digruk in forum General Questions
    Replies: 6
    Last Post: 31 Oct 2011, 06:41 PM
  3. Automatically Add Products to the cart via URL?
    By jonhurlock in forum General Questions
    Replies: 18
    Last Post: 13 Apr 2010, 03:49 PM
  4. Automatically Add products to category by name or attribute
    By divaboutiques in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Feb 2010, 01:14 PM
  5. Add Product/Item to Cart Automatically on Page Load
    By foodguy in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Jun 2009, 10:38 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