• HI all,

    I’m currently making a website for an upcoming group of events and I’m using WooCommerce and SagePay to handle the payment of tickets. The theme I’m using (Borderland) has a template for a pricing table and the option for a button that serves as a ‘buy’ button. The way the website is set out would mean it would be detrimental for this button to send the user to the WooCommerce product page.

    Is there a way I can make this button add tickets to the user’s cart?

    Here’s a link to an event page
    https://www.thecambridgeroar.co.uk/afternoon-tea/

    Thank you!

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Hey Creativeminds123,

    I see you have already made the buy button add to cart. Well done – But here is a better way. You had changed the URL for the button when clicked to the following.

    In your case you initially used:
    https://www.thecambridgeroar.co.uk/afternoon-tea/?add-to-cart=51236

    This is OK to a point but just take note from the User Experience (UX) point of view, there will be no ‘notification‘ that then lets the user know that this has been added to the cart, so you may have a user clicking multiple times expecting something to happen. They may not notice the small shopping cart icon top right and that they are actually adding the item multiple times to their cart.

    What you could change the URL of the button to is the following which will make for a MUCH better user experience.

    A better way, that should convert more sales:
    https://www.thecambridgeroar.co.uk/cart/?add-to-cart=51236

    The above code will add the item to the cart as before but also redirect the user to the cart page, leaving the user now only to checkout. ??

    For someone else reading this thread that is wanting to do this on their site:
    https://www.YourWebsiteURL.com/cart/?add-to-cart=WOO-PRODUCT-ID-NUMBER

    Hope this helps.

    Take care,

    Jason

Viewing 1 replies (of 1 total)
  • The topic ‘Making an existing button add products to your cart’ is closed to new replies.