To offer a product as an Upsell through CopeCart, you must create a special upsell sales page.
There are a few points to keep in mind when creating the Upsell sales page:

  • You should indicate on the page that the first purchase was successful.
  • Present another product of yours (with a special discount if necessary).
    Note: Make the upsell price clearly visible on the page.
  • Give your buyer the option to add the offer to their order or decline it.

In order for the upsell page to work technically and be linked with your CopeCart account, you need to complete 3 steps:

 1. Integrate the following code between the <head> and </head> tags of your upsell page:

<script src="//copecart.com/cdn/v1/upsell.js"></script>

2. Insert the following code before closing </body> tag of your upsell page:

<script>copecartUpsell.run();</script>

Or you can simply call the following function in your Javascript:

document.addEventListener('DOMContentLoaded', function(){
  copecartUpsell.run();
}, false);

If you use jQuery, you can call the next function:

$(document).ready(function() {
  copecartUpsell.run();
});

Important: If you have configured Clickfunnels for your Upsell page, then insert the following script before the closing </body> tag:

<script type="text/javascript">
  document.addEventListener("DOMContentLoaded", function(e) {
    copecartUpsell.run();
  });
</script>

3. Insert the "Yes, I want to buy" and "No, I don't want to buy" links after the product offer on your page:

<a href="" data-copecart-yes>Yes, I want to buy</a>
<a href="" data-copecart-no>No, I don´t want to buy</a>


Did this answer your question?