Print the unit price in the checkout page

,

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 1517 times – 1.22 KB

Unzip 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):

unit-price-review-order

 

Download “Unit price in the Review Order table”

unit-price-checkout-review.zip – Downloaded 1517 times – 1.22 KB

P.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!

11 replies
  1. Crystal
    Crystal says:

    Hi thanks for this, what I’m trying to do is slightly different and its driving me crazy!! Why does woocommerce not offer the price per unit? I’m doing add to quotes rather than cart.
    So people only get an email proposal and can view their account. Can you help me?

    Reply
  2. Regina
    Regina says:

    Hi Nicola, unfortunately it doesn’t work for me, because we use German Market. They add own checkout, and I don’t know how to modify and where to add the code…

    Reply
  3. Mubeen
    Mubeen says:

    Hi ! I have added this file into my child theme/woocommerce/checkout/ directory but it is not working. either when I am editing the template file from plugin it is also does not working. Do you have any tested solution please let me know.

    Thanks

    Reply
  4. Hove
    Hove says:

    Hello guys . Its working fine . thank you . how is it possible to have the unit price to print in email to client.. Thanks
    HOve

    Reply
  5. Lyse
    Lyse says:

    Hi

    I just added the file, but it’s not working for me. I don’t see the unit price column neither at checkout nor in the review order page.

    Thanks
    Lyse

    Reply
  6. Lyse
    Lyse says:

    Hi

    I works just fine today.

    Is there a way to add the unit price to the order details in the My Account section?

    Thanks
    Lyse

    Reply

Trackbacks & Pingbacks

  1. […] months ago I wrote a post about how to add the unit price in the checkout page. It would be useful though to have the same unit price also in the emails sent both to the admin […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply