Quantcast
Channel: Opinion: Shopify Community - Shopify Apps
Viewing all articles
Browse latest Browse all 11091

adriana commented on Order Printer, Mark items as final sale by discount

$
0
0

Hi Ben,

 

I still can't seem to get it to work.  The body of our invoice where I would like the THIS IS FINAL SALE to go looks like this:

    {% for line_item in unfulfilled_line_items %}
      <tr>
        <td style="font-family: 'Droid Sans Mono'; font-size:12px;">{{ line_item.quantity }} x</td>
        <td style="font-family: 'Droid Sans Mono'; font-size:12px;">{{ line_item.title }}
        <td>
        <td style="font-family: 'Droid Sans Mono'; font-size:12px;text-align: right">{{ line_item.price | money }}</td>
      </tr>
      
   {% endfor %}
    {% for line_item in fulfilled_line_items %}
        <tr>
        <td style="font-family: 'Droid Sans Mono'; font-size:12px;">{{ line_item.quantity }} x</td>
        <td style="font-family: 'Droid Sans Mono'; font-size:12px;">{{ line_item.title }}</td>
        <td style="font-family: 'Droid Sans Mono'; font-size:10px;">FULFILLED {{ line_item.fulfillment.date| date: "%m/%d/%y" }}</td>
        <td style="font-family: 'Droid Sans Mono'; font-size:12px;text-align: right">{{ line_item.price | money }}</td>
        </tr>
    {% endfor %}

When I insert the code at the point I've bolded it applies the THIS ITEM IS FINAL SALE to all items.  Hope you can help.

 

Thanks
    


Viewing all articles
Browse latest Browse all 11091

Trending Articles