E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic:
101026
admin
appears
attr
button
cart
class
click
code
config
create
display
e-junkieguru
ejc
ejejc
function
href
innerhtml
insurance
item
javascript
jquery
lines
link
note
number
obtained
offer
onclick
order
page
postcall
product
replace
return
seller
shipping
shopping
standard
target
tdpmnt
thkbx
try
view
xxxxxx
| |
| |
|
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. | |






