• Resolved mnydigital

    (@mnydigital)


    I have inherited a WooCommerce store from a previous developer. It has been left in a mess and I am currently trying to untangle everything and start afresh with a new theme.

    I’ve noticed that the ‘Publish’ box (containing the visibility details and update button) is missing on the edit product page. This is visible in my development store, so I’m assuming it’s being caused by some previous customisation.

    I’ve removed all the old plugins except the essential, as well as all the old themes. I’ve cleared the cache, checked the display options, and I’m using an admin account. I still can’t get this box to appear though.

    On a related note, I have a function tied in to the save_post event that updates some post metadata when a product is updated, but that doesn’t seem to run. Again, it does with my development store.

    I’m thinking the previous developer might have messed with the post types/taxonomies and/or used the remove_meta_box() function somewhere. But everything has been reset as far as I can see now. Is there anywhere else to look, or any other suggestions?

    • This topic was modified 11 months, 2 weeks ago by mnydigital.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Saif

    (@babylon1999)

    Hello @mnydigital,

    Thank you for reaching out!

    I understand this is the part that went missing, correct?


    Link to image: https://d.pr/i/vAnaRN

    It’s a bit challenging to pinpoint an issue like this especially when the site seems heavily customized.

    But here are a few suggestions you can try:

    • Make sure the field is not moved downwards: https://d.pr/v/d3Uibt
    • Try to check if the previous admin tried hiding it with CSS.
    • If you have many options on the page perhaps there’s an overflow that’s hiding this element, you can check if that’s the case by hiding other (default) screen elements from the Screen Options: https://d.pr/i/DZRNIP
    • If none of the above solutions worked, your next best option disabling all the plugins except WooCommerce and removing all custom code snippets. If you think the previous developer might have tweaked the WooCommerce files, you can try to either uninstall or update WooCommerce. Doing so should re-generate all the templates.

    Let us know how it goes!

    Thread Starter mnydigital

    (@mnydigital)

    Hi, thanks for the reply. I did try checking to see if it had been hidden but it wasn’t being rendered at all.

    Strangely though, the box reappeared a couple of days later, through no obvious action of my own. Hopefully it stays that way.

    Bit of a mystery but as long as it’s working that’s what counts.

    Saif

    (@babylon1999)

    Strangely though, the box reappeared a couple of days later, through no obvious action of my own. Hopefully it stays that way.

    Glad to know it’s working now! :‎)

    I will mark the thread as solved. If you have a few minutes, we’d love it if you could leave us a review: https://wordpress.org/support/plugin/woocommerce/reviews/

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Publish box not appearing on edit product page’ is closed to new replies.