Closed wintherd closed 8 years ago
If you use the woocommerce_api_create_order_data
filter you have access to the raw order data. You could then loop through the line_items
and look for the line item meta
. This is the method I use in the core POS plugin, see class-wc-pos-orders.php.
re: WooCommerce Bookings This is the most requested integration for WooCommerce POS, which means it will almost certainly be coming ... right after version 1.0. Currently the focus is on core POS features, such as coupons, refunds, reports, offline etc. Once the core features are stable then I can start to look at third party integrations.
Closed, duplicate of https://github.com/kilbot/WooCommerce-POS/issues/48
Paul-
Thanks for the update. I'll have a look at the noted code.
Hope you are making good progress toward version 1.
Regards,
Doug Winther
On Fri, Nov 6, 2015 at 7:00 PM, Paul Kilmurray notifications@github.com wrote:
If you use the woocommerce_api_create_order_data filter you have access to the raw order data https://woothemes.github.io/woocommerce-rest-api-docs/#create-an-order. You could then loop through the line_items and look for the line item meta. This is the method I use in the core POS plugin, see class-wc-pos-orders.php https://github.com/kilbot/WooCommerce-POS/blob/master/includes/api/class-wc-pos-orders.php .
re: WooCommerce Bookings This is the most requested integration for WooCommerce POS, which means it will almost certainly be coming ... right after version 1.0. Currently the focus is on core POS features, such as coupons, refunds, reports, offline etc. Once the core features are stable then I can start to look at third party integrations.
— Reply to this email directly or view it on GitHub https://github.com/kilbot/WooCommerce-POS/issues/113#issuecomment-154607560 .
if anyone has made any progress on this please let me know we are looking for a solution asap and are willing to hire or work with anyone to get this out there and available
On the Wordpress Woocommerce POS support forum kilbot noted: "Adding custom fields to the POS is not feasible at this time, however, you should be able to use the meta fields to send extra information to the server. Please open an issue on GitHub and I will give you some example code to retrieve the meta field data during order creation."
I would be interested in seeing any example code available.
At the same time, I wonder if it is feasible to consider integrating Woocommerce POS with the Woocommerce Booking - Manual Booking feature. Manual booking allows the site administrator to select an available product from the booking calendar and then to connect the booking to a payment by selecting a payment method. If Woocommerce POS could be available as a payment method, the booking could be more easily connected to the POS payment. For this to operate properly the POS payment method would need to accept a selected product from the manual booking function.
If you do not have access to an installed Woocommerce Booking system to see the Manual Booking feature I have described above, please let me know and I can give you access to a non-production site running WC Booking and WC POS.