0

I create new post type suppose "custom_type" and i want to use that post type with Woocommerce function. so Woocommerce will work with "product and custom_type".

i searched everywhere and don't find any answer also i have found how to customize current post type names etc but i want both post type.

so both post type will work and user can checkout at same place.

thanks in advance.

2

I don't think you'll be able to pull this off directly. All of the admin screens, objects and hooks are tied to the "product" post type.

What you should probably do is add a new product type (a sister to the simple/variable product types). This new product type could be called "Custom_Type". You can then add a field that lets you point to one of your custom post type objects.

This is a workaround. It means for every "custom type" you would also have a "custom type product" which references it. It's not pretty, but it might work.

0

The following (free) plugin is exactly what you need: WooCommerce WooRei Shop Manager

This plugin extends the WooCommerce e-commerce plugin by allowing a custom post type (CPT) to be added.

  • 2
    downvoted as the plugin is not free and "buy a plugin" is not a useful answer here – Mark Kaplun May 26 '16 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.