kilbot
Forum Replies Created
-
Hi, I have recently answered similar question to this, please see this comment for directions on how to add the invoice number to the receipt template.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] WC Vendors compatibilityHi Felipe, I have had several requests for similar features, ie: assigning products and cashiers to a particular store. It is on the roadmap for future versions but I don’t have a timeframe for this … as you note, the plugin is still in the early stages so there are a lot of basic features I need to add before I can get to niche requirements.
Please keep an eye on the Roadmap for infromation on what’s currently being worked on. If you have any more feature requests please feel free to post them in the comments section on the website.
You could try some debugging on that
woocommerce_api_order_response, eg:function add_wpo_wcpdf_invoice_number($data, $order){ $data['wpo_wcpdf_invoice_number'] = 'test'; return $data; } add_filter( 'woocommerce_api_order_response', 'add_wpo_wcpdf_invoice_number', 10, 2 );WooCommerce POS uses the WC REST API. Ideally the WooCommerce PDF Invoices & Packing Slips plugin should be updated to be compatible with the API, alternatively the user can use a filter in their functions.php file, eg:
function add_wpo_wcpdf_invoice_number($data, $order){ global $wpo_wcpdf; $data['wpo_wcpdf_invoice_number'] = $wpo_wcpdf->export->get_invoice_number($order->id); return $data; } add_filter( 'woocommerce_api_order_response', 'add_wpo_wcpdf_invoice_number', 10, 2 );The above is untested but should add the invoice number to the order response.
Now, you just need to add that new variable to your POS receipt template:
<tr> <th><?php /* translators: woocommerce */ _e( 'Order Number', 'woocommerce' ); ?></th> <td>{{order_number}}</td> </tr> <tr> <th><?php _e( 'Invoice Number:', 'wpo_wcpdf' ) ?></th> <td>{{wpo_wcpdf_invoice_number}}</td> </tr>Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] Syntax ErrorPlease post any fixes as it may help other users having this problem.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] Syntax ErrorThe plugin WooCommerce Waitlist is throwing an error at the reference given. I don’t have access to the source code of that plugin, so I can’t say what’s causing the issue.
You could temporarily disable that plugin to stop the error. Then you can either post that line of code here and I will help you debug it. If you don’t know how to find that line of code you should contact support for WooCommerce Waitlist and ask them to assist you.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] Issues with AndroidThere’s a FAQ on browser compatibility which you may find useful: http://woopos.com.au/faq/browser-compatibility/
WooCommerce POS has been tested and is working on iOS 8.3. Some users have reported your error and it is due to Private Browsing, please make sure you disable Private Browsing.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] POS not showing in adminI am! .. if it’s not to long I could do a quick search and see if there is another plugin playing with the order.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] POS not showing in adminActually, I just saw the end of that line of code, ie: the
active_pluginsfilter. It’s likely that another plugin is filtering the database array to sort the loading order .. probably for a similar reason – they want their plugin to load first.I’ll do some tests and apply a patch for the 0.4.1.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] POS not showing in adminI’m not adverse to applying a fix if it is a wide spread problem.
Your solution is fine, but it still requires a certain configuration, ie: it checks for ‘woocommerce/woocommerce.php’.
It’s possible that some other plugin you have installed is rearranging the active plugins array. If it’s not too much trouble it would be great of you could go to your mysql db and get the
active_pluginsfield from theoptionstable. That will contain a serialized array of the plugins.In the meantime, I do some tests on a different approach.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] POS not showing in adminThanks Chris, that is the correct cause of the issue.
Active plugins are sorted alphabetically in the database so in a standard set up woocommerce will be sorted after WooCommerce POS, ie:
woocommerce-pos/woocommerce-pos.php woocommerce/woocommerce.phpThe problem occurs when woocommerce is in a non standard directory for some reason, eg:
woocommerce-2.2.6/woocommerce.php woocommerce-pos/woocommerce-pos.phpIn these cases you can rename the folder to
woocommerce-v2.2.6which will then be sorted alphabetically again.Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] Discount Option errorOh, bookable products are not supported by the WC REST API or WooCommerce POS at this time. I have had many requests to support Bookable products and will look at integrating them after version 1.0.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] Discount Option errorIt sounds like you have created a product with regular price of 0 and a sale price of $28. So in this case the subtotal is 0 and the cart discount is +28. Also, since 10% of 0 is 0, applying a discount will result in a sale price of 0.
If you wish to adjust the regular price on-the-fly you can open the product ‘drawer’ and adjust the price there. For example, changing the regular price to $28 will make the subtotal $28 and cart discount 0.
I hope that makes sense.
Forum: Plugins
In reply to: [WCPOS - Point of Sale (POS) plugin for WooCommerce] SyntaxErrorThis means you are using an old version of PHP – 5.2. You could ask your web host to update your PHP (highly recommended) .. or you could wait for WooCommerce POS 0.4.1.