Can I add a shipping calculator to virtual or digital products?
The WooCommerce Shipping Calculator plugin is designed to add a shipping calculator to products that have shipping enabled. For this reason, it will not appear on virtual or downloadable products that - by definition - are not shipped.
We have designed the plugin in this way because when a customer uses a shipping calculator on the product page, they are typically trying to check the shipping cost for the product they are currently viewing. They wouldn't generally expect to see a shipping calculator for a virtual product because this might imply that they have to pay for postage.
However, we understand that customers might be buying physical products as well as virtual products, and want to check the shipping cost for their entire order. If this applies to you, then we recommend one or more of the following options:
- Enable the shipping calculator on product pages, and this will appear on all the products which have shipping enabled. These are the pages where the customer is most likely to want to see the shipping cost.
- Enable the shipping calculator on the cart page at WooCommerce → Settings → Shipping → Shipping options.
- If you really want to show the shipping calculator on the product page for virtual products, then you can do this using either the
[shipping_calculator]shortcode or the PHP method.