5 / 5
Jul 2013

I am attempting to customize the cart based on information contained at: http://www.e-junkie.com/ej/help.custom-cart.htm Despite my best efforts, I'm unable to get the cart to change from the default parameters.



Here's the code I'm using:



<a href="1https://www.e-junkie.com/ecom/gb.php?c=cart&cl=253866&ejc=21" 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() {

// Change the pixel width of the cart window:

EJEJC_WIDTH = 720;

// Change the pixel height of the cart window:

EJEJC_HEIGHT = 500;

// Change the border color of the cart window (e.g. #009 for blue):

EJEJC_BRDRCOLOR = "#009";

}

// -->

</script>

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



The site is currently located at: 1http://theriverleven.com/1

(Site in development, so it's really ugly!)

  • created

    Jul '13
  • last reply

    Jul '13
  • 4

    replies

  • 1.5k

    views

  • 2

    users

  • 7

    links

Your customizations appear to be working fine for me. After you edit your page, you may need to force-refresh that page in your browser (hold down Ctrl on PC or Shift on Mac while you click Refresh), to make sure it downloads a fresh copy of the page instead of showing you an old copy of the page it cached from a previous visit.

Thanks. I was able to get the change to work.



Now I've edited the code to try to add text next to PayPal checkout logo, as well as change logo. But this also doesn't seem to be taking effect and forcing the refresh doesn't seem to work. Even tried another browser, but no difference. I assume there's a problem in the code, but can't see it. Thanks for any suggestions.



-----------



<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=253866&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() {

// Change the pixel width of the cart window:

EJEJC_WIDTH = 720;

// Change the pixel height of the cart window:

EJEJC_HEIGHT = 450;

// Change the border color of the cart window (e.g. #009 for blue):

EJEJC_BRDRCOLOR = "#009";

// Add this line if you want to use EJEJC_shown function (next section below):

EJEJC_PLAYNICE=true;

EJEJC_POSTCALL=true;

}

function EJEJC_shown() {

// Change the PayPal checkout button image:

ejejc_jQuery("#btnPP").attr("src", "http://www.warmglass.com/WGLogoGX.gif");

// Add custom text or HTML next to checkout buttons in the cart:

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

"<p>You can use Visa or Mastercard with PayPal</p>";

// Add custom text or HTML below checkout buttons in the cart:

ejejc_jQuery("#tdSell").attr("innerHTML",

"You can use Visa or Mastercard with PayPal");

}

// -->

</script>

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

Ah, you're missing a ")" in this part:



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

"<p>You can use Visa or Mastercard with PayPal</p>");



I've added the missing ")" there, so you can see where it goes.