sadeeke
Forum Replies Created
-
@wpclever okay, I see. Thank you for pointing that out. Still, the improvement would be nice for products that has the same price despite the color. That’s where “any” comes in.
@wpclever I just realized that when an item gets saved for later, I have to reselect the attributes all over again when moving it back to cart. Can this be fixed as well?
eg: if an XL shirt was saved for later, when adding it back to cart, I’m redirected to the product page instead to reselect the size. I made sure to do a thorough check this time around. That seems to be the only remaining flaw.
@wpclever I just tried the update. Light weight and has all the functions; 10/10 plugin!
Thank you for this creation.Forum: Plugins
In reply to: [SCM - Smart Currency Manager] Shortcode for currency PluginThe short code works for showing the widget but whenever I choose a different currency from the drop down nothing happens.
I already found a way to work around the short code thing. I’ll just create a menu and navigate the SCD dropdown there using the plugin. I won’t use the short code.
*UPDATE* @niklasinpsyde
I added a snippet that made all countries zip/postal code required:// Make Postal Code Required for all Countries add_filter('woocommerce_get_country_locale', function($locales){ foreach ($locales as $key => $value) { $locales[$key]['postcode']['required'] = true; } return $locales; });
The code worked but the error is still there so I have a question; Did you guys disable the function that caused optional zip code fields to not be recognized or did you straight up abandon us? Because I tried USA and it was working but when I tried Jamaica after making the zip code field required, the error was still present. Is there a solution to this?
- This reply was modified 3 years, 1 month ago by sadeeke.
Yes, finally I’m getting somewhere. I am currently operating in “Jamaica”, which has an optional zip code field. I’m assuming I need to change that field from “optional” to “required”? But is there any other way to fix this this at the moment? @niklasinpsyde
Forum: Fixing WordPress
In reply to: I want to disable WordPress welcome emailsNah, I used a code to customize the email instead, @piperpeninfo
- This reply was modified 3 years, 2 months ago by sadeeke.
Thanks for reaching out @mbrsolution. I spoke to my hosting provider who helped me to set up a SPF in Cloudflare. Was told to a wait a while before this takes effect so I’ll be giving it some time.
Forum: Fixing WordPress
In reply to: I want to disable WordPress welcome emailsSorry for pinging you like this @jaykpatel. I just reached out to my hosting to check on this more and after checking with a few specialists they said there’s something wrong with the code. I don’t know if this helps but my website prefix is K45_ . I don’t know if you have noticed but I am not good with functions, hooks and all those things I read on the page. Can you point out what I’m doing wrong since it’s working for you?
Forum: Fixing WordPress
In reply to: I want to disable WordPress welcome emails@jaykpatel I did the troubleshoot by disabling all the plugins except for elementor, essential addon for elementor, atomatewoo and woocommerce since they are used for the email process and elementor is used to create the register page. @olgabulat your code worked for me to customize the email so maybe you can help me with this please?
Forum: Fixing WordPress
In reply to: I want to disable WordPress welcome emails@jaykpatel I’ll run the troubleshoot tomorrow because it’s currently really late, and in case you missed it; this is the code I added to my functions.php file:
function K45_disable_new_user_notifications() { //Remove original use created emails remove_action( 'register_new_user', 'wp_send_new_user_notifications' ); remove_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 ); } add_action( 'init', 'K45_disable_new_user_notifications' );
Forum: Fixing WordPress
In reply to: I want to disable WordPress welcome emails@corusx @olgabulat @jaykpatel @pidengmor Just so I’m clear because I think you are all confused. I am not trying to disable the new user registered email sent to the admin (me). I am trying to remove the welcome email that is sent to the customer after registration. I already have a plugin called “automatewoo ” doing that so I want to disable the one sent by WordPress without adding anymore plugins to my site.
- This reply was modified 3 years, 3 months ago by sadeeke.
Forum: Fixing WordPress
In reply to: I want to disable WordPress welcome emailsHey @olgabulat it’s true that I received suggestions but none of them are working. I’m still kind of new to this whole functions thing so maybe I am doing something wrong. I pinned you because the code you gave the individual for customizing their email is working perfectly fine for me, which is why I figured you’d know how to disable it as well. If you don’t remember the code I am talking about here it is:
/** * Plugin Name: Welcome Email */ add_filter('wp_new_user_notification_email', my_new_user_notification_email, 10, 3); function my_new_user_notification_email($wp_new_user_notification_email, $user, $blogname) { $message = "Write your message here" . "\r\n\r\n"; $wp_new_user_notification_email['message'] = $message; $wp_new_user_notification_email['headers'] = "From: Your Name<[email protected]>"; return $wp_new_user_notification_email; }?>
- This reply was modified 3 years, 3 months ago by sadeeke.
Forum: Fixing WordPress
In reply to: I want to disable WordPress welcome emails@jaykpatel I see. However I contacted my hosing and got my website prefix as @pidengmor suggested and I replaced it with the
xx_
. Still, nothing worked. The code now looks like this after adding the website’s prefix, please tell me if there’s something wrongfunction K45_disable_new_user_notifications() { //Remove original use created emails remove_action( 'register_new_user', 'wp_send_new_user_notifications' ); remove_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 ); } add_action( 'init', 'K45_disable_new_user_notifications' );
Forum: Fixing WordPress
In reply to: I want to disable WordPress welcome emails@jaykpatel I see, and this will disable the email sent by WordPress and leave the Woocommerce welcome email right? Also, can I just copy and paste this in my theme functions.php file?
(EDIT)> I added the code and WordPress default welcome email is still sending. To clarify this more, this is what the email I’m trying to stop is saying:
Username:
To set your password, visit the following address: