sillyninja
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Product image Zoom functionality is not workingOk, thanks for the reply.
Forum: Plugins
In reply to: [WooCommerce] Apply free shipping automatically if order is above X amount@zworthkey How can I check cart page hooks? Do you have any code? if yes, could you share that with me, please?
Forum: Fixing WordPress
In reply to: User Switching not showing in user sectionYou said the feature was enabled, by that do you. mean it was working and now it isn’t?
@wvfitzgerald Yes, the feature was enabled, but now it’s not…
Forum: Fixing WordPress
In reply to: User Switching not showing in user sectionHello @wvfitzgerald,
No, User Switching is not installed. I never installed the User Switching plugin, but the feature was enabled. I thought it’s WordPress’s default feature.
Hello @riaanknoetze,
Let me explain it. I am running a WordPress website. On the website, I sell virtual and shipping products. All the products show in the processing tab. I want that if the product is virtual, it should show in “virtual orders” section (I have already created virtual orders) instead of the processing tab.
- This reply was modified 4 years ago by sillyninja.
Forum: Plugins
In reply to: [WooCommerce] How to display total orders made by user on the dashboard?Hello @imazed,
First of all thanks for the reply. Is there any code available that can be added to the function.php to get the desired result?Forum: Plugins
In reply to: [WooCommerce] How to add cash on delivery order in different order status?Thanks!
Forum: Fixing WordPress
In reply to: Add extra email field in wordpress my account pageHello, Thanks for your reply. No, I don’t need to use any plugin for that. Is there code available?
Forum: Fixing WordPress
In reply to: How to hide billing and shipping address from digital goods?Got the code. Thanks!
If you sell downloadable/virtual products and need to simplify your WooCommerce checkout when such product type is in the Cart, you’ve come to the right place!
add_filter( ‘woocommerce_checkout_fields’ , ‘bbloomer_simplify_checkout_virtual’ );
function bbloomer_simplify_checkout_virtual( $fields ) {
$only_virtual = true;
foreach( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
// Check if there are non-virtual products
if ( ! $cart_item[‘data’]->is_virtual() ) $only_virtual = false;
}if( $only_virtual ) {
unset($fields[‘billing’][‘billing_company’]);
unset($fields[‘billing’][‘billing_address_1’]);
unset($fields[‘billing’][‘billing_address_2’]);
unset($fields[‘billing’][‘billing_city’]);
unset($fields[‘billing’][‘billing_postcode’]);
unset($fields[‘billing’][‘billing_country’]);
unset($fields[‘billing’][‘billing_state’]);
unset($fields[‘billing’][‘billing_phone’]);
add_filter( ‘woocommerce_enable_order_notes_field’, ‘__return_false’ );
}return $fields;
}- This reply was modified 4 years, 4 months ago by sillyninja.
- This reply was modified 4 years, 4 months ago by sillyninja.
- This reply was modified 4 years, 4 months ago by sillyninja.
- This reply was modified 4 years, 4 months ago by sillyninja.
Forum: Fixing WordPress
In reply to: How to hide billing and shipping address from digital goods?@joyously No, I am not using any plugin. I want to hide/remove field marked in the snapshot
Forum: Fixing WordPress
In reply to: Send verification mail to user when account is created@prashantvatsh Hello Sir,
Is there no option in WordPress? Sometimes users add wrong email address, that does not exist, to create an account, so I wanna that user can’t access the website until they click on verification link sent to their email id.