• Resolved heartware

    (@heartware)


    I send this JSON to WooCommerce:

    {
      "name":"testing",
      "type":"variable",
      "regular_price":"100.00",
      "sale_price":"88.00",
      "date_on_sale_from":"1980-01-01T00:00:00.000+01:00",
      "date_on_sale_to":"2199-12-31T00:00:00.000+01:00",
      "sku":"EYDUN",
      "description":"testing",
      "slug":"testing",
      "short_description":"test",
      "status":"publish",
      "manage_stock":false
    }

    However, the price on the shop is listed as 100,00 and not 88,00 as I have specified as sale_price. What do I need to do in order to have it listed on the shop as the specified sales price and not the regular price?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @heartware

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
    
    I can also recommend <a href="https://developer.woocommerce.com/" rel="noopener" target="_blank">the WooCommerce Developer Resources Portal</a> for resources on developing for WooCommerce.
    
    You can also visit the <a href="https://www.facebook.com/groups/advanced.woocommerce/" rel="noopener" target="_blank">WooCommerce Facebook group</a> or the <code>#developers</code> channel of the <a href="https://woocommerce.com/community-slack/" rel="noopener" target="_blank">WooCommerce Community Slack</a>. We're lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    You should also check the documentation here: http://woocommerce.github.io/woocommerce-rest-api-docs/#create-a-product-variation

    We’ve not seen any activity on this thread for a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sales Price’ is closed to new replies.