• Bibhash karn

    (@bibhashkarngmailcom)


    Hi,

    We want to show Discount for sale product in PDF Invoicing. Currently we have shown discount with below code but it shows discount only on application of Coupon Code. We want to show discounted amount on sale price of the products too.

    [wcj_order_total_discount hide_if_zero="yes" before="<tr><th>Discount: </th><td>-" after="</td></tr>"]

    Hoping for the solution.

    Thank You,
    Bibhash Karn

    • This topic was modified 2 years, 5 months ago by Bibhash karn.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support David G

    (@gravid7)

    Hi @bibhashkarngmailcom

    Thanks for reaching out to us.

    wcj_order_total_discount shortcode is displaying discount related to coupon. It will not display all order discount. Currently there is no shourcode to display product discount total.

    If you want to display regular price and sale price in table then you can use different field from here.

    Thread Starter Bibhash karn

    (@bibhashkarngmailcom)

    Hi,

    Thank you for your reply.

    Sorry to know that currently there is no shortcode to display product discount total. Hoping this feature in future version.

    Thank You for link for displaying regular and sale price.

    Thank You.

    Thread Starter Bibhash karn

    (@bibhashkarngmailcom)

    Hi,

    With the help of above provided link, we have used below shortcode in our template:

    [wcj_order_items_table table_class="pdf_invoice_items_table"
        columns="item_number|item_name|item_quantity|product_regular_price|product_sale_price|line_subtotal_tax_incl"
        columns_titles="#|Product Name|Qty|Rate|Sale Price|Amount"
        columns_styles="width:5%;|width:35%;|width:8%;text-align:right;|width:16%;text-align:right;|width:16%;text-align:right;|width:20%;text-align:right;"]
    

    Now we want to hide Sale Price column if the value is zero or the product is not on sale. So can you please guide us how to do so.

    Thank You,
    Bibhash Karn

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show Discount for sale products in PDF Invoicing’ is closed to new replies.