Some clients may need to show the unit price for each product you are going to sell on the checkout page.
If your client asked this, or if you are your own client and want to add this feature, there’s an easy way to do so in WooCommerce.
As you probably know, WooCommerce allows to override the core templates with your custom templates. This feature is mostly used by themes developers who heavily customize WooCommerce pages.
You will do the same to add the unit price in the Review Order table in the Checkout page.
Note: If you are using a custom theme which already overrides the template review-order.php
be careful. This may break your theme. Contact the theme author before to override the template.
Download “Unit price in the Review Order table”
unit-price-checkout-review.zip – Downloaded 2560 times – 1.22 KBUnzip the file downloaded and put the file in wp-content/themes/your-theme-name/woocommerce/checkout/. If the folder woocommerce/checkout/ does not exist in your theme, create it.
Now you should see something like this in your site (using the theme Storefront):
Download “Unit price in the Review Order table”
unit-price-checkout-review.zip – Downloaded 2560 times – 1.22 KBP.S. These downloads are powered by Download Monitor, a WordPress plugin which provides an intuitive UI for uploading and managing downloadable files, inserting download links into posts & logging downloads.
Do you like it? Download it for free!
Leave a Reply