Convert WordPress theme for use with WooCommerce
-
Some time ago, I’ve built a custom theme for a WordPress site. What is the best way of converting it for use with WooCommerce?
For testing purposes, I’ve converted my custom post types to products and added support for custom meta fields and taxonomies. Basically, I’m trying to replicate the established behavior, so everything that used to belong to, e.g., the custom post type “books” will now be products. So far, this works as expected.
I’ve added WooCommerce support to my functions.php. I’ve copied all template files to a subfolder.
What’s the best way to proceed? I can overwrite the single-product template with my previous custom single-post_type template, and it basically works, without any WooCommerce functionality, of course. Would it make sense to go from here and add functionality to my previous templates (e.g., add functions to display the price) or, rather, edit WooCommerce templates to make them look and behave like my previous templates?
The topic ‘Convert WordPress theme for use with WooCommerce’ is closed to new replies.