• Resolved mahdyhigh

    (@mahdyhigh)


    hello and thanks for your plugin,
    i want to show regular price of each item in print invoice, in a coloumn or like this,
    please as soon as possible, give me the code that does that.
    thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @mahdyhigh,

    Sorry for the delay in response and thank you for appreciating our plugin.

    Can you please try adding the below code in functions.php file and then check whether it solves the issue or not.

    Code:

    function regular_price ( $subtotal, $item, $order ) {
    $product = $item->get_product();
    $regular_price = $product->get_regular_price();
    return $regular_price;
    }
    add_filter(‘wcdn_formatted_item_price’,’regular_price’,10,3);

    Please let us know how it goes.

    Regards,
    Kenil Shah

    • This reply was modified 5 years, 10 months ago by kenil802.
    Thread Starter mahdyhigh

    (@mahdyhigh)

    Hello, it did not work. Please correct the code and test it yourself and send the picture how it will be
    Thanks

    Thread Starter mahdyhigh

    (@mahdyhigh)

    Hi @mahdyhigh,

    Sorry for the delay in response.

    I will ask your query to the developer and get back to you with an update.

    Regards,
    Kenil Shah

    Hi @mahdyhigh,

    Extremely sorry for the delay.

    Could you please email us your query on “support at tychesoftwares dot freshdesk dot com” so that we can get back to you on that.

    Regards,
    Kenil Shah

    • This reply was modified 5 years, 7 months ago by kenil802.
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘showing regular price’ is closed to new replies.