• Resolved chinds

    (@chinds)


    Hi, I use the woo-commerce api to view orders on another application. How would I go about viewing the data from this plugin via the woo api or another api?

    Thanks
    Chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author mdalabar

    (@mdalabar)

    Hi,

    If you can pull a complete order data through api then you will get the pickup time as order meta.
    Let me know what you get with this code as below

    <?php
    $orders = $wc_api->get_orders();
    print_r( $orders );		
    ?>
    

    you should get “byconsolewooodt_delivery_time” within the arrays if any order was placed using this plugin and with a delivery/pickup time

    Keep me posted.

    Thanks

    Thread Starter chinds

    (@chinds)

    Hi apologies for the delayed reply, thanks for the suggestion. I will give this ago this evening and report back the results.

    Thanks

    Thread Starter chinds

    (@chinds)

    ok so for starter I have the latest version of your plugin and wordpress and am getting an error on this line (line: 430) on the checkout page for Uncaught SyntaxError: Unexpected identifier

    This is the line: `onSelect: function(){jQuery(“#byconsolewooodt_delivery_time”).timepicker(“remove”); jQuery(“#byconsolewooodt_delivery_time”).val(”); ByconsolewooodtDeliveryWidgetTimePopulate(“#byconsolewooodt_delivery_date”,”#byconsolewooodt_delivery_time”);} // reset timepicker on date selection to get new time value depending date selected here AND THEN call call time population function
    `

    When clicking the date or time fields on the checkout page it does not display the pickers

    Plugin Author mdalabar

    (@mdalabar)

    Hi,
    Were you able to fetch custom order meta through woo-commerce api? Originally for which you started this thread, let me know.

    And that kind of jQuery error occurs when you incorrectly edit the original plugin so that the DOM identifires does not match with the arguments passes with the respective functions.

    For paid plugin please write to their support team or chat with their online help-desk with your details. If you have any query/issue with this free version then create topics here.

    Still if you want me to investigate the issue send the URL where it is happening I can point it out, but for support please reach to the support team.

    Thanks

    • This reply was modified 7 years, 12 months ago by mdalabar.
    Plugin Author mdalabar

    (@mdalabar)

    Hi,
    Hope its now resolved!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pickup time available via the woocommerce api?’ is closed to new replies.