• I enabled revision for woocommerce using this snippet:
    add_filter( 'woocommerce_register_post_type_product', 'wc_modify_product_post_type' ); function wc_modify_product_post_type( $args ) { $args['supports'][] = 'revisions'; return $args; }

    But it only tracks product description. I wanted to have product data also which contains variations,attributes and shipping settings.

Viewing 1 replies (of 1 total)
  • Hi @itscoldice,

    Thank you for reaching out and sharing the details. I understand how important it is to track all changes, including variations, attributes, and shipping settings. The snippet you’ve used does enable revisions for products, but as you’ve noticed, it’s limited to the product description. WooCommerce, by default, doesn’t support revisions for product data like variations and attributes because they are stored in a different way than post content.

    For tracking changes and managing revisions, you might consider exploring our suite of plugins at https://woo.com/products/ to find tools that could offer the functionality you’re looking for.

    I hope this helps, let us know if there’s anything else we can help you with.

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce revision does not contain product variations’ is closed to new replies.