changes on class-wc-product-variation !
-
Hi all,
Had to make some changes to class-wc-product-variable.php, as i wanted to customize the information shown on the price for ‘variable products’ and i’m wondering now…. how to make this permanent ?
– Shall i copy this file over to : template_folder > woocommerce > includes with just the relevant bits ?
– Is there any way of replugging the function i’ve changed using the functions.php ?
I’ve tried the previous option in a few different ways but it would make the website stop working properly every time… can anyone advise what would be the best option for this ?
The function i messed about is : public function get_available_variations() { … }
Can anyone help ? Really appreciated, thanks !
- The topic ‘changes on class-wc-product-variation !’ is closed to new replies.