Skip to content

Instantly share code, notes, and snippets.

@lawso017
Last active April 28, 2022 04:06
Show Gist options
  • Save lawso017/375aa9e89bdacdc44d77863f9033d9a4 to your computer and use it in GitHub Desktop.
Save lawso017/375aa9e89bdacdc44d77863f9033d9a4 to your computer and use it in GitHub Desktop.
HTML for ShipStation packing list template that inverts the text (white on black) for line items with quantity greater than one
<style>
td.quantity {
font-size: 16px;
font-weight: bold;
color: white;
background-color: black;
}
td.quantity.quantity-1 {
color: black;
background-color: white;
}
td.item-title {
font-size: 16px;
}
</style>
<tr>
<td align=center class="quantity quantity-[Quantity]">[Quantity]</td>
<td class=sku>[Sku]</td>
<td class=item-title>[Item Title]<br>[Item Options]</td>
<td align=right class=price>[Unit Price]</td>
<td align=center class=location_ssreserved>[Product Location]</td>
<td align=right class=price>[Extended Price]</td>
</tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment