Cart Empty Redirect

Redirects if the cart is empty. Suggested use is to place on your view cart page and redirect customer to a sales page if the cart is empty. If there is something in the customers cart, nothing will happen.

Table of Contents

Parameters

return

This is where the page will be redirected to if there is nothing in the cart.

return="cart/home"

Example

{exp:cartthrob:cart_empty_redirect  return="cart/home"  }