audbennett
Forum Replies Created
-
Forum: Plugins
In reply to: [User Switching] Block UserOK, thank you!. Can you tell me what the following code is supposed to do? Where is it supposed to show that the user has switched into their account?
if ( function_exists( 'current_user_switched' ) ) { $switched_user = current_user_switched(); if ( $switched_user ) { // User is logged in and has switched into their account. // $switched_user is the WP_User object for their originating user. } }
Forum: Plugins
In reply to: [User Switching] Switch Back Link Not WorkingOK Thank you!
Forum: Plugins
In reply to: [User Switching] Switch Back Link Not WorkingIt’s not clickable.
Forum: Plugins
In reply to: [User Switching] How to Switch Back from WooCommerce Customer account?Hi –
I too would like to be able to switch back. The only place the Switch-Back link appears is in my footer. However, the link is inactive. How can I make that link active?
Thanks.
Forum: Plugins
In reply to: [Advanced Woo Search] Private Products Showing Up In SearchThank you!
Forum: Plugins
In reply to: [Advanced Woo Search] Private Products Showing Up In SearchI’m sorry, I’m a newbie at this, don’t know how to install those files and don’t want to mess with the php myself. If it’s not too much to ask, do you have it in a zipped plugin file that I can just upload? I only need the version before this one.
Thanks,
Forum: Plugins
In reply to: [Advanced Woo Search] Private Products Showing Up In SearchThank you! Will test and let you know.
Forum: Plugins
In reply to: [Advanced Woo Search] Private Products Showing Up In SearchI can say with almost 99% certainty that it did because as soon as we updated we noticed the group protected products were showing up and they never had before. I made a staging site to delete the new version and go back to an old version to test but I didn’t have the files.
Forum: Plugins
In reply to: [WooCommerce] Why both in stock AND can be backorderedHey @voodoochill Thank you so much for the simple fix of this annoying problem.
You pointed us exactly where to find the code in the PHP at
woocommerce/includes/wc-formatting-functions.phpWe simply removed the words “(can be backordered)”. We can now set all of our products to Allow but notify customer regardless of whether the item is in stock or not.
We changed the line of code FROM: $display .= ‘ ‘ . __( ‘(can be backordered)’, ‘woocommerce’ ); TO: $display .= ‘ ‘ . __( ”, ‘woocommerce’ );
So now if an item is in stock it says: In stock
If the item is not in stock it says: Available on backorder.
Clean and simple.- This reply was modified 7 years ago by audbennett.