E-junkie Blog

How To Use E-junkie: Customizing the Cart

Filed under E-junkie Guides
We here at E-junkie, well our development team really, is working on a new overlay shopping cart. The system will still work the same, but it will look different. While the new cart will likely not be made available to users for another month or two here is a sneak peak at what it will look like:

However, if you are using our cart customization the cart will still show up as the “classic” cart with your customization. This also means that you can still customize your cart to change it, as long as you do not mind the “classic” look:

Before we get started I want to just show an example of our standard View Cart code (your code will be different):
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&ejc=2&cl=XXXXX" target="ej_ejc" class="ec_ejc_thkbx" onclick="return EJEJC_lc(this);"><img src="https://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"></a>
<script type="text/javascript">
function EJEJC_lc(th) { return false; };
</script>
<script src="https://www.e-junkie.com/ecom/box.js" type="text/javascript"></script>


Whenever you customize the cart you add your extra coding in between the “function EJEJC_lc(th) { return false; };” and “</script>” lines.

There are a number of customizations you can do to the cart, one of the most common ones we get asked about is adding in a custom logo to the cart. This is something you can do with our customization, but you would need to know the URL of the image file you want to use. Here is what you want the cart code to look like if you are adding in a logo:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&ejc=2&cl=XXXXX" target="ej_ejc" class="ec_ejc_thkbx" onclick="return EJEJC_lc(this);"><img src="https://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"></a>
<script type="text/javascript">
function EJEJC_lc(th) { return false; };
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#imgHeader").attr("src", "http://www.e-junkie.com/ej/images/button-3d.gif");
}
</script>
<script src="https://www.e-junkie.com/ecom/box.js" type="text/javascript"></script>


E-junkie is starting to get more users that are not in English speaking nations and are looking to have the cart be in a different language. While it is possible to customize the cart and change a good portion of the cart, some will always be in English. The following text within the cart cannot be changed:
No.
Item
Remove
Quantity
Amount
Shipping
Total
Checkout

For this example I am going to change out what can be changed with Spanish (please bear in mind that I am not fluent, so if I make a mistake please let us know and we can change the post) as well as use the above customization to change the logo:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&ejc=2&cl=XXXXX" target="ej_ejc" class="ec_ejc_thkbx" onclick="return EJEJC_lc(this);"><img src="https://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"></a>
<script type="text/javascript">
function EJEJC_lc(th) { return false; };
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#btnPP").attr("src", "https://www.paypalobjects.com/webstatic/en_US/i/buttons/PP_logo_h_100x26.png");
jQuery("#country1").attr("innerHTML", "Tu País");
jQuery("#state1").attr("innerHTML", "Código Postal");
jQuery("#state2").attr("innerHTML", "Actualizer Carrito");
jQuery("#dscnt_cd").attr("innerHTML", "Código de Descuento");
jQuery("#discount2").attr("innerHTML", "Actualizer Carrito");
jQuery("#btnContShop").attr("value", "Senguir Comprando");
jQuery("#btnUpdtCart").attr("value", "Actualizer Carrito");
jQuery("#EJEJC_closeWindowButton").attr("innerHTML", "Cerrar");
jQuery("#imgHeader").attr("src", "http://www.e-junkie.com/ej/images/button-3d.gif");
}
</script>
<script src="https://www.e-junkie.com/ecom/box.js" type="text/javascript"></script>


With this customization the cart will look like this:

You can view more options of what you can do to customize the cart one our Cart Customization Help page.

Do you have a question about using E-junkie? You can email our support staff at any time right here.
This page added by E-junkieNinja on January 26th, 2017 @ 12:06 pm GMT -7
Categories

Start 1 Week Free Trial

  • Just $5 per month
  • No setup fee
  • No transaction fee
  • No transaction limit
  • No bandwidth limit
Questions?