Comprar como Cliente para WooCommerce

Descrição

Permite que um administrador ou gestor de loja WooCommerce utilize o frontend e atribua uma nova encomenda a um cliente previamente registado ou a um novo cliente, tirando partido de todas as funcionalidades da ĂĄrea pĂșblica da loja que podem nĂŁo existir na ĂĄrea reservada, o que pode ser muito Ăștil para encomendas por telefone ou email.

A encomenda serå automaticamente associada a um cliente registado se o endereço de email coincidir. Se não for encontrado um cliente registado, o gestor da loja pode decidir criar um novo utilizador ou deixar a encomenda como se tivesse side inserida por um utilizador sem registo.

Dois novos campos são adicionados à secção de facturação da finalização da compra, para administradores e gestores de lojas com sessão iniciada.

Funcionalidades

  • Introduzir encomendas por email ou telefone directamente na ĂĄrea pĂșblica da loja;
  • Criar encomendas para clientes existentes se o endereço de email existir na base de dados de clientes;
  • Escolher entre criar um novo utilizador ou deixar a encomenda como se fosse inserida por um visitante se o endereço de email nĂŁo existir na base de dados de clientes;
  • Compatibilidade com a finalização baseada em blocos do WooCommerce

Funcionalidades do add-on PRO

AlĂ©m de tudo o que pode fazer com o plugin gratuito, o add-on pago oferece-lhe um nĂșmero adicional de funcionalidades:

  • Procurar o cliente por endereço de email (na tabela de utilizadores e opcionalmente tambĂ©m em encomendas anteriores) e preencher os campos de finalização de encomenda automaticamente;
  • Gateway de pagamento falsa que permite aos administradores e gestores de loja finalizar a encomenda, e solicitar o pagamento da mesma enviando ao cliente um link via email;
  • Funcionalidade de autocompletar enquanto se escreve o email, primeiro nome, Ășltimo nome, empresa ou nĂșmero de telefone do cliente.
  • Mostrar quem tratou da encomenda e permitir filtrar por tratador na lista de encomendas na ĂĄrea de administração
  • Filtro para programadores para adicionar campos de utilizador aos dados de finalização de encomenda automaticamente preenchidos;
  • Integração com o User Switching para beneficiar do facto que o cliente estĂĄ com o login efectuado e ao mesmo tempo usar as funcionalidades do nosso plugin, como a gateway de solicitação de pagamento e informação do vendedor.
  • Possibilidade de iniciar a encomenda com o formulĂĄrio de finalização de encomenda em branco;
  • Definir valores por omissĂŁo para os campos “Comprar como cliente” e “Criar utilizador”;
  • Opção para actualizar os detalhes do cliente no seu perfil;
  • Get custom fields from:
  • Suporte tĂ©cnico;
  • Desenvolvimento continuado;

Agora disponĂ­vel em licenciamento lifetime

Teste o PRO Add-on gratuitamente aqui!

Outros plugins (premium)

JĂĄ conhece os nossos outros plugins WooCommerce (premium)?

Instalação

  • Use a funcionalidade de instalação automĂĄtica na ĂĄrea de plugins do WordPress e pesquise por “Shop as Client”.

Perguntas frequentes

Como definir “Comprar com cliente” como “Não” por omissão?

Adicione isto ao ficheiro functions.php do seu tema (filho), ou use o PRO add-on.

Como definir “Criar utilizador” como “Sim” por omissão?

Adicione isto ao ficheiro functions.php do seu tema (filho), ou use o PRO add-on.

Que papĂ©is de utilizadores tĂȘm acesso Ă  funcionalidade “Comprar como cliente”?

Os Administradores e Gestores de loja podem usar a opção “Comprar como cliente” na finalização de compra.
Adicione isto ao ficheiro functions.php do seu (child) theme se quiser autorizar outros papéis de utilizadores a usar esta funcionalidade.

Estou a atribuir descontos com base no utilizador ou no seu papel. Isto vai funcionar?

NĂŁo. Sim. É complicado…

O utilizador autenticado Ă© o Administrador ou Gestor de loja. NĂŁo Ă© possĂ­vel integrar com as vasta quantidade de plugins de descontos baseados no utilizador ou papel de utilizador quando quem estĂĄ autenticado nĂŁo Ă© o cliente, pelo que qualquer desconto desse tipo nĂŁo serĂĄ aplicado.

De qualquer forma, o nosso PRO add-on integra com o plugin User Switching e define o Administrador ou Gestor de loja que mudou de login para a conta de cliente como quem tratou da encomenda na finalização de compras, permitindo assim beneficiar do facto que o cliente estå com o login efectuado e ao mesmo tempo usar as funcionalidades do nosso plugin, como a gateway de solicitação de pagamento e informação do vendedor.

Este plugin Ă© compatĂ­vel com o novo armazenamento de encomendas de alto desempenho do WooCommerce?

Sim, a partir da versĂŁo 2.1.

Este plugin jå é compatível com o Carrinho e Finalização de Compras do WooCommerce baseados em blocos?

Sim, na versĂŁo Gratuita a partir da versĂŁo 3.5 e no add-on PRO a partir da versĂŁo 3.6

LimitaçÔes conhecidas:

  • Apenas os campos do core do WooCommerce sĂŁo gravados para o utilizador da encomenda, e nĂŁo campos personalizados ou de 3rd party, se se passar true para o filtro shop_as_client_update_customer_data;
  • No warning about the lack of information on the “Order Received” / “Thank You” page on WooCommerce 7.8.1 and above;
  • Add-on PRO: o filtro shop_as_client_pro_customer_data nĂŁo funciona;
  • Reporte-nos se encontrar mais limitaçÔes usando o fĂłrum de suporte;

Posso contribuir com uma tradução?

Claro. Vai ao GlotPress e ajuda-nos.

Onde reporto vulnerabilidades de segurança encontradas neste plugin?

Pode reportar bugs de segurança encontrados no código fonte deste plugin através do Patchstack Vulnerability Disclosure Program. A equipa do Patchstack irå ajudar com a verificação, atribuição de CVE e tratarå de nos notificar.

Mais FAQs

Veja as FAQs do add-on PRO

AvaliaçÔes

14 Dezembro, 2020 1 resposta
Great plugin and even greater support. Had a couple of queries and Marco was right on them. Impecable service.
15 Fevereiro, 2020 1 resposta
I will save millions of seconds of your life. An excellent plugin. Take care of its development please! Thanks so much!
7 Janeiro, 2020 1 resposta
We decided to buy the pro version straight away, and it works really well. It helps our agents for hours. Also Guest users are the information quickly took over in the latest update. Support is very very very quick!
Ler todas as 9 avaliaçÔes

Contribuidores e programadores

“Comprar como Cliente para WooCommerce” Ă© software de cĂłdigo aberto. As seguintes pessoas contribuĂ­ram para este plugin:

Contribuidores

“Comprar como Cliente para WooCommerce” foi traduzido para 7 locales. Obrigado aos tradutores pelas suas contribuiçÔes.

Traduza o “Comprar como Cliente para WooCommerce” para o seu idioma.

Interessado no desenvolvimento?

Consulte o código, consulte o repositório SVN, ou subscreva o registo de alteraçÔes por RSS.

Registo de alteraçÔes

6.5 – 2025-08-04

  • [NEW] PRO add-on: Allow administrators to edit the handler on the order edit screen
  • [DEV] New action shop_as_client_after_order_handler after the handler name on the order edit screen
  • [DEV] PRO add-on: Requires Shop as Client 6.5
  • [DEV] Tested with WordPress 6.9-alpha-60536 and WooCommerce 10.1.0-rc.2

6.4 – 2025-07-21

  • [DEV] PRO add-on: Updater improvements (v11.0) to check for expired licenses
  • [TWEAK] PRO add-on: Disable “Request payment by email” gateway, and add alert warnings, if the license is expired

6.3 – 2025-06-27

  • [NEW] PRO add-on: Warn Administrators and Shop Managers, on the checkout, about the “Request payment by email” gateway, and that it should be used whenever the customer wants to pay by Credit Card, PayPal, or any other method that requires access to sensible information
  • [TWEAK] PRO add-on: Better “Request payment by email” default description
  • [FIX] PRO add-on: Account for situations where the checkout nonce is not called woocommerce-process-checkout-nonce but _wpnonce
  • [FIX] Use woocommerce_checkout_fields instead of woocommerce_billing_fields to add our fields, because in some edge cases is_checkout() would not work and the Shop as Client fields stopped showing on the checkout (free version)
  • [DEV] PRO add-on: Minor coding standards fixes on the functions.js file
  • [DEV] Tested with WordPress 6.9-alpha-60355 and WooCommerce 10.0.0-rc.1

