Volusion

Important: This is a legacy extension which we are no longer actively supporting.

volusion.com

This is a copy & paste JavaScript integration.
Configuration Instructions
1
Sign into your Rejoiner Account and click Implementation. Copy your Rejoiner Site ID.

2
From your Volusion Admin Panel, navigate to Design > Site Content.
3
Scroll down to Article 117 ShoppingCart.asp, and click on the “117.” After filling in your Rejoiner Site ID and domain, paste the code below into the article using the code  </> view.

 
<script type="text/javascript">
    var _rejoiner = _rejoiner || [];
    _rejoiner.push(["setAccount", "your site ID here"]);
    _rejoiner.push(["setDomain", ".yourdomain.com"]);
    (function() {
        var s = document.createElement("script"); s.type = "text/javascript";
        s.async = true; s.src = "https://s3.amazonaws.com/rejoiner/js/v3/t.js";
        var x = document.getElementsByTagName("script")[0];
        x.parentNode.insertBefore(s, x);
    })();
	$.post("/AjaxCart.asp",function(data) {
		if(data && data.Products && data.Products.length) {
			_rejoiner.push(['setCartData', {
				value: +(data.Totals[0].CartTotal.replace(/[\$,]+/g,"")),
				totalItems: +data.Products.length
			}]);
			$.each(data.Products,function(i,p) {
				var ix = p.ProductIndex, unitPrice = 0;
				unitPrice = +(p.ProductPrice.replace(/[\$,]+/g,"")) / p.Quantity;
				_rejoiner.push(['setCartItem', {
					product_id: p.ProductCode,
					qty_price: unitPrice,
					name: p.ProductName,
					price: unitPrice * p.Quantity,
					item_qty: +p.Quantity,
					image_url: location.origin + '/v/vspfiles/photos/'+p.ProductCode+'-2T.jpg'
				}]);
			});
		}
	},"json");
</script>
	
4
Find Article 116  one-page_checkout.asp, and paste the code below into the </html> view using your own Rejoiner Site ID and Domain.
<script type='text/javascript'>
var _rejoiner = _rejoiner || [];
_rejoiner.push(['setAccount', 'your site ID here']);
_rejoiner.push(['setDomain', '.yourdomain.com']);
(function() {
    var s = document.createElement('script'); s.type = 'text/javascript';
    s.async = true;
    s.src = 'https://s3.amazonaws.com/rejoiner/js/v3/t.js';
    var x = document.getElementsByTagName('script')[0];
    x.parentNode.insertBefore(s, x);
})();
</script>
	
5
Find Article 130, ROI JavaScripts and paste the code below into the </html> view using your own Rejoiner Site ID and Domain.
 
<script type='text/javascript'>
var _rejoiner = _rejoiner || [];
_rejoiner.push(['setAccount', 'your site ID here']);
_rejoiner.push(['setDomain', '.yourdomain.com']);
_rejoiner.push(['sendConversion']);
(function() {
    var s = document.createElement('script');
    s.type = 'text/javascript';
    s.async = true;
    s.src = 'https://s3.amazonaws.com/rejoiner/js/v3/t.js';
    var x = document.getElementsByTagName('script')[0];
    x.parentNode.insertBefore(s, x);
})();
</script>
	

Testing Instructions
1
Walk through the testing guidelines outlined here.
If you offer PayPal as a payment option, please verify that Auto Return is activated by  following these instructions.

Still need help? Contact Us Contact Us