Woocommerce admin input masks

      Geen reacties op Woocommerce admin input masks

Description

Woocommerce simply doesn’t use any type of mask on the admin side. So while you are registering your products, you can mistype your price by accident, for example typing a letter instead of a number, or using a wrong decimal separator.

Whenever it’s possible, this plugin creates masks using native Woocommerce configurations that are already in use on the front end, so it can work on the admin side too.

WooCommerce must be installed and active.

Description in portuguese:

O plugin do Woocommerce simplesmente no usa nenhuma mscara para os campos que estao no admin. Ento as vezes sem querer, voc pode acabar digitando o preo de um produto errado, colocando uma letra no lugar de um nmero ou usando uma vrgula no lugar de um ponto.

Sempre que possvel, esse plugin cria mscaras usando as prprias configuraes do Woocommerce que j funcionam no front end, de maneira que funcionem tambm no admin

Credits:

Autonumeric jQuery plugin

Screenshots

  1. Type comfortably on the admin side using masks in your favor

    Type comfortably on the admin side using masks in your favor

  2. Whenever it's possible, this plugin creates masks using native Woocommerce configurations that are already in use on the front end, so they can work on the admin side too.

    Whenever it’s possible, this plugin creates masks using native Woocommerce configurations that are already in use on the front end, so they can work on the admin side too.

Faq

What type of inputs are supported?

It works only for prices, for now

Why does my price input get red some times?

Woocommerce only accepts numbers and dots as characters for price inputs, even if you have set you want commas or other characters. And that is how woocommerce says you typed wrong. Painting it red.
But don’t worry about it. This plugin accepts these characters the way you want. I’ll try to override this Woocommerce’s feature someday

Installation

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Changelog

1.1.1

  • Added support to simple products

1.1

  • Added support to number of decimals
  • Adjusted bug where newer versions of woocommerce could break the plugin. Now, cloned inputs are converted to text inputs

1.0

  • Plugin’s creation.