6.2 – 2025-06-22

  • [TWEAK] PRO add-on: Optimization – set several options to not be autoloaded
  • [DEV] PRO add-on: Create update routines mechanism
  • [DEV] PRO add-on: Remove SHOPASCLIENT_PRO_REQUIRED_WC constant and use the free plugin SHOPASCLIENT_REQUIRED_WC
  • [DEV] PRO add-on: Requires Shop as Client 6.0
  • [DEV] Tested with WordPress 6.9-alpha-60331 and WooCommerce 9.9.4

6.1 – 2025-04-14

  • [NEW] We are now called Naked Cat Plugins đŸ˜»

6.0 – 2025-03-08

  • [NEW] PRO add-on: Build user meta index for better autocomplete search results (automatically updated when user is created or changed, but can also be triggered for all users on the settings or via WP-CLI with wp shop-as-client-pro rebuild-users-index)
  • [TWEAK] PRO add-on: Set default number of the autocomplete returned results to 10 instead of 5
  • [TWEAK] PRO add-on: Remove the “Search on users without WC meta” option and make it the default behaviour
  • [DEV] Tested with WordPress 6.8-beta1-59952 and WooCommerce 9.8.0-beta.1

5.1 – 2025-02-19

  • [NEW] Add developer filters to the Shop as Client fields classes
  • [FIX] PRO add-on: Better Simple Checkout Fields Manager for WooCommerce integration
  • [FIX] PRO add-on: Updater: avoid duplicate translation notices and remove from .org updater calls
  • [FIX] PRO add-on: Remove a link from the “Request payment by email” payment gateway description
  • [FIX] PRO add-on: License validation on websites with WPML set to have different domains per language
  • [TWEAK] PRO add-on: Only search on orders address index meta field for better performance
  • [DEV] Simplify 3rd-party plugin checks
  • [DEV] Remove WooCommerce 7.1 or above tests as we’re not supporting lower versions anyway
  • [DEV] Tested with WordPress 6.8-alpha-59837 and WooCommerce 9.7.0-rc.1

5.0 – 2024-12-17

4.0 – 2024-11-22

  • [NEW] PRO add-on: Better User Switching integration: Allows switching after searching and finding a customer on the checkout, and transferring the current cart to the customer user, thus allowing the use of specific customer account functionalities, for example, use points from the “Points and Rewards” plugin, and then switch back to the original Administrator or Shop Manager user on the order received (thank you) page
  • [FIX] Order as a guest on the blocks checkout
  • [FIX] Load text domain at the right time to avoid PHP notices on WordPress 6.7 and above
  • [FIX] Several minor fixes, including PHP notices and translation strings
  • [DEV] PRO add-on: License validation on websites with WPML set to have different domains per language
  • [DEV] Requires PHP 7.4, WordPress 5.8, and WooCommerce 7.1
  • [DEV] Tested with WordPress 6.8-alpha-59448, WooCommerce 9.5.0-beta.1, and User Switching 1.9.0

3.7 – 2024-09-27

  • [FIX] PRO add-on: Make sure OrderUtil is only performed if WooCommerce 7.1 or above is being used
  • [DEV] Tested with WordPress 6.7-alpha-59098 and WooCommerce 9.3.3
  • WARNING: We will soon drop support for WooCommerce below 7.1

3.6.1 – 2024-04-17

  • [FIX] Fatal error on the classic checkout page

3.6 – 2024-04-17

  • [NEW] PRO add-on: Compatibility for the WooCommerce block-based Checkout
  • [DEV] Several fixes on the blocks integration for compatibility with the PRO add-on
  • [DEV] Tested with WordPress 6.6-alpha-58011 and WooCommerce 8.8.1

3.5.1 – 2024-04-05

  • [FIX] Avoid fatal error when trying to load the blocks integration on older WooCommerce versions
  • [DEV] Add “Requires Plugins” header
  • [DEV] Tested with WordPress 6.6-alpha-57928 and WooCommerce 8.8.0-rc.1

3.5 – 2024-03-04

  • [NEW] BETA compatibility for the WooCommerce block-based Checkout (only on the Free version for now)
  • [DEV] Tested with WordPress 6.5-beta3-57738 and WooCommerce 8.7.0-beta.2

3.4 – 2024-02-20

  • [DEV] Change plugin loading priority
  • [DEV] PRO add-on: Requires Shop As Client (free) 3.4
  • [DEV] Requires WooCommerce 5.4 or above
  • [DEV] Tested with WordPress 6.5-beta1-57656 and WooCommerce 8.6.0

3.3 – 2024-01-29

  • [DEV] PRO add-on: Deprecate non-autocomplete search method on the checkout
  • [DEV] PRO add-on: Plugin updater improvements

3.2 – 2024-01-23

  • PRO add-on: Better feedback when the license is expired
  • Tested with WordPress 6.5-alpha-57299 and WooCommerce 8.5.1

3.1 – 2023-12-19

  • PRO add-on: Better User Switching integration: Blocks Checkout compatibility and “switch back to admin” links on the order received (thank you) page

3.0 – 2023-12-15

  • PRO add-on: User Switching integration
  • Small adjustments on the order edit screen information code

2.8.1 – 2023-12-15

  • Fix fatal error when performing the ajax search call in the checkout, with HPOS enabled
  • Fix PHP notices

2.8 – 2023-12-15

  • PRO add-on: Show handler and allow filtering by handler on the admin orders list, now compatible with HPOS
  • PRO add-on: Hide license key from shop managers (only available for users with “manage_options” capabilities, normally Administrators)
  • Small internal changes to better integrate with the PRO add-on and a future Funnelkit integration
  • Tested with WordPress 6.5-alpha-57189 and WooCommerce 8.4

2.7 – 2023-11-27

  • PRO add-on: Update plugin translations online instead of shipping them with the main plugin
  • PRO add-on: HTML tag closing fix on the settings page
  • Requires WordPress 5.4
  • Tested with WordPress 6.5-alpha-57137 and WooCommerce 8.3.1

2.6 – 2023-10-12

  • Do not show other plugins promotion banner if the PRO add-on is active
  • Testado com WordPress 6.4-beta2-56809 e WooCommerce 8.2.0

2.5 – 2023-08-01

  • PRO add-on: Fix two fatal errors (print_f and sprint_f instead of printf and sprintf)

2.4 – 2023-07-25

  • PRO add-on: New autocomplete option to try to find users by registration first name, last name, and email if not found by WooCommerce meta.
  • PRO add-on: Fix a bug where the autocomplete would not be activated if the “Shop as client field default” option is set no “No”
  • Testado com WordPress 6.3-RC1-56289 e WooCommerce 8.0.0-beta.1

2.3.1 – 2023-07-14

  • Fix updater for PRO add-on users

2.3 – 2023-07-14

  • Warning about the lack of information on the “Order Received” / “Thank You” page on WooCommerce 7.8.1 and above
  • PRO add-on: Show the “Order Received” / “Thank You” page on WooCommerce 7.8.1 and above
  • Remove the InvoiceXpress banner and add the Simple Order Approval for WooCommerce one
  • Fix jQuery deprecation notice

2.2 – 2023-07-07

  • PRO add-on: Exclude some 3rd party plugin fields from being cleared from the checkout when the “Clear checkout fields” option is set to “Yes”, and a new shop_as_client_empty_checkout_field_exclusions filter to allow developers to add more fields to the exclusions
  • Tested with WooCommerce 7.9.0-rc.3

2.1 – 2023-05-13

2.0 – 2022-10-13

  • PRO add-on: Show handler and allow filtering by handler on the admin orders list
  • Tested with WordPress 6.1-RC1-54506 and WooCommerce 7.0

1.9.2 – 2022-07-28

1.9.1 – 2022-07-28

  • Fixed a bug that would assign an order to a random user if no email address was provided
  • Better feedback when no email address is provided
  • PRO add-on: Create user without checking out
  • New filter shop_as_client_user_email_if_empty to allow developers to provide an email address programmatically when none is provided by the user
  • Only show the InvoiceXpress nag for portuguese stores
  • Requires WordPress 5.0 and WooCommerce 4.0 or above
  • Tested with WordPress 6.1-alpha-53789 and WooCommerce 6.8.0-beta.2

1.9.0 – 2022-07-28

  • Unreleased version with a bug

1.8.0 – 2022-05-05

  • New brand: PT Woo Plugins đŸ„ł
  • Tested with WooCommerce 6.5.0-rc.1 and WordPress 6.0-beta2-53236

1.7.2 – 2021-05-21

  • PRO add-on: Fix on the payment gateway: stock behaviour when setting the order “On hold”

1.7.1 – 2021-05-21

  • PRO add-on: Fix on the payment gateway: “On hold” orders should be payable

