title: Set only specific products sale price programmatically in WooCommerce 3
body: <p>I would like to <a href="https://stackoverflow.com/questions/48763989/set-product-sale-price-programmatically-in-woocommerce-3/48765844#48765844">Set product sale price programmatically in WooCommerce 3</a> but only for specific products Ids.</p>
  
  <p>Is it possible and how can I target only specific products using <a href="https://stackoverflow.com/questions/48763989/set-product-sale-price-programmatically-in-woocommerce-3/48765844#48765844">this thread</a> code? </p>
  
  <p>I haven't be able to make it work for specific products only.</p>
  
  <p>Any help is appreciated.</p>