View Single Post
Old 04-09-2012, 06:26 PM
Steve Strickland1's Avatar
Steve Strickland1 Steve Strickland1 is offline
Junior Member
Join Date: Apr 2012
Posts: 13

I used the code above and followed the instructions, but my URL redirect doesn't redirect. It takes the user nowhere.

Here is my code. Not sure what steps I'm missing here...figured it was pretty straight forward:

<script type="text/javascript" src="" charset="utf-8"></script>
<script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3 ,3) list(10) table(20)","categoryView=grid","searchView=list"," style="); </script>
<noscript>Your browser does not support JavaScript. Please proceed to <a href="">HTML version of Steve Strickland's store</a></noscript>
var confirmationPageURL = "";

// Add handler for Ecwid's OnPageLoad event
if (
typeof(Ecwid) == 'object'
&& typeof(Ecwid.OnPageLoad) == 'object'
) {
Ecwid.OnPageLoad.add(function(page) {
// Redirect user if needed
if (
typeof(page) == 'object'
&& 'ORDER_CONFIRMATION' == page.type
) {
window.location = confirmationPageURL;