Top "Hook-woocommerce" questions

Use this tag for questions related to WooCommerce hooks.

Get the product price in Woocommerce 3

I'm trying to get price without currency in a function I made. function add_price_widget() { global $woocommerce; $product = new …

php wordpress woocommerce hook-woocommerce price
How do I change the product loop parameters in Woocommerce archive page?

Well I'm trying to create some custom loop pages for Woocommerce products, and I found out that the process starts …

php wordpress woocommerce hook-woocommerce
Customizing loop product image via a hook in Woocommerce

I am customizing woocommerce themes. I stuck on loop product using hook action woocommerce. To call/include the thumbnail image …

php wordpress image woocommerce hook-woocommerce
When changing woocommerce title hook the first item doesn't change

I have a strange behaviour that I don't understand I've changed the woocommerce_shop_loop_item_title hook to add …

php wordpress woocommerce hook-woocommerce
Customizing WooCommerce review-order.php checkout template

So I am working on WooCommerce with a Child-theme. I have created my structure, /themes/child/woocommerce/checkout/review-order.php …

php wordpress woocommerce orders hook-woocommerce
Using wc_get_products function in WooCommerce

Bit puzzeled here. add_action('plugins_loaded', 'foobar' ); function foobar(){ $products = wc_get_products(array()); var_dump($products); } This returns …

php wordpress woocommerce product hook-woocommerce
Hide product attributes from additional information tab in WooCommerce

How to hide certain custom product attributes on single product pages additional informations tab? Note: I don´t want to …

php wordpress woocommerce product hook-woocommerce
Adding custom data to Woocommerce Order items

I have a custom plugin that allows the customer to add custom information to their order. The item is added …

php wordpress woocommerce hook-woocommerce orders
How to remove title from woocommerce_single_product_summary hook?

On my product template, I execute this action : <?php /** * woocommerce_single_product_summary hook. * * @hooked woocommerce_template_single_title …

php wordpress woocommerce hook-woocommerce
WooCommerce Get Order Product Details Before Payment in Plugin

I need to display order details from cart before payment in plugin. I work on one plugin what connect woocommerce …

php wordpress woocommerce cart hook-woocommerce