Add to Cart Redirect

DesignmcDesignmc Registered Users Posts: 4 Beginner grinner
edited September 21, 2004 in SmugMug Support
Hi. I have a weblog which references my smugmug images. I'd like to put an 'add to cart' link on it. But, the problem is that if people click on that, they're redirected to my smugmug gallery rather than back to my blog.

So would it be possible to add a "returnto" parameter to the add to cart URL? I'm thinking something like:
/cart/add.mg?ImageID=8031297&returnto=http://mysite.com/

That way, I can have my blog software create a 'buy' link automatically for me that returns to the right place.

Much thanks,

Matt Constantine

Comments

  • onethumbonethumb Administrators Posts: 1,269 Major grins
    edited September 21, 2004
    Designmc wrote:
    Hi. I have a weblog which references my smugmug images. I'd like to put an 'add to cart' link on it. But, the problem is that if people click on that, they're redirected to my smugmug gallery rather than back to my blog.

    So would it be possible to add a "returnto" parameter to the add to cart URL? I'm thinking something like:
    /cart/add.mg?ImageID=8031297&returnto=http://mysite.com/

    That way, I can have my blog software create a 'buy' link automatically for me that returns to the right place.

    Much thanks,

    Matt Constantine

    This is a great idea.

    The Bulk Add already does this, but it makes sense for the single one to behave this way as well.

    Look for it soon, using the same URL parameter (goTo=) as the bulk add.

    Don
Sign In or Register to comment.