Redirect to the cart/checkout page - by ejder077

This topic has 6 replies, 2 voices, and was last updated 4 years, 4 months ago ago by Olga Barlow

  • Avatar: ejder077
    ejder077
    Participant
    June 9, 2020 at 06:46

    Hello,

    May I ask how can I redirect the page to the cart/checkout page directly after clicking the “Add to cart” button?
    https://ibb.co/b7PY9Vg

    Thank you

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 9, 2020 at 11:33

    Hello,

    Go to WooCommerce > Settings > Products > Add to cart behaviour > Redirect to the cart page after successful addition > On.

    Regards

    Avatar: ejder077
    ejder077
    Participant
    June 9, 2020 at 13:16

    It is on but there is no change

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 9, 2020 at 23:33

    Hello,

    You are using Massive Addons Add to cart button element and it seems that this element does not have option to disable Ajax add to cart for the mentioned redirect. Try to use the default WooCommerce shortcode to add the Add to cart button https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-19

    Regards

    Avatar: ejder077
    ejder077
    Participant
    June 29, 2020 at 15:59

    May I ask where should I paste these codes?
    https://ibb.co/C02H2vB

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 29, 2020 at 18:26

    Hello,

    You can use simple WPBakery text element to add shortcode. And the arguments that are listed there you can use in the shortcode if you need them, for example

    [add_to_cart id="99" style='border:4px solid #ccc; padding: 12px;" show_price="TRUE"]

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.