So then you can go and create a "checkout/" folder in your WordPress theme's folder.
Then create a "products/" folder in there so that you have "checkout/products/"
Then copy the view.php and loop.php over form "wp-checkout/views/default/products/" to your new "checkout/products/" folder inside your WordPress theme's folder.
And then make edits to those 2 template files as needed.
You can follow the same procedure for other template files or anything inside "wp-checkout/views/default/" for that matter.
The advantage of this is that those template files are then outside the plugin and won't be overwritten when you upgrade the plugin in the future.
Comments