"Broken" links

Home Forums Ticket Products Event Tickets Plus "Broken" links

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33154
    Maria Paz
    Participant

    Hi, during checkout, if I cancel the product/ticket a “return to shop” button will appear. This button is set to go to the SHOP page (Woocommerce selected page for the shop loop in the plugin settings.) Problem is this breaks completely the layout and it is impossible to set the shop page to the events/ calendar link (because it is not a page). This problem is in all the “back” /cancel navigation buttons.
    *edit*
    Same issue as here https://theeventscalendar.com/support/forums/topic/disable-redirect-to-cart-page-after-adding-ticket-to-cart/

    #33177
    Barry
    Member

    Hi Maria,

    So one approach could be to outright change the WooCommerce cart/empty.php template and change the page it links back to there. You could also do this using hooks, so as to avoid hardcoding anything in place.

    The complexity would come in if you are selling a mixture of event tickets and other items, in which case you may not always wish to do this though you could of course have a second button or introduce logic to work through this intelligently (the woocommerce_cart_is_empty and woocommerce_get_{page}_page_id hooks could be handy there).

    In any event, if you are happy to wait and see if we can get an answer to Joe’s question (from the other thread you referenced) then bear with me and I’ll chase up on that one.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘"Broken" links’ is closed to new replies.