7 / 7
Mar 2012

I have a tangible good, but my only processor is Paypal. Thus in the cart, there is only the 'Pay with Paypal' button. I think many people don't know that you can still buy through paypal even if you don't have a PP account, so I think most of those people would bounce out at this point.



It would be nice to be able to include some text in the cart that says something like, "Payments processed through Paypal, but you don't need a paypal account. Visa & MC accepted."



Is there a way to do this? Thanks.

  • created

    Mar '12
  • last reply

    Mar '12
  • 6

    replies

  • 1.4k

    views

  • 4

    users

  • 5

    links

You can add a custom message in our standard cart that appears as an overlay "inside" your page; just add the following lines of cart customization code to your View Cart code on every page, just before the "// -->" line in the standard code you obtained from Seller Admin:



function EJEJC_config() {

EJEJC_POSTCALL=true;

}

function EJEJC_shown() {

jQuery("#tdPmnt").attr("innerHTML",

"PayPal checkout accepts payment by <b>credit card</b> or your PayPal account");

}



To accept card-based payments from buyers without a PayPal account, you must have a PayPal Business account that is PayPal Verified, and make sure you set PayPal Account Optional: ON in your PayPal Business account's Profile > More Options > My Selling Tools > Website Preferences screen.

Thanks Guru! That works awesome.



Does the location of the javascript matter (where it goes in the <body>?)

Mine is right after the opening body tag, even though my view cart button

code is toward the bottom tag. It works, so it must not matter, unless it makes

a difference in load time.



Great product and great support....thank you!!

Functionally speaking, you can place the second half of your View Cart code (the script portion) anywhere you wish, separately from the actual button link; ideally for best page-load performance, put it just before the </body> tag as close as possible to that tag, and make sure the line calling our box.js script always comes after the function EJEJC...etc. parts (as provided in Seller Admin).

8 days later

Quick question - I would like to add to the cart:



Sales subject to our terms and conditions



Where the customer can click on a link to read those terms - what code do I need to integrate this in to the cart?

Here is a link to our cart customization page:

1http://www.e-junkie.com/ej/help.custom-cart.htm1



You will want use the option to place custom HTML code in the cart, so it would look similar to this:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=XXXXX&ejc=2" target="ejejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ejview_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("#tdSell").attr("innerHTML",

"Any <b>HTML</b> you want to show");

}

// -->

</script>

<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>