Loading
It is the giving season, full of online gift offers and shopping for difficult people in your life! A bundle of goods that compliment each other is a quick, no-brainer buy for your customers, especially if it is offered at a savings.

That being said, we figured this would be the perfect time to break down how to setup an Add to Cart buttons that adds more than one product to the cart. Usually, we would suggest using our Bundle Product feature to combine products into a single product, but sometimes a merchant might want to have the different parts of a “bundle” show up as separate line items in the cart.

For our example, I’m going to use two of our previously created products, “Product 1” and “Product 2”.  


Here are the standard button codes for those two products:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=1382652&cl=XXXXX&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=1397333&cl=XXXXX&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>

To have both products get added in with a single button code you would need to setup your code with an array like so:

<a href="javascript:EJEJC_multiAdd(Array("https://www.e-junkie.com/ecom/gb.php?c=cart&i=1382652&cl=XXXXX&ejc=2","https://www.e-junkie.com/ecom/gb.php?c=cart&i=1397333&cl=XXXXX&ejc=2" )); "><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>

This multi-add option can be used to add more than just two products as well, or even multiple Variant options, but please keep in mind that we will always suggest our bundle product feature instead as it removes the need for extra coding on your part.
Related Posts with Thumbnails

1 Response to 'How to Offer your Customers a Package of Products '

  1. E-junkie Said,
    https://e-junkieinfo.blogspot.com/2014/12/how-to-offer-your-customers-package-of.html?showComment=1417667765490#c3156708273127419476'> December 3, 2014 at 9:36 PM

    Well i
    find these basic criteria are really must to check the performance of your
    phone system and i accede for every business there is different criteria
    according to their needs.

     

Post a Comment