Impulse buys have adapted with e-commerce because they work so well. At traditional brick and mortar stores, impulse buys are the items by the register. At online retailers like Amazon, impulse buys are those suggested items you see when you add a certain item to your cart.
With e-junkie you can add a button to the shopping cart itself that will let your buyers add another product (that you can curate) to their carts. This is great way to promote low cost add ons, clearance items and brand new items. Customers often come to buy one thing but are willing to buy another enticing item. This feature can help you grab them for a moment, to convince them another of your products is desirable or even a necessity.
The first thing you need to do is make sure you have the Add to Cart button for the product you want to include in the cart, for this I'll use our test Product 2:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=1397333&cl=49889&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>
Next you will need your View Cart Code, our test one looks like this:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=49889&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"/></a>
<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>
Once you have the View Cart code you will want to add in the customization to add your own HTML code. The View Cart Code would then look like this:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=49889&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"/></a>
<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#tdPmnt").attr("style","font-family:Verdana;font-size:11px;text-align:left;width:100%;");
jQuery("#tdPmnt").attr("innerHTML",
"<b>PRODUCT 2</b><a href='https://www.e-junkie.com/ecom/gb.php?c=cart/&i=1397333/&cl=49889/&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>");
}
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>
You will need to make sure to change all quotation marks “ are changed to single quotation marks ' or escaped by adding a backslash so it reads /”. In the example above I changed them to a single quotation mark. Ampersands, &, also need to be escaped with a backslash so they look like this /&.
And when someone adds a product to the cart the cart will look like this:
Remember that all the coding we used in this blog are test products, and the client ID “cl” and the item number “i” will be different for you.
Is there anything you are wondering how to do with e-junkie, reach out.
Post a Comment