• Resolved WordPress-Thinking

    (@gregthegreg5)


    Hello there everyone, hope you all are doing well!

    Just had a question in regards to the original price and sale price inputs.

    For example, if we put the original price as $100 and the sale price as $90.

    How can we get this to show on the:

    1. Order emails sent by WooCommerce to the store owner and the customer.
    2. The backend of WooCommerece where we can see the orders and other details.
    3. The invoices/packing slips.

    Thanks for any help you can provide ??

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @gregthegreg5

    To display the original price and sale price in the order emails, backend, and invoices/packing slips, you would need to customize your WooCommerce templates.

    1. Order Emails: You can override the email templates via your theme. The templates are located in the “woocommerce/templates/emails” directory. You might need to hire a developer if you’re not comfortable editing PHP files. Detailed information on the override template can be found here: https://woo.com/document/template-structure/#how-to-edit-files
    2. Backend: Displaying the original price in the admin order details would require custom coding. You can add custom fields to the order items using the woocommerce_admin_order_item_values action hook.
    3. Invoices/Packing Slips: If you’re using a plugin to generate these, you’ll need to check with the plugin developer to see if they provide a way to show the original price. If not, you might need to customize the plugin templates.

    Please note that any customizations are considered as custom work, which is outside the scope of our support policy. We recommend hiring a professional if you’re not familiar with coding.

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

Viewing 1 replies (of 1 total)
  • The topic ‘How can we show the sale price and original price in the order/invoice section?’ is closed to new replies.