• Resolved jsuthar

    (@jsuthar)


    Before
    wp-admin/edit.php?post_type=shop_order

    After
    wp-admin/admin.php?page=wc-orders

    i am facing issue with this changes my all the websites and using before url and i have customize backend with match requirement and now URL has been changed and many hooks of woocommerce are stoped working as they did not getting post type from it.

Viewing 1 replies (of 1 total)
  • Plugin Support Mahfuzur Rahman(woo-hc)

    (@mahfuzurwp)

    Hi @jsuthar,

    Thank you for reaching out and explaining the challenges you’re facing with the recent change in WooCommerce’s admin URLs for orders. I understand how frustrating it can be when updates impact customizations that are crucial to your workflows.

    The URL change from wp-admin/edit.php?post_type=shop_order to wp-admin/admin.php?page=wc-orders is part of WooCommerce’s High-Performance Order Storage (HPOS) updates, aimed at improving order management. However, this can affect custom hooks and backend customizations that rely on the old shop_order post type.

    To resolve this, you’ll need to update your custom hooks by replacing references to shop_order_posts with woocommerce_page_wc-orders in your code and review any backend modifications that rely on the old URL or post type. For more details, check WooCommerce’s documentation here: https://developer.woocommerce.com/2022/10/11/hpos-upgrade-faqs. If further assistance is needed, consulting a WooCommerce developer may be helpful.

    Let me know if you have more questions!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.