Lost income due to COVID-19? E-junkie is providing 1 year free accounts to sell anything, anywhere. Click Here for more details.

E-junkie Help >

Create a single Add to Cart/Buy Now button, with a menu to select which item to buy

You can show a dropdown menu listing various items available to purchase, with a single Add to Cart or Buy Now button to order the selected item. This may be particularly handy if you want to offer different versions of a file (e.g., sofware for Mac vs. PC) without showing separate purchase buttons for each version, even though each file would need to be set up as a separate product in Seller Admin.

In the examples given below, XXXXXX should be replaced with your own E-junkie Client ID, and YYYYYY and ZZZZZZ would be the Item Numbers for each product. You can add as many <option value ...etc.> lines as you wish, for however many items you want to list in the menu:

Here's the item menu code you'd need for an Add to Cart button:

<form action="https://www.e-junkie.com/ecom/gb.php?c=cart&ejc=2&cl=XXXXXX" target="ej_ejc" method="POST" accept-charset="UTF-8">
<select name="i">
<option value="YYYYYY">Widget</option>
<option value="ZZZZZZ">Wibble</option>
</select><br>
<input src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" alt="Add to Cart" class="ec_ejc_thkbx" onclick="return EJEJC_lc(this.parentNode);" type="image" border="0">

The item menu code for a Buy Now button would be similar but use slightly different action= and src= URLs:

<form action="https://www.e-junkie.com/ecom/gb.php?c=single&cl=XXXXXX" target="ejejcsingle" method="POST" accept-charset="UTF-8">
<select name="i">
<option value="YYYYYY">Widget</option>
<option value="ZZZZZZ">Wibble</option>
</select><br>
<input type="image" src="https://www.e-junkie.com/ej/x-click-butcc.gif" border="0" alt="Buy Now"/></form>