May 19,2017 9 min read
One of the nice things about E-junkie is that since we provide our button codes in basic HTML code you are able to customize it to better fit you site. This is one reason why we say that knowing a little code is a good thing.
A few weeks back we explained how to customize the cart itself, but you can also customize the buttons that appear on your site.
Here is an example of our standard Add to Cart button code:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&ejc=2&cl=XXXXX&i=XXXXX" target="ej_ejc" class="ec_ejc_thkbx" onclick="return EJEJC_lc(this);"><img src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"></a>This is the the image URL portion of the code, and the part that will be changed to change what the button looks like:
https://www.e-junkie.com/ej/ej_add_to_cart.gifSo, for example say you want to use this image, which I created and is on our SSLPic site:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&ejc=2&cl=XXXXX&i=XXXXX" target="ej_ejc" class="ec_ejc_thkbx" onclick="return EJEJC_lc(this);"><img src="https://static.e-junkie.com/sslpic/173095.138f5b5e6ad1de215e26130db1c8ea70.gif" border="0" alt="Add to Cart"></a>Beyond changing the appearance of the button, you can also change the behavior of the button and have the button add additional information to the purchase. Say for example you want to add a custom variable for the order (If you want to have product specific variables, you should really look into using our Variables and Variants features). You can add a little extra code, just “&custom=X” to the end of the purchase URL. Say for example you sell from multiple sites, lets call them A, B & C, and you want to track which site does better you can setup the purchase URL of the buttons like so:
The information added in with the custom variable will be included in the log and the order details. It is limited to 255 characters and we suggest sticking to letters, numbers, dashes, dots and underscores. This can also be used in connection to some coding on your website so if people select other options on your site you can setup the code to add a different variable, but that extra coding would need to be setup by you or your web-developer.
There are more advanced customizations that you can do as well, if you feel comfortable with the coding required.
Below is a list of codes for Add to Cart and View Cart buttons in I created in different languages. Please keep in mind that these are not official E-junkie button images, and as I am not a linguist I may have made mistakes (sorry). The Add to Cart codes are on the first line, the View Cart on the second line.
Castilian Spanish: https://static.e-junkie.com/sslpic/173097.500b7a571b99cb311782c4532fd6de02.gif
Mexican Spanish: https://static.e-junkie.com/sslpic/173099.4df296eda3e94e74dee5901837851c74.gif
Do you have a question about using E-junkie? If so you can contact our support staff at any time by clicking here.
E-junkie is a service of Sine Info Ventures Pvt. Ltd.© 2004-2018. All rights reserved.