WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Bulk change of SLUG using a Custom Field (3 posts)

  1. gerygreen
    Member
    Posted 1 year ago #

    Hello again, here's my second question :)

    I need to bulk change the product url slugs to be exactly as one of my Custom Fields.
    Any idea on how to do it?

    Thanks a lot!

    http://wordpress.org/extend/plugins/woocommerce/

  2. IgniteWoo
    Member
    Posted 1 year ago #

    Yes, write some code that reads your custom field data and writes it to the wp_posts table in the post_name field. Be sure to sanitize is properly before writing.

  3. gerygreen
    Member
    Posted 1 year ago #

    do you have that script written?
    thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic