Modifying robots.txt for individual sites of a multisite install

WordPress creates a robots.txt dynamically. To overwrite it in a normal non-multisite installation, you can just upload a static robots.txt to the server. On a multisite install, this would overwrite the robots.txt for all sites, which is not always the wanted behavior. This post explains how you can modify robots.txt for individual sites of a multisite. Continue reading Modifying robots.txt for individual sites of a multisite install

WooCommerce: same price regardless of taxes

In my online shop, customers from the EU have to pay their country’s VAT rate. Customers from the USA, for example, do not have to pay any VAT. If I set the price to 15 Euros in WooCommerce and specify that the prices include taxes, the default behavior is the following:

Customers from a country for which a tax rate is specified pay 15 Euros including their country’s tax rate. Customers from countries without a specified tax rate pay less than 15 Euros. I am not sure, but I think in this case the price is reduced by the tax rate from the shop’s base location. The desired effect is that these customers pay 15 Euros too, but without any included taxes.

The WooCommerce wiki on GitHub has the solution for that. You only have to insert the following line of code into your theme or into a plugin:

add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );

Theme sale to all countries + guest checkout

From now on I sell my themes to all countries. That is possible because I state sale taxes from this year on. Because of that, I am going to increase the price of Schlicht from 15 to 18 Euros on February 1, 2017 (circa the 19 percent sales tax in Germany).

Update from January 26, 2017: From now on, all customers can use automatic theme updates. Because of this, I deactivated the possibility to create an account on a purchase.

Besides that, it is now possible to buy a theme without creating a customer account. But if you use the guest checkout, this means you cannot use the automatic update process. You will need to download the new theme versions manually with a link you get after purchasing.