WooCommerce: Como visualizar a página de pedido recebido.

Tempo de leitura: < 1 minuto

Para visualizar a página de pedido recebido para testes ou ver as alterações de estilo você pode seguir os passos abaixo.

Acesse pelo banco de dados e pesquise na tabela wp_postmeta para poder pegar o valor da meta key _order_key pesquisando pelo POST_ID do pedido salvo na base.

SELECT meta_value FROM `wp_postmeta` WHERE `post_id` = POST_ID AND `meta_key` = '_order_key';

Pelo WP-CLI: wp post meta get POST_ID _order_key

Após realizar a pesquisa deve retornar um valor similar a este: wc_order_LZJjoWle6l17l

Com esse valor você precisar acessar o link URL da página de pedido recebido similar ao link abaixo.


Dica: Plugin WC Order Test para WooCommerce, com ele você pode verificar se o checkout está funcionando.

Visit Sucuri to Clean and Protect Websites

Masks Form Fields

WordPress Plugin Version  WordPress Plugin Rating  WordPress Plugin: Tested WP Version  WordPress Plugin Active Installs  WordPress Plugin Downloads
A plugin to add masks in the form’s fields for WordPress.

Basic Usage Examples

Add a class in the form field.

<input type=”telname=”your-phoneclass=”phone />

Contact Form 7: [tel your-phone class:phone placeholder “Phone”]

$(‘span.date, input.date’).mask(’00/00/0000′);
$(‘span.time, input.time’).mask(’00:00:00′);
$(‘input.date_time’).mask(’00/00/0000 00:00:00′);
$(‘input.phone’).mask(‘(00) 0000-00009’);
$(‘input.phone_us’).mask(‘(000) 000-0000’);
$(‘input.mixed’).mask(‘AAA 000-S0S’);

Frequently Asked Questions

Installation Instructions

Installing “Masks Form Fields” can be done either by searching for “Masks Form Fields” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

1. Download the plugin via WordPress.org
2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
3. Activate the plugin through the ‘Plugins’ menu in WordPress

Default translation

'0': {pattern: /\d/}, // (Numbers)
'9': {pattern: /\d/, optional: true}, // (Optional Numbers)
'#': {pattern: /\d/, recursive: true}, // (Recursive Numbers)
'A': {pattern: /[a-zA-Z0-9]/}, // (Alphanumeric, Letters and Numbers)
'S': {pattern: /[a-zA-Z]/} // (Letters only)

Can I add new mask types?

Yes, use the code below.

The mask plugin work with WooCommerce?

Unfortunately, it does not support WooCommerce. But can keep the plugin active and try to insert one of the codes in the links below to add the mask.
PHP (functions.php)

The mask plugin work with Divi Theme?

Unfortunately, it does not support Divi Theme. But can keep the plugin active and try to insert below code to add the mask.

Go to Divi Theme Options -> Integration set “Enable header code” and add below code in “Add code to the < head > of your blog”.