Posted: December 8, 2015 at 2:56 am
|
Can the text on the cart be less wordy? – http://screencast.com/t/jug3M18I8xIU Can’t see the change on the .po/.mo files, or a filter. |
Hello Meredith, You can use this custom function to change the text strings: That code can be placed in your wordpress-theme/functions.php file, or in a custom site specific plugin. Please let us know if you have any further questions. |
|
|
Thanks Seth, that hasn’t worked for me. Any ideas why?
|
Hi Meredith, That area is from multiple strings that are being combined and I’ve created a ticket so we can simplify the messaging. For now, you can set these strings to an empty value using the gettext filter: Pre-Tax Subtotal — |
|
|
Thanks Lorenzo, is this what you mean by empty strings?
|
Yes, that looks correct and will set those to not appear leaving the remaining text. — |
|
|
I’ve ended up with this – http://snag.gy/3Tb2V.jpg and I would like this please; |
Hi Meredith, We did some work on the Multi Event Registration add-on today and released an update that includes a change so the extra wording has been removed. With the new version, they look like this: If you want to change the labels to be Pre-Tax Subtotal and Grand Total, we’ll have some new hooks available in another upcoming release of the MER plugin. |
|
|
Thanks Josh, let me know the hooks for the upcoming release when the time is right. Thank you. |
I can let you know when it’s ready. |
|
Hi Meredith, The latest version of the multiple event registration add-on corrects this messaging. If you haven’t already updated then could you update and confirm that this fixes the messaging for you? — |
|
|
Thanks Lorenzo, the update has improved the basket. How can I change ‘The Event Cart is empty’ also, to replace with ‘The Basket is empty’? Tried the .mo file and no change. |
Hi Meredith, Would you happen to already be using this filter? FHEE__EED_Multi_Event_Registration__set_definitions__event_cart_name It sets the wording which is used which defaults to Event Cart. Here is an example that is ready to go: https://gist.github.com/joshfeck/ff986f3e848a2b910c47 Just add that to your child theme’s functions.php file or via a site specific plugin. Then change cart to Basket and save changes. — |
|
|
Yes Lorenzo, I’ve already got the filter in place, and its not working. Is there a different filter? |
Hi Meredith, I made a mistake thinking the Event Cart messaging would be re-used there. Here is a solution that I’ve verified: https://gist.github.com/lorenzocaum/5c140a0145ba4be54895 — |
|
|
Perfect, thank you! |
Hey Meredith, That function Lorenzo has linked to will changes all instances of ‘Events’ to whatever you place there, meaning Event Espresso -> Events would also change. Try using this one: https://gist.github.com/lorenzocaum/5c140a0145ba4be54895 That function specifically targets that string within the cart. |
|
The support post ‘Cart/Basket wording’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.