Display text of price (minus 20%) on every product page in a sentence.

Assuming you would put this in a woocommerce template file, wherever you want it to display: <?php global $product; $regular_price = esc_attr( $product->get_display_price() ); $discount = 20; $currency = esc_attr( get_woocommerce_currency() ); $new_price = ($regular_price * $discount) / 100; echo ‘Get this product for ‘.$new_price.$currency.’ with (Promo code)’; ?> Untested, but should do the trick.

Allow users to register on multisite through WooCommerce using the same email address

There is the option that you don’t allow the user to register on the main site, allowing them to register on the subsite only. The plugin network-subsite-user-registration allows this, if the user is already registered on the network then they are automatically added, by the plugin, to the site requesting registration. The hook that does … Read more

Conditional email recipient based off Shipping Method [closed]

Firstly, get_shipping_method is a function. You seem to be using it as a variable. Secondly $order->get_shipping_method() returns Shipping method label, which you’re trying to compare with id. Now you can either compare Titles, or use $order->get_items( ‘shipping’ ); which returns an array with name, type, method_id, cost and taxes, and use method_id for comparison.