Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #253976

    Febs
    Participant

    Hello there,

    I have few questions that I would like to ask

    • I’d like to know if its possible to add a notification like “Product added to cart successfully” whenever a product is added to cart. Currently whenever I add something to cart there are no notification whatsoever to let the user know.
    • Is there a better way to display products in my homepage other than using widget? if there is, can you guide me how to do that?

    Thanks in advance.

    #253977

    Febs
    Participant
    This reply has been marked as private.
    #254032

    Zeshan
    Member

    Hi there,

    Thanks for writing in!

    #1: You can disable Ajax under Shop > Settings > Products > Display > Add to cart behaviour by unchecking “Enable AJAX add to cart buttons on archives”.

    #2: In that case, you can use WooCommerce products shortcode: http://docs.woothemes.com/document/woocommerce-shortcodes/#section-8

    Thanks!

    #254044

    Febs
    Participant

    Hi there,

    Thanks for responding and for solution number 2. I’ll give it a try.

    However for #1 I would like to use the ajax functionality as it gives much better experience rather than redirecting to the cart page. Do you know which file I need to modify/create so I can add the notification? thank you

    #254124

    Zeshan
    Member

    Hi there,

    Thanks for writing in!

    This is the default behaviour, i.e., if ajax is enabled, the notification will be disabled. It could be possible to achieve your desired results with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.

    Thanks for understanding. Take care!