Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Adding Insurance



InCali
member
Posts: 2


Hi,

Is there a way to add insurance when the e-junkie shopping cart appears?

Thanks


#
POSTED ON: March 8, 2012 @ 10:41 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4352


You could create an insurance "product" in Seller Admin and then display an Add to Cart button/link for that item within the cart itself. On every page where you want the insurance offer to be shown, just add the following lines to your View Cart code, just before the "// -->" line in the standard View Cart code you obtained from Seller Admin:

function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#tdPmnt").attr("innerHTML",
"<a target=ej_ejc class=ec_ejc_thkbx onClick='javascript:return EJEJC_lc(this);' \
href='https://www.e-junkie.com/ecom/gb.php?c=cart\&i=XXXXXX\&cl=101026\&ejc=2'>\
Click here to add shipping insurance to your order</a>");
}

Note that you should replace XXXXXX with the Item Number of your insurance product.


#
POSTED ON: March 8, 2012 @ 13:48 GMT -7




InCali
member
Posts: 2


Thanks E-junkieGuru! I will give this a try.


#
POSTED ON: March 8, 2012 @ 14:12 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam