Giter VIP home page Giter VIP logo

pronamic / pronamic-house-number-fields-for-woocommerce Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 0.0 208 KB

This WordPress plugin adds separate house number fields to the WooCommerce checkout fields.

Home Page: https://pronamic.shop/products/pronamic-house-number-fields-for-woocommerce/

PHP 93.63% CSS 6.37%
house-number pronamic woocommerce woocommerce-extension woocommerce-plugin wordpress wordpress-plugin

pronamic-house-number-fields-for-woocommerce's Introduction

Pronamic House Number Fields for WooCommerce

This WordPress plugin adds separate house number fields to the WooCommerce checkout fields.

pronamic-house-number-fields-for-woocommerce's People

Contributors

remcotolsma avatar rvdsteege avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pronamic-house-number-fields-for-woocommerce's Issues

Add WooCommerce plugin headers

 * WC requires at least: 7.7.0
 * WC tested up to: 8.2.0

https://github.com/pronamic/woocommerce-subscriptions/blob/5eedf6aedbd21fb4c2abdab473aa34cb4c25e067/woocommerce-subscriptions.php#L10-L11

There are just two new headers you need to add:

/*
 * Plugin Name: WooCommerce Barter Gateway
 * Plugin URI: https://wordpress.org/plugins/woocommerce-gateway-barter/
 * Description: Take payments by bartering crops and livestock.
 * Author: WooCommerce
 * Author URI: https://woocommerce.com/
 * Version: 3.0.7
 * Text Domain: woocommerce-gateway-barter
 * Domain Path: /languages
 * WC requires at least: 3.0.0
 * WC tested up to: 3.2.0
 */

Source: https://developer.woocommerce.com/2017/08/28/new-version-check-in-woocommerce-3-2/

CC @rvdsteege

Should help in future compatible issues like for example:

Set `autocomplete` to `off`

In 2019 we had a customer who experienced that telephone numbers were automatically entered in the house number field (in Dutch):

kunnen jullie bij het bestelformulier het aantal digits beperken

ik denk dat het bij mobiel is maar er vullen steeds mensen hun telefoonnr in

dat is erg lastig

graag beperken tot 5 digits

Internal HelpScout ticket: https://secure.helpscout.net/conversation/879922243/17556/

Discussed this with @rvdsteege @pronamic HQ, decided to set autocomplete to off:
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete

https://github.com/pronamic/wp-pronamic-maps#html-autocomplete-attribute

High-Performance Order Storage (HPOS) compatible?

House number addition field

Currently this plugin adds a 'house number' field and 'house number addition' field. Not all users want separate fields for these, should we introduce an option for this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.