• Resolved uk2021

    (@uk2021)


    Hello.

    Hope all is well FOOD ONLINE https://www.ads-software.com/support/plugin/food-online-for-woocommerce/
    and Woo instant Notifications (https://www.ads-software.com/plugins/woo-instant-notifications/) developers (I have paid for both apps).

    I’m not sure if “Woo instant notifications” or FOOD ONLINE developers have the answer here so I’m messaging you both!

    In the Woo Instant notifications app (to print out food order information) there are short codes to put into email template for orders to print.

    {food_online_delivery_mode},
    {food_online_delivery_time},
    {food_delivery_date},
    {food_delivery_time},
    {food_delivery_method},

    Unfortunately after putting all of these short codes onto a print out. None of these show customer table number when EAT AT RESTAURANT option is checked in FOOD ONLINE.

    Where is this short code created? Table number print out is pretty essential on an order printout.

    Can You help?
    Thanks!

    Here are the full list of available short codes on Woo Instant Notifications Premium

    {order_date}, {order_number}, {woocommerce_email_order_meta}, {order_paypal_txn_id}, {order_billing_name}, {order_shipping_name}, {order_shipping_address_1}, {order_shipping_address_2}, {order_shipping_city}, {order_shipping_state}, {order_shipping_postcode}, {order_shipping_country}, {email_order_items_table}, {email_order_total_footer}, {order_billing_email}, {order_billing_phone}, {order_billing_address_1}, {order_billing_address_2}, {order_billing_city}, {order_billing_state}, {order_billing_postcode}, {order_billing_country}, {order_customer_note}, {local_pickup_location_name}, {local_pickup_location_address_1}, {local_pickup_location_address_2}, {local_pickup_location_postcode}, {local_pickup_location_city}, {local_pickup_location_state}, {local_pickup_location_country}, {local_pickup_location_phone}, {local_pickup_location_startdate}, {local_pickup_location_startdate}, {email_addresses}, {custom_field1}, {custom_field2}, {custom_field3}, {chkmanager_billing_1}, {chkmanager_billing_2}, {chkmanager_billing_3}, {chkmanager_shipping_1}, {chkmanager_shipping_2}, {chkmanager_shipping_3}, {chkmanager_additional_1}, {chkmanager_additional_2}, {chkmanager_additional_3}, {order_time}, {used_coupon}, {byc_delivery_date}, {byc_delivery_time}, {byc_delivery_type}, {ws_delivery_date}, {ws_delivery_time}, {ws_delivery_type}, {flex_billing_1}, {flex_billing_2}, {flex_billing_3}, {flex_shipping_1}, {flex_shipping_2}, {flex_shipping_3}, {flex_order_1}, {flex_order_2}, {flex_order_3}, {crockz_delivery_date}, {crockz_delivery_time}, {crockz_delivery_type}, {crockz_pickup_date}, {crockz_pickup_time}, {tyche_delivery_date}, {tyche_delivery_time}, {food_store_service_type}, {food_store_service_date}, {food_store_service_time}, {food_online_delivery_mode}, {food_online_delivery_time}, {food_delivery_date}, {food_delivery_time}, {food_delivery_method}, {od_ts_date}, {od_ts_timeframe} )`

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author Georgi Bakalski

    (@irdroid)

    Can you provide a link to the Food Online plugin as there are several with this name

    Thread Starter uk2021

    (@uk2021)

    Its in the original post…

    Hope all is well FOOD ONLINE https://www.ads-software.com/support/plugin/food-online-for-woocommerce/

    All the Best!

    Plugin Author Georgi Bakalski

    (@irdroid)

    For food online

    {food_online_delivery_mode},
    {food_online_delivery_time},

    the above are the shortcodes. Once food online is configured if you select the delivery method on checkout by default and select time the time will show up on the receipt. If you select pickup on checkout and pickup time , the delivery method “pickup” will show up as well as the pickup time.

    If you have issues configuring it , we can have a look at your site.

    Thread Starter uk2021

    (@uk2021)

    Ok not being funny. But you really do need to read the posts beofre replying to support tickets ??

    Unfortunately after putting all of these short codes onto a print out. None of these show customer table number when EAT AT RESTAURANT option is checked in FOOD ONLINE.

    TIME is not the issue (as said in original post)

    There are 3 delivery options on FOOD ONLINE.

    Pickup

    Delivery

    Eat at table (which then asks customer for a table number)

    table number is not shortcoded anywhere after putting in all of your shortcodes (shown below)

    The customer TABLE NUMBER cant be printed out….

    {order_date}, {order_number}, {woocommerce_email_order_meta}, {order_paypal_txn_id}, {order_billing_name}, {order_shipping_name}, {order_shipping_address_1}, {order_shipping_address_2}, {order_shipping_city}, {order_shipping_state}, {order_shipping_postcode}, {order_shipping_country}, {email_order_items_table}, {email_order_total_footer}, {order_billing_email}, {order_billing_phone}, {order_billing_address_1}, {order_billing_address_2}, {order_billing_city}, {order_billing_state}, {order_billing_postcode}, {order_billing_country}, {order_customer_note}, {local_pickup_location_name}, {local_pickup_location_address_1}, {local_pickup_location_address_2}, {local_pickup_location_postcode}, {local_pickup_location_city}, {local_pickup_location_state}, {local_pickup_location_country}, {local_pickup_location_phone}, {local_pickup_location_startdate}, {local_pickup_location_startdate}, {email_addresses}, {custom_field1}, {custom_field2}, {custom_field3}, {chkmanager_billing_1}, {chkmanager_billing_2}, {chkmanager_billing_3}, {chkmanager_shipping_1}, {chkmanager_shipping_2}, {chkmanager_shipping_3}, {chkmanager_additional_1}, {chkmanager_additional_2}, {chkmanager_additional_3}, {order_time}, {used_coupon}, {byc_delivery_date}, {byc_delivery_time}, {byc_delivery_type}, {ws_delivery_date}, {ws_delivery_time}, {ws_delivery_type}, {flex_billing_1}, {flex_billing_2}, {flex_billing_3}, {flex_shipping_1}, {flex_shipping_2}, {flex_shipping_3}, {flex_order_1}, {flex_order_2}, {flex_order_3}, {crockz_delivery_date}, {crockz_delivery_time}, {crockz_delivery_type}, {crockz_pickup_date}, {crockz_pickup_time}, {tyche_delivery_date}, {tyche_delivery_time}, {food_store_service_type}, {food_store_service_date}, {food_store_service_time}, {food_online_delivery_mode}, {food_online_delivery_time}, {food_delivery_date}, {food_delivery_time}, {food_delivery_method}, {od_ts_date}, {od_ts_timeframe} )

    Plugin Author Georgi Bakalski

    (@irdroid)

    I guess that the table number isn’t there as it isn’t added to woo instant notifications codebase but we can easily add it using the metadata from the food online plugin.

    Possibly tomorrow

    Thread Starter uk2021

    (@uk2021)

    That sounds great!

    Just so you know. The table number does appear on the Woo commerce built in order emails as standard. But your formatting is better than the integrated Woocommerce plain text email, but missing that short code for table number is not so good….

    I will Link this thread to the support I put on FOOD ONLINE to see if there is anything those developers could do to make their fields more translatable across plugins in the future.

    Thanks for your swift response (and on a Sunday too!)

    Appreciated ??

    Thread Starter uk2021

    (@uk2021)

    Just thinking ahead. I’m not sure if you’ll find that info in the basic plugin files. I don’t think Eat At Table is even demo’d on the basic plugin.

    Pretty sure I had to download a whole new “Pro” Plugin to use Eat At Table and disable the basic one.

    Let me know if I can help in any way.

    Plugin Author Georgi Bakalski

    (@irdroid)

    Correct, we can get the meta only if we get access to the site and enable logging to observe the metadata key

    Thread Starter uk2021

    (@uk2021)

    So how do we move forward?

    Plugin Author Georgi Bakalski

    (@irdroid)

    Yes , but tomorrow

    Thread Starter uk2021

    (@uk2021)

    Ok thanks Georgi!

    Plugin Author Georgi Bakalski

    (@irdroid)

    Thanks for the comment and support. Can you send me a message via Whatsapp +359890325649 to do the table number

    Thread Starter uk2021

    (@uk2021)

    I’m not on whatsapp.
    I’ll add your number to my phone and see if you appear on Telegram or Signal.

    Cheers

    Hello, we updated our DOKU with meta data info concerning table number. See here:
    https://arosoft.se/wordpress-plugins/documentation-food-online-premium/#elementor-toc__heading-anchor-52

    Plugin Author Georgi Bakalski

    (@irdroid)

    In this case you will have to manually edit the php file class

    /wp-conntent/plugins/woo-instant-notifications/admin/class-wcnotifications-instance.php

    find the line related to food online

    $this->placeholders[‘{food_online_delivery_time}’] = $this->object->get_meta(‘fdoe_picked_time’);

    Should be line 420
    and after that line add:

    $this->placeholders[‘{food_online_table}’] = $this->object->get_meta(‘_billing_table’);

    save the file
    then edit your template and add the following shortcode to display table number:

    {food_online_table}

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘FOOD ONLINE – Shortcodes’ is closed to new replies.