I have directly modified the class-wc-checkout.php file from includes folder in woocommerce plugin to add custom line item meta data. Is there any way to override the class-wc-checkout.php file from my-theme folder as we override template files in woocommerce?

thanks in advance


Solution:

Yes you should be able to do this by uploading to this folder

/wp-content/themes/YOURTHEME/woocommerce/includes/class-wc-checkout.php


Related Wordpress search:

, , , ,

Wordpress related questions and answers: