I have modified the add-to-cart-variation.min.js in woocommerce directly to get the functionality I want. It works, but I dont like overwriting the core file directly. i want to create a plugin.
I’m new to plugins, so bear with me. I have create a my_plugin_name.php file. I’ve looked up several tutorials online about how to add a woocommerce template override in the plugin.php, but not a woocommerce js override.
Any pointers? Any simple plugins out there I can look at and see how they did it?
- The topic ‘[Plugin: WooCommerce – excelling eCommerce] Overwriting add-to-cart-variation.min.js’ is closed to new replies.