What it Does
Shop as Customer allows a store Administrator or Shop Manager to shop the front-end of the store as another User, allowing all functionality such as plugins that only work on the product or cart pages and not the Admin Order page, to function normally as if they were that Customer.
Once installed, the Administrator can easily switch to another user with 2 clicks, then shop the store as that user would see it, with all functionality and plugins that would only be visible to that user, working perfectly.
Such as those that work with User roles, inputting custom variables (meta) on product order that are not supported in the Admin Orders screen, etc. This enables incredibly quick and simple manual order creation. And with another click they can switch back to the Administrator or Shop Manager.
Once a cart is created for a User while shopping as them, instead of seeing only the pay button on the checkout page, the Administrator or Shop Manager now has convenient buttons to also email the invoice directly to that User for payment or link to the Order created in the Admin section.
- Quickly switch to any Customer
- View and use your store as that Customer
- Quickly switch back to Administrator
- Works with plugins specific to Product & Cart pages or Users.
- Create and send Invoices easily and quickly
- No more fighting with the Admin Orders screen!
Changelog: = 2.09 = * Replace deprecated `woocommerce_get_page_id()` with `wc_get_page_id()`. = 2.08 = * Fix the the Select2 to Customer Search to work with the WC3.0 changes. * Use WC Order object methods instead of accessing properties directly (WC3.0 compatibility). * Add helper functions for WC backwards compat. = 2.07 = * Fixed 'wp_login' action call - added required second arg to the action call `$user object`. * Fix modal display CSS using Shop as Customer from the front end of some themes (e.g. The Retailer). = 2.06 = * Fixed issue where Switch Back bar was not showing in some themes e.g. Divi. * Added Switch Back link next to the users name in the top right of the admin bar (if the admin bar is showing). * Added a setting to enable/disable the Switch Back bar. = 2.05 = * Revert back to switching on `init` so that we switch as early as possible. * Add `do_action( 'wp_login' )` in case other plugins have hooked to this and needs to do custom actions. * Rather use `get_total()`, not `calculate_totals()` - the totals should already be calculated at that point as the order is already created. Using `calculate_totals()` may cause problems. * Always check if 'woocommerce_admin_styles' is loaded and if it's not then make sure we load our own WooCommerce Select2 CSS so that the search interface is not initialized with no CSS to style it. ... continued in readme.txt with the plugin.