Alberto Bertolini
Forum Replies Created
-
Hi Paolo, I think that given your request you are also Italian, however, I solved it by pasting the code below in the functinons.php file of my child theme.
add_filter( 'flexible_shipping_free_shipping_notice_text', 'wpdesk_flexible_shipping_free_shipping_notice_text', 10, 2 ); function wpdesk_flexible_shipping_free_shipping_notice_text( $notice_text, $amount ) { return sprintf( 'Bastano ancora %1$s per ottenere la spedizione gratuita! %2$sContinua la spesa%3$s', wc_price( $amount ), '<a href="' . esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ) . '">', '</a>' ); }
- This reply was modified 3 years, 8 months ago by Alberto Bertolini.
Greatly solved by Grlola
Tested and works fine, thank you so much.
The first one work fine:
add_filter( 'flexible_shipping_free_shipping_notice_text', 'wpdesk_flexible_shipping_free_shipping_notice_text', 10, 2 ); function wpdesk_flexible_shipping_free_shipping_notice_text( $notice_text, $amount ) { return sprintf( 'Mancano ancora %1$s per ottenere la consegna gratuita!', wc_price( $amount ) ); }
The complete code you gave me above I simply copied and pasted in place of the previous one, forgive me but I’m not a programmer, maybe I need to integrate it with the first one?
Thanks for your patience.Oops, maybe I’m still doing something wrong, I copied the code (twice for safety) and did the test in an anonymous window, but I don’t see the translation, the original text comes out.
Thank you very much, I’m happy for this evening ??
Maybe just put it in the filter of course ??
Well, the site is still in production so now I have tried incognito and it works, I take advantage of your courtesy for one more detail if you can help me understand how to recover the “back to shop” link too, it would be fantastic, thanks anyway.
Hi, thanks for your tip, I applied the code in my child theme function.php file but nothing has changed, maybe I’m putting it in the wrong place?
The first step was update MailPoet to version 3 trought 2,
but after missing some funcionality i have dicide to migrate
to a autoresponder plattform, in my case i chose
GetResponse, basic plan but full of function.
Best regards.I will try to explain my point of View.
A = The point is, if first you release a free version with some feature but, in the new release you cut that functions, it’s sounds like a downgrade.
B = No, I never purchased the Premium plan, just because for me is not convenient.
C = Now I use a complete autoresponder platform for just €12/mont.My modest opinion is, take back the funcionality from the version 2 to version 3 and sell some others special feature (pro template, A/B test, open rate monitor, etc.) like the others famous plugin.
$10. It’s actually not that much money considering:
It’s a joke? I will pay a full autoresponder service, with many other options for 12€/mot.
Forum: Plugins
In reply to: [VoucherPress] translate the formI simply done by swiping your php files