• Resolved andywordpress7

    (@andywordpress7)


    Hi there,

    We don’t use, and never have used custom fields of any sort, but all of a sudden we have noticed that custom fields are getting added to our product pages each time a page is updated.

    Not sure why this plugin has started doing this, and the only way to delete them is via the wp_postmeta tables from within the database.

    The only thing is these custom fields re-appear again, as soon as there is any kind of update, and the onyl way of getting rid of these custom fields, is:

    1) Never do any product updates (which isn’t practical)

    2) Delete via the database.

    Below is a screenshot of what our product pages normally looklike:

    https://paste.pics/43678ba0a2ff6f0964cc02a740c44b1f

    And once the update button is hit, a custom field magically appears (as shown below):

    https://paste.pics/f8e0240887237be0404d727ac7ce8f03

    It’s one custom field that keeps getting created for total_sales

    Any idea’s or thoughts of why this is happening and how we can stop it?

    Thanks,

    Andy

Viewing 8 replies - 1 through 8 (of 8 total)
  • Stef

    (@serafinnyc)

    Those are standard fields that are added by WordPress & WooCommerce. Nothing to worry about.

    Thread Starter andywordpress7

    (@andywordpress7)

    Hi Stef,

    Many thanks for your reply on this.

    Any ideas why these custom fields have only recently starting populating, once a product page is updated.

    Before when we made any changes on a product page, and updated, no custom fields were ever created.

    I don’t suppose you know of a way we could stop these from populating?

    Kind Regards,

    Andy

    Stef

    (@serafinnyc)

    I’ve never not seen them. They’ve always been a part of any WooCommerce install. It’s how additional plugins write to each product and so on.

    If you don’t want to see Custom Fields in general just shut it off inside Screen Options.

    But I wouldn’t worry about anything malicious going on.

    Thread Starter andywordpress7

    (@andywordpress7)

    Hi Stef,

    Really appreciate all your support today.

    I was more worried about the database getting clogged up, as each time an individual product is updated another entry is created in the wp_postmeta tables.

    Kind Regards,

    Andy

    Stef

    (@serafinnyc)

    You’re welcome.

    Are you literally seeing that happen? If so how? Inside the DB or in a spreadsheet? Typically the table would just be overwritten.

    Every month or so the database will need to be optimized and cleared of certain transients and thingamajigs. Always a part of any website.

    Thread Starter andywordpress7

    (@andywordpress7)

    Hi Stef,

    Again, thank you for all your help on this.

    Inside the database we are getting an individual total_sales table appear each time a product is updated. It’s not just one total_sales table appear, it’s one individual one per product.

    We had none of these table until a couple of days ago, so just found it strange that this has only happened.

    Had a look at some of the products we updated from the beginning of the week, and no custom fields were created for them.

    The total_sales tables are all starting to build up in the wp_postmeta tables.

    Would you know of a filter that we could apply to stop these custom fields from being created in the wp_postmeta tables?

    Kind Regards,

    Andy

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @andywordpress7. Have you managed to find a solution for this?

    The total_sales tables are all starting to build up in the wp_postmeta tables.

    If you still need help, could you share a screenshot of what you mean by this please?

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @andywordpress7. We haven’t heard from you in a while so I’m going to go ahead and mark this thread as resolved. If you still need help with this issue or have any other questions about the WooCommerce plugin, please start a new thread.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Woocommerce creating custom fields in error’ is closed to new replies.