• Resolved rkvisit

    (@rkvisit)


    hi there,
    I need to provide a separate admin page to update the shipping data without accessing to the Woocommerce settings page(without go to woocommerce settings which may complicated to the user).So how i can create a separate admin menu item as shipping and load only shipping settings of your plugin in to that page.

    • This topic was modified 8 years, 4 months ago by rkvisit.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dan

    (@dangoodman)

    Hi,

    I believe to do that you can add a link to ‘/wp-admin/admin.php?page=wc-settings&tab=shipping&section=wc_weight_based_shipping’.

    Thread Starter rkvisit

    (@rkvisit)

    hi could you point me to the save options function in your plugin.I managed to get the contents into a separate admin page using $obj=new WC_Weight_Based_Shipping;$obj->admin_options(); and added the save button but the save button is not working correctly.can you guide me to get this done? OR how i call the location as the link for that admin menu item?

    • This reply was modified 8 years, 4 months ago by rkvisit.
    Thread Starter rkvisit

    (@rkvisit)

    Did it by adding the process_admin_options() when save.

    Plugin Author Dan

    (@dangoodman)

    Glad it worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add Settings in to a seperate menu page’ is closed to new replies.