• Resolved Amit Friedman

    (@mobileonlinebt)


    I am using this plugin on Woocommerce in order to sort my products based on the last modified field. I am referring to the Woocommerce Admin section > products page:

    https://www.mywoocommercedomain.com/wp-admin/edit.php?post_type=product&orderby=modified&order=desc

    More specifically, when I modify a particular product’s variations prices (by variations I mean the product color variations: black, white, blue, etc), I expect the product whose variations prices I just modified to show up on the top of the sort results in my products page (in the URL above).

    I am indeed observing this expected behavior when I modify the price for a general product that has no variations (the product shows up at the top of my products search results).

    However unfortunately, for products with variations – updating the variation prices does not achieve this, the product’s “last modified” field is not updated, and so it does not show up at the top of my products search results.

    The desired behavior is that if I update a product’s variations prices, then it will show up at the top of my search results, this seems like intuitive behavior to me.

    I am assuming this is happening because the product variations are a different data table than the product itself, and so modifying the product variation prices does not update the product’s “last modified” timestamp.

    It seems to me that a product’s “last modified” timestamp should indeed be updated when its variations prices are updated, so I would appreciate you support on this matter, thanks (:

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Product variations price changes don’t update the product’s Modified Date’ is closed to new replies.