kilbot / WooCommerce-POS

:bangbang: All development now at https://github.com/wcpos.
http://wcpos.com
GNU General Public License v3.0
353 stars 125 forks source link

Override Regular price #208

Open 22wpexpert opened 5 years ago

22wpexpert commented 5 years ago

Hi, I want to use a custom price instead of regular price in the POS system. Is there any hook or filter to override regular price, I have used this filter

add_filter('woocommerce_product_get_regular_price', 'product_custom_price' , 99, 2 );

It's working with woocommerce all page but not working with POS page. pos screenshot

gocasals commented 3 years ago

@22wpexpert Could you resolve this question? I want to do the same soluction. Could to help me? @kilbot @thomasmery @michaelirick

AyeJavier commented 3 years ago

Hi.. i have same problem @gocasals. @22wpexpert Could you resolve?

nicoesteban commented 3 years ago

I have the same problem, but I can't find the solution .. I also need help

kilbot commented 3 years ago

Hi guys, the above hook looks correct, ie: woocommerce_product_get_regular_price. One thing to remember is that the POS will store the product data locally in the browser, so you would have to clear the local data and re-download the products after any changes.