New Shopify Certification now available: Liquid Storefronts for Theme Developers

How do I create a URL that adds-to-cart and then redirects to my homepage?

1 0 0

Hi all,

We want target customers on facebook that have added to cart, but not yet purchased, with an offer of a free item. I created a URL that adds the item to cart and takes the customer to the Cart Page as follows:[product_id]&quantity=1 and I also know a different format to send customers directly to the Checkout Page.

I need help if possible please. The above doesn't work well when the customer's items are no longer in the cart. and I would really like to add the item to the cart but have the customer land on our home page instead of the Cart Page.

What is the easiest way to do this? I am new to this so if the URL parameter can't do this, is there another method?

Thanks in advance.

Replies 0 (0)