• Resolved BoomBook

    (@junior_l3oss)


    hi. i want to use shortcodes… How can i do shortcodes for __( $time_field_label, ‘order-delivery-date’ ) and $order_page_time_slot
    or anyway to get them?

    • This topic was modified 1 year, 8 months ago by BoomBook.
    • This topic was modified 1 year, 8 months ago by BoomBook.
Viewing 1 replies (of 1 total)
  • Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @junior_l3oss,

    We do not have shortcodes available in that plugin, but you can use the meta keys which have been used for storing delivery date and time into the “wp_postmeta” table.

    1. You can use ” _orddd_lite_timestamp ” meta key which stores the delivery date in timestamp format. Or, you should be able to fetch the delivery date using the ‘Delivery Date’ field label. It is the meta key.
    2. You can use “Time slot” field label set in the plugin’s settings as an meta key.

    For eg,
    $delivery_date = get_post_meta( $order_id. ‘Delivery Date’, true); or
    $delivery_date = get_post_meta( $order_id, ‘_orddd_lite_timestamp’, true);
    $delivery_date = get_post_meta( $order_id. ‘Time Slots’, true);

    Do let me know if you have any further questions.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcodes?’ is closed to new replies.