Mobile app order notifications
-
Hey guys,
We are trying to create POS system for a client of ours and since they have multiple locations we are assigning the orders to specific locations, then we have the users assigned to specific locations.
When a customer checkout on the site, they select location.
Example:
User A – Location 1
User B – Location 2If the user at checkout selects Location 1 we assign that order to user A, but the official WooCommerce Mobile app also sends notifications to user B.
We are using the rest API filter to hide the orders that are not supposed to be seen but we cant prevent the notification from sending.
Is there any workaround for this? The alternative is to deploy our own version of the app and do validation before sending the notification if the user has permission to see the order.
Mitko
-
Hello there,
To take a better look, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?
Thanks.
Hey Igor,
here it is:
### WordPress Environment ### WordPress address (URL): https://ala-shop.coders.network Site address (URL): https://ala-shop.coders.network WC Version: 6.1.0 REST API Version: ? 6.1.0 WC Blocks Version: ? 6.5.1 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.0.3 Log Directory Writable: ? WP Version: 5.8.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.2.34 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.79.1 OpenSSL/1.1.1m SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.32-MariaDB Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.1.0 WC Database Prefix: wp_ Total Database Size: 11.09MB Database Data Size: 8.51MB Database Index Size: 2.58MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.09MB + Index: 0.13MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 4.02MB + Index: 0.09MB + Engine InnoDB wp_postmeta: Data: 0.20MB + Index: 0.17MB + Engine InnoDB wp_posts: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### acf-field: 1 acf-field-group: 1 attachment: 22 mailpoet_page: 1 page: 7 post: 3 product: 19 revision: 1 shop_order: 43 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (8) ### WooCommerce Multi Locations Inventory Management: by Techspawn Solutions – 3.0.3 Advanced Custom Fields PRO: by Delicious Brains – 5.11.4 Jetpack: by Automattic – 10.5 MailPoet 3 (New): by MailPoet – 3.76.0 WC ALA Rest: by Webpigment – 1.0.0 WooCommerce Payments: by Automattic – 3.5.0 WooCommerce Shipping & Tax: by WooCommerce – 1.25.20 WooCommerce: by Automattic – 6.1.0 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #6 - /shop/ Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Storefront Version: 3.9.1 Author URL: https://woocommerce.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### Subscriptions ### WCS_DEBUG: ? No Subscriptions Mode: ? Live Subscriptions Live URL: https://ala-shop.coders.network Subscription Statuses: – WooCommerce Account Connected: ? No ### Store Setup ### Country / State: United States (US) — New York ### Payment Gateway Support ### Direct bank transfer: products ### WooCommerce Payments ### Version: 3.5.0 Connected to WPCOM: Yes Blog ID: 201418369 Account ID: - ### Action Scheduler ### Complete: 272 Oldest: 2022-01-05 14:15:49 +0000 Newest: 2022-01-18 09:00:04 +0000 Pending: 1 Oldest: 2022-01-18 11:00:04 +0000 Newest: 2022-01-18 11:00:04 +0000 ### Status report information ### Generated at: 2022-01-18 10:56:20 +00:00
Hello,
If the user at checkout selects Location 1 we assign that order to user A, but the official WooCommerce Mobile app also sends notifications to user B.
To clarify, are those user A and user B shop/location managers?
If a customer chooses location A at checkout, you’d like to assign the order to location A, and only the manager of location A can see that order? If yes, that’s related to the plugin below. You’d want to reach out to the developer of the plugin directly for further assistance.WooCommerce Multi Locations Inventory Management: by Techspawn Solutions – 3.0.3
Hey @maykato,
I get that, this is not a WooCommerce core feature. My question is more about where is the trigger located in the connection between Jetpack and our store. Then we can manually prevent sending the notifications from our store?
Mitko
Hi @webpigment
It looks like the plugin that Maykato mentioned, handles these notifications since one of their options is to:
Orders emails to the Locations email ID and WooCommerce locations Managers when an order is assigned to them
I’d recommend checking out directly with them on how to prevent these notifications from being sent!
My very best,
@chiape I’m talking about the mobile app on-screen notifications. I did some more testing and it looks like wordpress.com sends the notification to every connected user as I used filters to prevent the notification from going out. Here is a screenshot of which notification I’m trying to remove from specific users connected to the app through jetpack. https://ala-shop.coders.network/wp-content/uploads/2022/01/viber_image_2022-01-20_13-24-28-851-1.jpg
Hi @webpigment!
This is a fairly complex development topic.
I recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.
You can also visit the WooCommerce Facebook group or the
#developers
channel of the WooCommerce Community Slack.We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.
I am also getting a 403 error on your site, this may be related to your .htaccess file. I’d recommend checking it first!
Thank you!
- The topic ‘Mobile app order notifications’ is closed to new replies.