Need to change Price Values
I need to change the price values globally, i have a 2 fields for price one for non members and another for members ( _pricr and _price_member) so i need to change the price values according to the user logged in or not. I already done the database sections .
Now i only need to know that how can i change the price values globally may be using some hooks.
I tried to use this filter
add_filter('woocommerce_get_price', 'managePrice', 1, 2);
and determines price values according to post id but it only works on details page other page not working not working on cart page.
Please anyone have any idea about it
- The topic ‘Need to change Price Values’ is closed to new replies.