WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » product post type is reserved

product post type is reserved

Viewing 4 replies - 1 through 4 (of 4 total)
  • Roy Ho

    @splashingpixelscom

    Perhaps it would be easier to change your theme’s post type instead?

    yes, i know, but lots of my customers bought the theme and filled the contents in products sections. so changing the post type is not possible. any idea ?

    Roy Ho

    @splashingpixelscom

    I don’t think there is any other way. The “Product” post type is referenced all over WooCommerce plugin and its not like you can change the core.

    To be honest, post type should ALWAYS have a namespace attached to prevent these things from happening. This includes WooCommerce. They should have named it woo_products or woo-products or something with a namespace. This includes you as well, you should have added a namespace as well from the beginning.

    yes you are right. maybe i am less experienced in this topic, but i expected woocommerce authors to use something more special as post type (like namespace you mentioned about). it prevents any conflict with the post type names that other developers are using.

    it will be awesome if woocommerce authors add a feature that let developers to use another post type name for products.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘product post type is reserved’ is closed to new replies.
Skip to toolbar