WooCommerce: Activate and deactivate PayPal Standard

Since WooCommerce 5.5, PayPal Standard will no longer be loaded by default. The official recommendation is using PayPal Payments. Unfortunately, this extension is incompatible with the new Checkout block, that is available since WooCommerce 6.9.

Activating PayPal Standard

Luckily, activating PayPal Standard is pretty straightforward and requires the following steps:

  1. Installing the Code Snippets plugin
  2. Adding the following code snippet:
add_filter( 'woocommerce_should_load_paypal_standard', '__return_true' );

Deactivating PayPal Standard

Unfortunately, deactivating PayPal Standard is a bit more complicated and requires the following steps:

  1. Accessing the database of the site
  2. Deleting the entry woocommerce_paypal_settings from wp_options

WooCommerce: Reorder EU VAT field on checkout page

The EU VAT Number extension allows store owners to offer tax-free orders from EU businesses with a valid VAT number. By default, the EU VAT field is placed at the bottom of the billing fields. But what if you want to move that field to another potision?

(more…)