Enable mini cart off canvas panel to shows automatically after pressing "Buy"

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

  • Avatar: zaza13
    zaza13
    Participant
    October 14, 2020 at 21:51

    Hi, I want to set the mini cart off canvas panel to shows automatically when the “Add to cart” button is pressed.
    Similar like redirecting to the Cart page when the button is pressed.
    I have seen this feature to another website.
    Can you please advise how to do it?
    Thank you.

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 15, 2020 at 12:34

    Hello,

    You have variable products and it does not use the Ajax add to cart to show the mini-cart after adding. Unfortunately, we don’t have Ajax add to cart option for the variable products in our theme, only for simple products. You may try third-party plugins to add the Ajax add to cart for the variable products https://wordpress.org/plugins/woocommerce-ajax-add-to-cart-for-variable-products/ or https://wordpress.org/plugins/woo-ajax-add-to-cart/

    Regards

    Avatar: akromatic
    akromatic
    Participant
    December 12, 2020 at 23:31

    Hello Olga,

    I have newly purchased and installed xstore and wondering why mini-cart does not open by “add to Cart” some variable products. On your demo Page it works for variable products also:
    https://xstore.8theme.com/demos/2/electron02/
    Is there also installed a separate plugin?
    For me it is not working neither for simple nor variables products. I see only Banner on top right that the product was added to cart.
    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 13, 2020 at 08:49

    Hello Akromatic,

    Thanks for using XStore.
    Ajax add to cart doesn’t work for variable products on the demo – https://prnt.sc/w1kwc3
    Go to Theme Options > Woocommerce (Shop) > Shop > Shop page layout > Product Added Notification > Off. Theme Options > Header builder > Cart > Mini-Cart Type > Off-Canvas

    Regards

    Avatar: akromatic
    akromatic
    Participant
    December 13, 2020 at 19:49

    Hello,
    thanks for feedback.
    I can not follow you. I can see that on your demo page it is working when you add to cart directly:

    https://imgur.com/NfdaHSc
    https://imgur.com/1P7klfU

    Is therefor another plugin installed or can I use this in Xstore (outofthebox)

    But now it is working. After I have unchecked “Product Added Notification” > Off now the minicart shows after adding the product.

    But why it shows only when you are on the shop page (not the item detail page)?
    regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 14, 2020 at 16:22

    Hello,

    You may try third-party plugins to add the Ajax add to cart for the variable products on the single product page https://wordpress.org/plugins/woocommerce-ajax-add-to-cart-for-variable-products/ or https://wordpress.org/plugins/woo-ajax-add-to-cart/

    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.