• Resolved unaimendieta

    (@unaimendieta)


    Hi.
    We are trying to change the custom field of the products page in our marketplace. The problem is, we want to change them all and we have more than 1000 products. Would there be a way to change them all at once or does it have to be one by one?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Maarten Belmans

    (@maartenbelmans)

    Hi @unaimendieta

    If you create fields via the menu WooCommerce > Product Fields, you can assign them to multiple products at once. In that case, you make your changes once and they are automatically applied to all products attached to the fields.

    Thread Starter unaimendieta

    (@unaimendieta)

    Yes, I know that, but the thing is that before I started working on the page, the previous managers created the fields one by one in each product that was added instead of creating them as you say. So to delete those fields how could I do?

    Plugin Author Maarten Belmans

    (@maartenbelmans)

    Unfortunately, there is no bulk way to delete them. You’d have to go into each product and delete them from there. Maybe there is a “bulk edit product” plugin that integrates with ours but I doubt it.

    Thread Starter unaimendieta

    (@unaimendieta)

    And through code is there any way to access that field?

    Thanks

    Plugin Author Maarten Belmans

    (@maartenbelmans)

    All fields are stored in the postmeta database table so you can query them and delete them there.

    Thread Starter unaimendieta

    (@unaimendieta)

    Okay, I will try to do it like that.
    Thanks.

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