Trung Nguyen
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Disable shipping methods?try Code Snippets for WC 2.6+ in above article with your “Cakes Collection” category:
(put it to functions.php of your childtheme/theme)if ( ! is_category( your-category-id ) ) { /** * Hide shipping rates when free shipping is available. * Updated to support WooCommerce 2.6 Shipping Zones. * * @param array $rates Array of rates found for the package. * @return array */ function my_hide_shipping_when_free_is_available( $rates ) { $free = array(); foreach ( $rates as $rate_id => $rate ) { if ( 'free_shipping' === $rate->method_id ) { $free[ $rate_id ] = $rate; break; } } return ! empty( $free ) ? $free : $rates; } add_filter( 'woocommerce_package_rates', 'my_hide_shipping_when_free_is_available', 100 ); }
Cheer
- This reply was modified 7 years, 10 months ago by Trung Nguyen.
Forum: Plugins
In reply to: [WooCommerce] Special Type of Handling FeeOr you can get the understanding of Box Packing Calculations.
https://docs.woocommerce.com/document/understanding-box-packing-calculations/Forum: Plugins
In reply to: [WooCommerce] Disable shipping methods?This article can help you:
https://docs.woocommerce.com/document/flat-rate-shipping/#section-4Forum: Plugins
In reply to: [WooCommerce] Special Type of Handling FeeLet’s contact Woocommerce support team. I think they better than me.
https://woocommerce.com/contact-us/Forum: Plugins
In reply to: [WooCommerce] Woocommerce updateThe cause is not woocommerce.
What theme did you use?
When you updated the Woo, maybe it reset the your theme previous setup.Forum: Plugins
In reply to: [WooCommerce] Woocommerce updateThis is just a PHP warning which is caused by a null or not yet initialize column variable in your site.
Make sure that you have selected the shop columns that you would like to have in your shop page.Did you try it?
Forum: Plugins
In reply to: [WooCommerce] Product category resize thumbnails shown on pageHi firroaga,
Those images were set 100% width. Try to decrease to 80%:
Go Appearance->Customize->Additional CSS and put code:.woocommerce ul.products li.product-category a img { width: 80% !important; }
Cheer.
Forum: Plugins
In reply to: [WooCommerce] Special Type of Handling FeeHi rgwhitaker,
This premium plugin can solve your situation:
https://woocommerce.com/products/table-rate-shipping/Forum: Plugins
In reply to: [WooCommerce] Woocommerce updateHi zidukxud,
The cause was likely your theme.
This is just a PHP warning which is caused by a null or not yet initialize column variable in your site.
Make sure that you have selected the shop columns that you would like to have in your shop page. To get rid of this warning, please disable the WP_DEBUG mode. You can do this by opening wp-config.php and addingdefine('WP_DEBUG', false);
When you revisit the page, the error should be gone.
Hope this helps. Please let me know how it goes.
Forum: Plugins
In reply to: [WooCommerce] Disable shipping methods?Hi Ash,
Can you give more details? May be any site or illustration.
Your “Cake Collection” above sounds like List of products category.