-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WooCommerce products in Lumberjack #24
Comments
WC will register its own post type 'product', so you can just omit that step, meaning you can go ahead and create custom templates with php or twig, just referencing 'product' as the post type. For example, in the root of the theme, you may create a 'single-product.php' as the product controller that sends the data to a twig template. |
Hello, I'm trying to figure out how to use Lumberjack with WooCommerce. I created a Product post type in Lumberjack, but when I implement the required getPostType and getPostTypeConfig methods it breaks WooCommerce because it seems to override the product post type WooCommerce had already set up. What is the best way to implement custom logic for an already-existing product post type?
The text was updated successfully, but these errors were encountered: