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.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. = 2.04 = * Shop as Customer now works with our other useful plugin - Create Customer on Order - which means you can Create a New Customer and instantly switch to, and shop as, that new customer. * Fixed issue where some html elements would appear un-styled on the products page when logged-in with a high enough user-role to be able to use Shop as Customer. * Fixed issue where even though the main user had checked "Remember Me" during login, after switching to and back form a user you may not have your login remembered so would have to log back in after a few short days. * Added class `.cxsac-shop-as-customer` that will call the switch-to-customer modal from any element that has the classname. This allows you to popup the modal from more places. * Change the switch action to happen on `init` which causes notices when DEBUG is on, because the WC doesn't like the cart being used too early in WP execution. = 2.03 = * Added an option to "Autofocus Customer Search - Autofocus the Customer Search field as the Switch To Customer modal opens (can speed up usability)". This functionality was part of the initial 2.0 release but we've decided to make it optional and turn it off by default. ... continued in readme.txt with the plugin.