WordPress.org

Forums

WooCommerce - excelling eCommerce
Redirecting user to another URL when 'Add to Cart' button is clicked (1 post)

  1. PaulS416
    Member
    Posted 1 year ago #

    Hi,

    I have two questions regarding WooCommerce (I'm using the Salient custom theme). When my user clicks to add a product to the cart – can I have them also re-directed to another page on my site (i.e: a page which is not the checkout or cart page?

    FYI – For my shopping page, I am not using the default WooCommerce 'Shop Page' or calling the Add to Cart button via shortcode. I have a unique page with some digital products for sale. My version of the Add-to-Cart button code looks like this:

    [button size=”medium” url=”http://www.mysite.com/shop/?addtocart=1413” text=”Select Package” color=”extra-color-1”]

    When the user clicks this button, it successfully adds the product to cart, but I’d like to have them immediately jump to another page as well.

    Second question: how do we get rid of or change the product linkout function in the shopping cart page itself. Currently, when a product in the cart page is clicked on - it takes the user to the Shop Page, instead i want to re-direct them to another page (i.e: Pricing info page).

    Thanks in advance for your help!!

    regards,
    P

    http://wordpress.org/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic