Quantcast
Channel: Opinion: Shopify Community - Shopify & Ecommerce Jobs
Viewing all articles
Browse latest Browse all 7259

Paul Andrew commented on Need Item Variants / options to show when I print invoices

$
0
0

Hi!

 

Firstly Thank you for the reply :)

Currently the liquid code reads as below....Im just not sure how to implement it as everytime i try to it comes up either error, or it makes no change to the templat at all lol....im lost in the old html days :(

in bold is where im sure the code goes but just not sure on the correct format.

<table class="table-tabular" style="margin: 0 0 1.5em 0;">
  <thead>
    <tr>
      <th>Quantity</th>
      <th>Item</th>
      {% if show_line_item_taxes %}
      <th>Taxes</th>
      {% endif %}
      <th>Price</th>
    </tr>
  </thead>
  <tbody>
    {% for line_item in line_items %}
      <tr>
        <td>{{ line_item.quantity }} x</td>
        <td><b>{{ line_item.title }}</b></td>
       
        {% if line_item.tax_lines %}
          <td>
            {% for tax_line in line_item.tax_lines %}
              {{ tax_line.price | money }} {{ tax_line.title }}<br/>

            {% endfor %}
          </td>
        {% endif %}
        
        <td>{{ line_item.price | money }}</td>
      </tr>
      {% endfor %}
       </tbody>
</table>
      


Viewing all articles
Browse latest Browse all 7259

Trending Articles