• Hi to all, I’m to import a list of product from my csv file. I can’t how set the type of expire (delete, trash, draft, ecc…). Can you tell me what’s the field name into mysql database and possibile values?

    Thank you so much

Viewing 1 replies (of 1 total)
  • This is something I’m interested in as well and I’ve just come across this by searching for how to do this. I see in another post that the data is stored like this:-

    field name = _expiration-date-options
    content = an array that looks something like this (hold expire type and post id): a:2:{s:10:”expireType”;s:5:”draft”;s:2:”id”;i:1123;}

    But because it has the post ID in the array, it seems that you’d need that to be included in order to be able to import it and associate it with the product ID? I tried also setting the default status to ‘private’ in the settings, but it seems that it only works for manually adding new items.

    If the developer could advise if it’s possible to import new products to WooCommerce and include the status please. Or did you find a ways of doing this?

Viewing 1 replies (of 1 total)
  • The topic ‘Post expiration – Import manually’ is closed to new replies.