WooCommerce Table Rates not splitting up
Found a resolution. The problem was that I had based the calculated rates based upon the class. Switched it to based on the line item, the rates are being calculated correctly,
Found a resolution. The problem was that I had based the calculated rates based upon the class. Switched it to based on the line item, the rates are being calculated correctly,
Sorry to hear you are getting the “Error while sending QUERY packet’ message. The best we can tell, this has to do with the max_allowed_packet_size. This should be able to be set via the php.ini file. You may find more information at this post regarding the issue. Source: Branex
Perhaps you could use some jQuery and admin-ajax to do the trick. You would also need to use one of the WooCommerce checkout field filters to add the university select field to the checkout form. If you’re feeling adventurous, you could add a custom end point and use the WP REST API instead of admin-ajax. … Read more
I’d look at your error.log file just after you access the admin page. I’d suspect that there is a plugin code that is failing on the admin page. The error log might point you to the culprit. Alternately, you could disable recently added/updated plugins by renaming that plugin’s folder (in wp-content/plugins folder), which will effectively … Read more
I found the solution that Go to Settings –> Permalinks –> I have used custom permalinks So change it to another default permalink and save Solves the problem
You can use “woocommerce_get_price_html” filter to remove class from span tag like: add_filter( ‘woocommerce_get_price_html’, ‘remove_class_price_html’, 10, 2 ); function remove_class_price_html( $price, $product ) { return str_replace( ‘woocommerce-Price-currencySymbol’, ”, $price ); } Or else you can use preg_replace to remove class from both span tags.
You can use category id using if ( is_product_category(‘your category id’) ){ Change your product size } Please refer to this LINK
This action hook is performed after submission: add_action( ‘woocommerce_thankyou’, ‘custom_woocommerce_auto_complete_order’ ); function custom_woocommerce_auto_complete_order( $order_id ) { echo $order_id; }
My bad.. it was the namespace add_filter( ‘woocommerce_breadcrumb_defaults’, ‘mynamespace\\custom_breadcrumb’);
Read the official docs: Template structure & Overriding templates via a theme