Demo

   
Documentation
Video preview on Youtube
  WC 8.0.2 tested
{#item-description__demo-documentation-video-preview-on-youtube-wc-8-0-2-tested}

WooCommerce Redirect To Page or URL on Add To Cart – Direct Checkout or Skip Cart plugin lets you redirect the user to a page on your website or internal/external URL on add-to-cart button. You can enable this redirection for all or selected products. You can also control add-to-cart button behavior – whether it adds product to cart or not, whether it shows “product has been added to cart” message or not. You can also change the add-to-cart button label for all or selected products for both archive (e.g. shop page) and single product pages regardless of whether redirection is turned on for it or not.

Some use cases:

  1. The default WooCommerce checkout flow expects user to navigate from shop/single-product page to cart page to checkout page. This navigation results in a slow and cumbersome checkout experience for the user and often makes the user leave your site without any purchase (a.k.a. abandoned cart). For these reason, you want to provide a faster checkout experience to your users by automatically redirecting them to the checkout page after the product is added to cart.
  2. You want user to fill out a form or read terms&conditions before/after the product is added to cart. You want to achieve it by redirecting the user to a purpose-built page on your website after add-to-cart button is clicked.
  3. You want to use an external checkout service – may be, you own multiple stores and want to redirect the user to the other store or you are an affiliate and want to earn commission on variable/grouped products by redirecting the user to external website.

Features

  • For all or selected products
    • Enable redirection on add-to-cart button
    • Set custom label for add-to-cart button
  • Redirection
    • Redirect to a page on your website
    • Redirect to any URL – an internal or external URL
    • Skip addition to cart (helpful when you redirect the user to an external URL)
    • Hide “product has been added to cart message” (helpful when you redirect the user to checkout page)
    • Works when WooCommer setting “Enable AJAX add to cart buttons on archives” is enabled.
    • Works when WooCommerce setting “Redirect to the cart page after successful addition” is enabled.
  • Global and Product level settings
    • Override global settings at product level or just configure at product level

Usage

  • Configure all products

    • Open global settings as descirbed in documentation.
    • Enable configuration to configure all products of your store and based on your requirements:
      • Enable redirection to redirect the user to a page or URL on add-to-cart button.
          – Select a page of your website or input URL as the target of add-to-cart button.
          – Select whether to add the product to cart or not on add-to-cart button. You may like to not add the product to cart when redirecting to an external URL.
          – Hide the notice WooCommerce shows to confirm product addition to cart. You may want to hide this notice if you are redirecting the user to the checkout page for an immediate checkout.
      • Set a custom label for add-to-cart button. You can leave this input blank to use the default label that WooCommerce gives to add-to-cart button.
    • Save changes.
  • Configure individual product or override global settings for that product

    • Open product settings as descirbed in documentation
    • Same settings as at global level.
    • Save product.

Note, External products can not be added to cart. That’s why both global and product level settings will not be applied to them.

FAQS

Q. What if settings of a Grouped product are different from the settings of its child product(s)?
A. Grouped product settings will be used.

Q. Does settings of a Variable product apply to all of its variation?
A. Yes.

Changelog

2023-05-30 – Version 1.2.1

  • Tested with PHP 8.2.5, WordPress 6.2.2, WooCommerce 7.7.0
  • Declared dynamic properties in class to avoid deprecation notice (dynamic properties are deprecated in PHP 8.2)

2022-11-27 – Version 1.2.0

  • Added Dokan multi-vendor marketplace support

2022-11-03 – Version 1.1.0

  • Added multisite support

2022-02-15 – Version 1.0.0

  • Initial Release