• Is there a way to retrieve the date’s price options from the woocommerce or wordpress rest api? It is not currently part of any product metadata.

Viewing 1 replies (of 1 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    There are no functions for wordpress REST API for now.

    You will need to write your custom functions to get the data from the “optiondateprice_range” database table.

    Or you can use the getRangesJson() function in the file:
    wp-content/plugins/date-price-calendar/Block/Product/OptionCalendar.php

    as an example of how to retrieve the calendar data for one product.

    Stanislav

Viewing 1 replies (of 1 total)

The topic ‘REST Api values’ is closed to new replies.