I want to display both regular and sale price in invoice which is generated by woocommerce pdf invoice plugin.
i tried this code to get price but it didn’t work

$regular_price = get_post_meta( get_the_ID(), '_regular_price', true);
$sale_price = get_post_meta( get_the_ID(), '_sale_price', true);

please help me. Thanks.

Read more here: i want to display sale and regular price in woocommerce pdf invoice plugin


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: