Support » Plugin: WooCommerce » How to add existing custom post type with woocommerce for cart /payment?

  • I have one existing custom post type courses and I need to implement cart / payment functionality for selling these products. But I am not sure how to add existing custom post type with woocommerce plugin so that I can integrate and can take benefit of woocommerce cart/ payment functionality because I heard woocommerce plugin is best to use for eCommerce websites. Please someone let me know if i can use woocommerce and how?

    I have tried this code but not sure this will work :-

    function my_add_product_type( $types ) {
    return $types[“Courses”] = “courses”;
    }
    add_filter( “product_type_selector”, “my_add_product_type” );

    Also I am open to use any other plugin that can help me to achieve my goal.

    Thanks in advance guys.

    https://wordpress.org/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello saurabhd,

    Have you find the solution for this..??
    Actually I have the same situation, I want to use my custom post type with woo-commerce cart and payment functionality.

    Please help me and let me know how you have achieved this requirement.

    Thanks in advance..!

    Hi Sunil

    No, I didn’t get success directly. After searching a lot I had to export all posts for selected custom post type and then had to import it in woocommerce product custom post type. This way I managed to achieve my requirement.

    Hi saurabhd

    I got a solution for it, just use this plugin : http://reigelgallarde.me/product/woocommerce-woorei-shop-manager

    this will provide functionality of adding custom post type as products in woocommerce. But there are some limitations with most of the Non Woo commerce themes supporting themes, otherwise it will provide solution what we were searching for.

    Another solution is to use “WordPress Simple Paypal Shopping Cart” Plugin for the further shopping. I am using it on website.

    This info may help anyone.

    Thanks
    Sunil

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add existing custom post type with woocommerce for cart /payment?’ is closed to new replies.