Home › Forums › Ticket Products › Event Tickets Plus › Return to Shop
- This topic has 8 replies, 3 voices, and was last updated 9 years, 6 months ago by Geoff.
-
AuthorPosts
-
November 16, 2014 at 8:26 am #886914hmendezParticipant
I have found the instructions on how to change the Return to Shop button to link back to Return to Events. I have replaced the code on cart-empty.php, but still doesn’t work. Still shows Return to Shop. Help?
November 16, 2014 at 8:33 am #886925hmendezParticipantThis is the code I replaced it with:
<p class=”return-to-events”>“><?php _e( ‘Return To Events’, ‘woocommerce’ ) ?></p>
November 16, 2014 at 8:34 am #886927hmendezParticipantActually I used this one:
<p class=”return-to-events”>“><?php _e( ‘Return To Events’, ‘woocommerce’ ) ?></p>
November 16, 2014 at 9:49 am #886976DirkParticipantHi,
I cannot help you with code etcetera but I fixed that problem with a redirect. This can be done with a very lightweight redirect plugin. example: https://wordpress.org/plugins/redirection/
Just let url where woocommerce is sending you towards the event calendar.
November 17, 2014 at 8:56 am #887879GeoffMemberThanks for chiming in, musician4you! that sounds like a solid solution. Will that work for you, hmendez?
I do want to note that this is a customization to a WooCommerce template and function and referring to their documentation might be a more solid starting point.
That said, you might also consider using the literal URL of your Events page as well (e.g. /events) instead of a PHP function.
Cheers!
GeoffNovember 18, 2014 at 6:50 am #889060hmendezParticipantI appreciate both answers. I am still in the dark, though, as I am a beginner when it comes to coding. I will keep trying.
Thanks again.November 18, 2014 at 7:49 am #889132GeoffMemberHi there hmendez, thanks for following up!
I did a little searching and perhaps the answer on this site will help you out? There is also a similar question with answers in the WooCommerce support forum that may help as well
I’ll go ahead and leave this thread open a while longer to see if any other thoughts or ideas come up. In the meantime, please share your solution if you find one–it could come in handy for others looking for something similar.
Cheers!
GeoffNovember 18, 2014 at 6:59 pm #889917hmendezParticipantFor now, I was able to change the Shop url with the Events one, which is the one I wanted. I use the redirection plugin, thanks musician4you!! Thanks also to Geoff for responding. 🙂
November 19, 2014 at 5:36 pm #891373GeoffMemberAwesome! Thanks for following up and sharing. That sounds like a solid solution to get it done.
I’m going to go ahead and close this thread, but please feel free to hit us up with a new thread if any other questions pop up. We’d be happy to help. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Return to Shop’ is closed to new replies.