How can I hide $0 products and coupons on my packing slips?

If you provide freebies, samples, and discount coupons for your orders, you may not want those items showing up on your packing slips to your customers. Luckily, it's easy to remove all of those items from your packing slips with ShipStation.

Please note that you must be on a Silver or above plan to customize your packing slip and basic familiarity with HTML coding is recommended.

Head to your Account Settings (the gear icon in the upper right).

Next, select Templates and then Packing Slips from the sidebar on the left.


Either copy or edit an existing template, and paste in the following code at the top of the Order Header area.

<style> 
.customStyle {} 
.customStyle1 { 
visibility: hidden; 
line-height: 0px; 

.adjustment1 { 
display: none; 

</style>


Once you paste that, your Order Header should look like this (the numbers may be different for the table depending on your packing slip size):



Now, click on the Order Items grey bar.



Replace the top line, <tr>, with the line below.

<tr class="customStyle[Extended Price Zero] adjustment[Adjustment]">

Your Order Items area should now look like this:



Remember to Save your new template, and that's it! Now, if an item has a value of $0 or if it is a coupon or adjustment, it will no longer display on your packing slip whenever you apply this template to an order.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request