PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

How to override product price in WOOT table with custom logic?

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

I am using the WOOT Product Tables plugin and need to override the product price shown in the table.

In my setup, product prices depend on a vendor-specific JSON file. I already use WooCommerce filters like:

add_filter( 'woocommerce_product_get_price', 'custom_vendor_price', 99, 2 );
add_filter( 'woocommerce_product_get_regular_price', 'custom_vendor_price', 99, 2 );
add_filter( 'woocommerce_product_get_sale_price', 'custom_vendor_price', 99, 2 );

This works fine in the cart, checkout, and single product pages. ✅

But inside the WOOT table, the custom price does not show — only the default WooCommerce _price is displayed.

👉 My question: Which hook/filter does WOOT provide for overriding the product price shown in the table?
Or, does WOOT read _price meta directly, and if so, what is the recommended way to override it for the table display?

Thank you!

Hello

Please read this https://products-tables.com/how-to-add-custom-column-to-the-tables

Our plugin uses the WooCommerce get_price() function. Therefore, the standard hooks should work.

What plugin version number are you using?

Hello,

Thanks for clarifying earlier that WOOT uses WooCommerce’s get_price() for rendering product prices in the table. That worked great for us. The Woot plugin version is :  1.0.7

However, we noticed that in the popup/cart preview (after adding a product), the subtotal is still showing the original WooCommerce price instead of our overridden JSON-based price.

Could you please guide us on:

  1. Which hook/filter does WOOT use to generate the subtotal in the popup/cart view?
  2. Is there a way to override or filter that subtotal value (similar to how we extended the woot_profile_extend for the table price column)?

We only need this adjustment so that the popup subtotal matches the modified get_price() logic.

Thank you for your help!

Hello, i managed to implement that using woot_cart. Thanks so much for the help :)

Hello

Great! Welcome;)