Integration & Printer Setup

 

We go over the basics and show you the necessary steps needed after signing up. We’ll explore other areas from sending a test order (to ensure everything is in working order), to setting up our plugin extensions.

Use the table of contents below to select your topic of interest.

How to build an order status page for customers

WordPress WooCommerce integration with PrinterCo - Tablet POS printers

In this tutorial, we’ll show you how you can get the Order ID, Order Status and the time the order was Accepted For, so that you can notify your customers soon after the kitchen processes the request.

You probably had to create a Notify URL page when setting up our plugin for WooCommerce.  The shortcode in this page triggers a function that retrieves certain data for the most recent order, one of which is the Order Status. The function then saves this data into the database of your website.

So, what we will be doing is accessing this database, and then check every 20 seconds to see if the order status has been updated from Pending to either Accepted or Rejected. This code will be placed in the WooCommerce thankyou.php page so the customer can see the updates immediately after placing an order.

Purpose of the Notify URL

Let's Get Started!

 Step 1 – Install the “INSERT PHP CODE SNIPPET” plugin
  1. Download the free version. Upload, install and activate it for your WordPress site.
 Step 2 – Create The Shortcode
  1. From the WordPress panel on the left, scroll down to XYZ PHP Code > PHPCode Snippets.
  2. Click the Add New PHP Code Snippet button.
 Step 3 – Copy & Paste Code
  1. Enter a name for your shortcode.
  2. Copy and paste the code snippet below into the PHP code field.
[g5plus_space desktop=”90″ tablet=”70″ tablet_portrait=%

Enter your keyword