How can I enter on the Thank you page in woocommerce the discount code I assigned to the product category?
You can find the code for the Thank You page here. May I suggest the woocommerce_thankyou hook?
You can find the code for the Thank You page here. May I suggest the woocommerce_thankyou hook?
You need to use conditional tags of WooCommerce. Please have a look. In your case you can use this if(!is_product()){ //BeRocket Code }
Updating failed. The response is not a valid JSON response. Gutenberg + Woocommerce Products
Well, I succeeded in filtering the output of the totals : add_filter( ‘woocommerce_order_get_tax_totals’, ‘filter_function_name_1942’, 10, 2 ); function filter_function_name_1942( $tax_totals, $order ){ foreach( $tax_totals as $single_tax_key => $single_tax_value ){ if( $single_tax_value->rate_id == 1){ $tax_totals[$single_tax_key]->amount = 1000; $tax_totals[$single_tax_key]->formatted_amount = wc_price(‘1000′); } } return $tax_totals; } It’s just an example with hardcoded values, but it works. The … Read more
Woocommerce AJAX filters option loading spiner – problem on mobile device
Display WooCommerce product category on shop page (on every product)
How to list best seller products in woocommerce
Make a php array load faster
you will need to use jQuery unless your plugin has options to change certain elements on add-to-cart something along the lines of this: $(“#co”).click(function(){ $(this).css({“backgroundColor” : “blue”}); });
Manual Admin Orders search for billing_company