New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide preview button #20650

merged 2 commits into from Jun 29, 2018


None yet
5 participants

mikejolley commented Jun 28, 2018

Simply hides the preview button when editing products.

Closes #20641


This comment has been minimized.


claudiulodro commented Jun 28, 2018

This also removes the Save Draft button which is definitely one we want to keep. :)

#post-preview { display: none; }?

@claudiulodro claudiulodro merged commit 5e1e8a3 into master Jun 29, 2018

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed

@claudiulodro claudiulodro deleted the fix/20641 branch Oct 17, 2018


This comment has been minimized.

BackuPs commented Oct 31, 2018

How to get the preview button back? I want to preview my changes to the content. I dont care about custom meta boxes not being updated in the preview. Its the content that i am editing. Now i have to save it and make it already public once a product is published. This is a bad decision to remove the preview button. More over i see plugins and themes that have no issues with the custom meta boxes and preview. So why cant woo fix this like they do?


This comment has been minimized.

plimfec commented Nov 6, 2018

Hi there,

I really miss the 'Preview changes' button. In my shop I need to change very often the information in the description field and short description field. These fields were picked up by the 'Preview changes' button in Woocommerce, so until now I always could preview these changes before publishing them to my customers. When these changes were not to my satisfaction, I could simply use 'CTRL-Z' to reverse. That was a nice workflow.

Now I have to publish every single edit I make in Woocommerce first and after that, when it is not okay, I can't go back with a simple 'CTRL-Z'. So, every time I edit a product now, I need to copy/paste the code to a safe place first, then publish, then copy/paste the code back into WordPress and edit again, then copy/paste and publish again, etc. This is not a very nice workflow.

Besides, I use the plugin Google XML Sitemaps to send Google automatically every change I make in a page, post or product page. So, since I'm forced now to publish every edit I make (to preview), I'm sending Google multiple notifications (every time I publish) with all kind of temporary versions of my product page. That's not good.

So, I really hope you reconsider the removal of the 'Preview changes' button. I miss it dearly, every day. The most I miss the workflow: edit > preview changes > go back with 'CTRL-Z' > edit again > etc.

In my opinion you removed a core feature in Woocommerce without any reason or need to do so. This is very difficult for me to understand..


@claudiulodro claudiulodro referenced this pull request Nov 6, 2018


Reintroduce Preview button on products #21838

4 of 6 tasks complete

This comment has been minimized.


claudiulodro commented Nov 6, 2018

Reintroduced in #21838 by popular demand.


This comment has been minimized.

plimfec commented Nov 7, 2018

Great news, I appreciate very much and looking forward to it.
Thank you!


This comment has been minimized.

BackuPs commented Nov 7, 2018

Me Too. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment