Customizing your purchase buttons
Changing the Appearance
All E-junkie button codes provide an image reference, which looks like and can be customized by one of the following:
You can replace the
https://www.e-junkie.com/something.gif part with your own image's URL OR you can simply replace the whole
<img.../> tag with text if you don't want an image button.
<input type="image" src="https://www.e-junkie.com/something.gif"/>
You can replace the
https://www.e-junkie.com/something.gif part with your own image's URL
NOTE: You should not customize the button image used for any Google Checkout Buy Now button code we provide, as that may violate their policies and the terms of your agreement with them, leaving your account subject to suspension; the standard button images we provide in our Buy Now code for Google Checkout are fully compliant with their policies and terms.
NOTE: You need some basic understanding of HTML in order to do what is required here. To pass the parameters described below, you can simply hardcode them into the button's
All Cart and Buy Now button codes provided by E-junkie contain a purchase link URL which looks basically like this:
...where XXXXXX is the item number and YYYYY is your E-junkie client account ID (your actual URLs will have some additional parameters which determine whether the URL works as a cart or a Buy Now button).
To pass a custom variable for the full order:
&custom=value_you_want_to_pass at the end of your Add to Cart or Buy Now buttons' purchase link URL. This will be passed back to you in the Sale Notification email and transaction log, as well as your Integration URL and/or keygen URL (if configured), and you can choose to display it in your Thank-you Page and/or Thank-you Email as well.
Although this custom value is passed to the cart by clicking an Add to Cart button, the custom value itself is only associated with the whole order, rather than any particular item in the order, so there can be only one custom value per order. If more than one button has a Custom value, only the Custom value of the last button clicked will be passed with the order. If you need to pass the same custom value regardless of which Add to Cart button(s) the buyer clicks, make sure you append the custom parameter to the URL of every Add to Cart button the buyer might use that could pass the custom value into the cart.
You would normally use Variants or Variations for that, but E-junkie only allows upto 6 options values to be passed in our buttons (up to 3 menus for "Variants affecting price/weight/stock/SKU", and/or up to 3 menus or text fields for "Variations which tell more about the product"). Information such as buyer name, email, and address can be collected during checkout if you enable the Shipping/Buyer's Address setting for your product(s) (even if you won't actually be using our shipping calculation feature).
If you need more fields, then with some additional custom scripting at your end, you could have additional menus/fields on your page that would get concatenated (strung together) into the max. 3 Variations fields that can be passed into the cart by dynamically appending them to the button URL, as shown below. This would also work if you need to pass some Variations values to checkout automatically without manual buyer input:
(This string can't be more than 200 characters. If that's not enough, you can add the following.)
(These strings can't be more than 100 characters each.)
This will ONLY work for E-junkie ADD TO CART buttons and E-junkie Buy Now buttons for PayPal. Note that every
os# (option selection) value needs to be accompanied by a matching
on# (option name) value.
- E-junkie Add to Cart buttons:
&amount=amount_you_want_to_pass at the end of the purchase link URL in your Add to Cart button. This amount will be added to the price you have set in admin, so buyers will be shown the combined price.
- E-junkie Buy Now buttons:
&amount=amount_you_want_to_pass at the end of the purchase link URL in your button. This amount will override the price you have set in admin.
N is your desired quantity) at the end of the purchase link URL in your button code. Passed quantity will be ignored if you have set item price as 0.00 in Admin, as free products are limited to orders of 1 unit at a time. You can also disable the Let buyer edit quantity setting for the product, e.g. if you want buyers to add more than 1 unit to their cart without allowing the buyer to edit it back down to 1 nor adjust the quantity any higher.