luizgustavs
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] trigger new account emaili understand you point, but for my perspective i was asking support for WC, i asked to trigger a WC core function by using a code snippet in a certain condition, is not about any other plugin, only trigger a WC funcion.
Forum: Plugins
In reply to: [WooCommerce] trigger new account emailWell, as i said, use the wc registration form is not an option because there is another plugin handling the user registration, i just would like to trigger WC’s new account email even when the account is being made by the default wordpress system or by another plugin.
The good news is that i got a solution, i will leave here.
if someone one day needs a solution like that, this simple code worked for me:
function send_welcome_email_to_new_user($user_id) { $wc = new WC_Emails(); $wc->customer_new_account($user_id); } add_action('user_register', 'send_welcome_email_to_new_user');if there is any suggestion ou someone wants to improve this little code, would be nice!
Forum: Plugins
In reply to: [Juno para WooCommerce] Cannot convert access token to JSONSim, eu consegui uma solução, bem boba na verdade, eu exclui as tokens que haviam e gerei novas tokens na plataforma da Juno, sendo API V2, Client ID, Client Secret, Token Privado e Token Publico, as novas tokens funcionaram perfeitamente sem necessitar de qualquer manutenção adicional.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Share buttons not showing on wishlist pagerename share.php.back make the buttons appaers, but they are getting the wrong URL, i will try solve this from here by my self or with porto suport. Looks a good start, thanks mate! Nice plugin!