fbpx

Home Forums Booster Plus Customer Forum Product Attribute in wcj_order_items_table

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43946
    Archisman Misra
    Participant

    I have an attribute with the name “HSN” and slug “hsn” that I want to show the value of, in the pdf invoice.

    [wcj_order_items_table table_class="pdf_invoice_items_table"
    columns="item_number|item_name|product_sku|product_attribute|item_quantity|item_tax_class|item_tax|line_total_tax_incl"
    columns_titles="|Product|SKU|HSN|Qty|Tax Rate|Tax|Total"
    columns_styles="width:5%;|width:40%;|width:10%;|width:10%;|width:5%;|width:10%;|width:10%;|width:10%;text-align:center;"]
    <be>

    This only outputs a blank space under HSN, how do I get it to show the value of the Attribute HSN?

    #43966
    David G
    Participant

    Hi @studiobackdrops

    Thanks for reaching out to us.

    You can use item_variation instead of product_attribute. it will display the variation name and value.

    [wcj_order_items_table table_class="pdf_invoice_items_table"
    columns="item_number|item_name|product_sku|item_variation|item_quantity|item_tax_class|item_tax|line_total_tax_incl"
    columns_titles="|Product|SKU|HSN|Qty|Tax Rate|Tax|Total"
    columns_styles="width:5%;|width:40%;|width:10%;|width:10%;|width:5%;|width:10%;|width:10%;|width:10%;text-align:center;"]

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.