Top "Woocommerce" questions

WooCommerce is an open source eCommerce plugin available for WordPress.

woocommerce - How do I get the most top level category of the current product category

I have a Woocommerce product and I need to display on that page the Most top level category of a …

php wordpress woocommerce
I want to get woocommerce reviews by product id and display it in a template

I want to fetch woocommerce product reviews by product id or anything else and want to display it in a …

wordpress woocommerce review
How to retrieve cart_item_data with WooCommerce?

During the add_to_cart function, there is a filter to add "cart item data". The filter is woocommerce_add_…

php wordpress woocommerce cart
WooCommerce get_sku(); on products variations in order

I'm building a custom function for Woocommerce where I need to get product SKU and if 'variation' product get variation …

php wordpress woocommerce
Get Woocommerce Category Thumbnails

I have a custom template for a woocommerce category page to only display the categories. I have got the system …

wordpress taxonomy woocommerce
Custom validation of WooCommerce checkout fields

I would like add my own regular expression for validating the phone number. In my class-wc-validation.php I have changed …

php wordpress validation woocommerce checkout
Woocommerce, How to edit the "added to cart" message

When click on add to cart button, the Woocommerce shows the message, view cart, I want to edit this message, …

wordpress woocommerce e-commerce hook edit
How to remove Shipping from Woocommerce cart?

I have one question. I need remove shipping and shipping calculate from cart. Its possible delete with hooks? I am …

wordpress woocommerce hook cart
Getting order data after successful checkout hook

In WooCommerce, I would like to send a request to an API once the customer has successfully checked out. Its …

php wordpress woocommerce checkout orders
How to check payment method on a WooCommerce order by id?

I want to make some changes if the chosen payment method is COD. On existing WC_Order i have used ($…

wordpress woocommerce payment-method