Lost income due to COVID-19? E-junkie is providing 1 year free accounts to sell anything, anywhere. Click Here for more details.

Customizing E-junkie

Intercepting the checkout button to redirect to another page

To do this, you need to be selling from your own Web site and using our standard shopping cart HTML button codes—note that our Add to Cart Text Links, or Buy Now or Product Page buttons/links will not work for this—and make sure that our shopping cart appears as an overlay within your own sales page when a Cart button is clicked. To get this overlay-style cart display, you need to paste one copy of our Cart Script code into each sales page of your site. You can copy that Cart Script code from your E-junkie Dashboard under Manage Products > Get Purchase Buttons/Links—select Cart as the button type, copy the Cart Script code provided there, and paste that into every sales page on your site where you have any E-junkie Cart buttons.

Then you can paste this extra code into every sales page where you want to intercept clicks on the checkout button in your overlay cart:

<script>
var EJConfig = {}
EJConfig.onProceedToPayment = function(res, cb){
window.location.href = "http://www.example.com/folder/page.html"
return;
}
</script>

Just replace the http://www.example.com/folder/page.html there with the actual URL of the landing page you want buyers redirected to when they click checkout. Of course, you'd omit this intercept code from that landing page, so the checkout button there would work normally.