Skip to content
Advertisement

Tag: woocommerce

Send an email notification when order status change from pending to cancelled

In previous versions of Woocommerce, an email notification was sent automatically when an order was changed from pending status to cancelled status (In my case, this happens after an allotted time set in the inventory section of the admin). In WooCommerce 3.0.8 they have removed this automation and labelled as a fix: https://github.com/woocommerce/woocommerce/blob/master/CHANGELOG.txt And the pull request is here: https://github.com/woocommerce/woocommerce/pull/15170/files

Saving the value of a custom field phone number in WooCommerce My account > Account details

Trying to add a field for Woocommerce billing_phone to the my-account/edit-account/. It is present within the update address pages but when adding to the form-edit-account.php it does not update. Currently adding by following the same code as the other fields, such as first_name: Image of form with billing_phone being shown as a value: But upon updating with new number it

User Role Select on Woocommerce Registration Stopped Working

I use a drop down menu to select between two user roles on my Woocommerce registration form. After updating to Woocommerce 3.0.8 the drop down menu stopped working and I cannot figure out why. Below is the code I’ve been using. Any ideas? Answer I decided to scrap the old code and replaced it with the following code and it

WooCommerce 3.x – Hide category of product

I would like to know if anyone has a clue on how to hide a specific product category all around my website. Means on the “shop”, “related product” and the “search” of my Wordpress WooCommerce website. For the “shop” pages I have done (and it’s working) the following: For the search I tried the following but it doesn’t work: add_filter(‘pre_get_posts’,’exclude_category_from_search’);

Advertisement