1.7.0 – 2021-05-21

  • PRO add-on: New fake payment gateway option to set the order “On hold” instead of “Pending” after the checkout
  • PRO add-on: Greek translation
  • Small code fixes
  • Drop support for WooCommerce below 3.0
  • Requires PHP 7
  • PRO add-on: Add the “Update URI” header
  • Tested with WordPress 5.8-alpha-50943 and WooCommerce 5.4-beta.1

1.6.6 – 2021-03-10

  • Tested with WordPress 5.8-alpha-50516 and WooCommerce 5.1.0

1.6.5

  • PRO add-on: Hebrew translation (Thanks fixerwolfe)
  • Tested with WordPress 5.7-alpha-49862 and WooCommerce 5.0.0-beta.1

1.6.4

  • PRO add-on: Add option to not send the payment request email on the fake payment gateway
  • readme.txt update
  • Tested with WordPress 5.5-RC1-48708 and WooCommerce 4.4.0-beta.1

1.6.3

  • PRO add-on: Make Autocomplete enabled by default and no longer beta
  • PRO add-on: Fix WooCommerce EU VAT Number integration
  • Tested with WordPress 5.5-alpha-47609 and WooCommerce 4.1.0-rc.1

1.6.2

  • PRO add-on: Use WooCommerce Ajax endpoint instead of WordPress admin-ajax.php
  • Tested with WordPress 5.5-alpha-47547 and WooCommerce 4.0.1

1.6.0

  • PRO add-on: New Autocomplete (BETA) feature while typing the customer email, first name, last name, company or phone number
  • Tested with WooCommerce 4.0.0-rc.1

1.5.3

  • New shop_as_client_update_customer_data filter so that developers can allow the customer details to be updated on their profile;
  • PRO add-on: New setting to update the customer details on his profile;

1.5.2

  • Changes on the InvoiceXpress banner

1.5.1

  • Bugfix: PHP notice

1.5.0

  • PRO add-on: New (fake) payment gateway that allows administrators and shop managers to finalize the order and ask for the order payment by sending the customer a payment link via email

1.4.0

  • PRO add-on: Get customer details from orders if not found as a user, useful if you want to insert an order for a client that previously shopped as a guest
  • PRO add-on: New shop_as_client_pro_search_order_statuses filter to limit the order statuses where the customer is searched (if not found as a user)
  • PRO add-on: Get VAT number from WooCommerce EU VAT Number

1.3.0

  • Hide “Create user” when “Shop as client” is set to “No”
  • Add version number when loading the javascript functions file
  • Sync version number with the PRO add-on
  • Fix Tested up to tag

1.0.4

  • Tested with WordPress 5.3.3-alpha-46995 and WooCommerce 3.9.0-rc.1

1.0.3

  • Fix version number

1.0.2

  • PRO add-on announcement

1.0.1

  • Fix fatal error

1.0

  • Preparation for the, soon to be released, PRO add-on
  • Search the customer also by billing email in addition to the profile email
  • Invoicing with InvoiceXpress for WooCommerce nag
  • Tested with WordPress 5.3.1-alpha-46798 and WooCommerce 3.8.1

0.6

  • Tested with WordPress 5.2.5-alpha and WooCommerce 3.8.0

0.5

  • Fix the order handler information – we now store it on a specific custom field and it will only be available for orders created after this plugin version
  • Prevent the logged in user details to be updated with the client details

0.4

  • Show the order handler on the order edit screen (Thanks Albert Amar / Israprods)
  • New shop_as_client_allow_checkout filter so that developers can allow other user roles to use the “Shop as client” functionality (Thanks CJ Ratliff / A+ Media for suggesting this)
  • Tested with WordPress 5.2.3-alpha-45552 and WooCommerce 3.7.0-beta.1
  • WordPress 4.9 minimum requirement
  • PHP 5.6 minimum requirement
  • Translations update

0.3

  • Force field defaults
  • Update readme.txt
  • Fix plugin version number
  • Tested with WordPress 5.1.1 and WooCommerce 3.6.2

0.2

  • The generated password for a new user account is now sent via email, unless false is returned to the shop_as_client_email_password filter
  • The username will be generated from the email (text before @) if the “When creating an account, automatically generate a username from the customer’s email address” WooCommerce option is checked, otherwise the whole email is used as username
  • Bumped WC tested up to tag
  • Release sponsored by Albert Amar / Israprods

0.1