kraky9
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Email Template SubjectFor, example, this string does not appear on the Loco Translate so I can translate it:
Forum: Plugins
In reply to: [WooCommerce] Email Template SubjectI am using Loco Translate, however the plugin cannot translate the strings from those text fields on the Woocommerce settings dashboard, only from the email templates, that’s why I was asking for a way to edit an email subject on the template directly, which I think is something that makes sense though, however I don’t know how to do it.
Forum: Plugins
In reply to: [WooCommerce] Email Template SubjectI don’t want to use those fields because I am trying to translate the emails to others languages and strings from those fields are not translatable, only strings from the code of the email templates.
Forum: Plugins
In reply to: [Loco Translate] Woocommerce Emails TranslationI have not synced the POT file, how can I do that?
Forum: Plugins
In reply to: [Loco Translate] Woocommerce Emails TranslationI’ve tried doing that and still not working. Maybe I’m missing something?
Check screenshots:
Screenshot 1
Screenshot 2
Screenshot 3- This reply was modified 4 years, 4 months ago by kraky9.
Forum: Plugins
In reply to: [Loco Translate] Woocommerce Emails TranslationI’ve gone through the documentation and I still do not understand how can I define a text domain to a “child plugin” (not sure if this is what I need). My child theme already has a text domain defined and it’s working but I don’t think that’s what I need because I tried adding the strings to the file with the child theme’s text domain and they still do not show up. Just to be clear the path of the file that I am adding the strings to is: themechild/woocommerce/emails/customer-on-hold-order.php
So how can I solve this?Thank you for your help!
Forum: Plugins
In reply to: [Loco Translate] Woocommerce Emails TranslationI know that you are referring to the additional content boxes that you can add extra strings, but I am not talking about those. I have overridden the Woocommerce email templates on my child theme and added a few additional phrases using the esc_html_e() function, however they are not appearing on the Loco Translate plugin so I can translate them.
Forum: Plugins
In reply to: [WooCommerce] Translating Custom Woocommerce Email TemplatesCould you please clarify what you mean? Because I have tried everything and wasn’t able to work it out. The strings never appear on the Loco Translate plugin.
Thank you for your time!
Forum: Plugins
In reply to: [WooCommerce] New User Role issueYes, that worked. Thank you
Forum: Plugins
In reply to: [WooCommerce] Disable Proceed to Checkout buttonHi,
Thank you for the response.
Yes that would work, but how would I add the css code for the button inside a function in the functions.php?
Thank you
Forum: Plugins
In reply to: [WooCommerce] Hide original price when on saleProblem is fixed with a plugin.
Forum: Plugins
In reply to: [WooCommerce] Hide original price when on saleI have tried that, however, nothing worked.
Forum: Plugins
In reply to: [WooCommerce] Disable Proceed to Checkout buttonI simply used: remove_action( ‘woocommerce_proceed_to_checkout’,’woocommerce_button_proceed_to_checkout’, 20);
Forum: Plugins
In reply to: [WooCommerce] Disable Proceed to Checkout buttonI haven’t added anything, it comes with Woocommerce, as you can see here on this Woocommerce demo store: https://themes.woocommerce.com/storefront/cart/
It’s through the aria-disabled feature.
- This reply was modified 4 years, 7 months ago by kraky9.
add_filter( 'woocommerce_nif_field_required', '__return_true' ); add_filter( 'woocommerce_nif_field_class', '__form-row-wide' ); add_filter( 'woocommerce_nif_field_placeholder', '__return_false' );
Seria algo deste género? Est?o a funcionar, no entanto está-me a aparecer um warning:
“Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘__form-row-wide’ not found or invalid function name.”E já agora como altero o nome do campo para NIF apenas?