Hello,
I have made some changes in Woocommerce core files (plugins\woocommerce\includes\class-wc-cart-totals.php) and I copied those changes in my child theme directory at themes\child-theme\woocommerce\includes\class-wc-cart-totals.php
but it doesn't seem to work.
I tried using "require 'themes\child-theme\woocommerce\includes\class-wc-cart-totals.php' " in my functions.php, but it attempts to load both child and parent files, and I receive an error that the class is already declared.
How can I achieve this requirement?
Thank you!