How can we help?

Basil Khan
Written by Basil Khan

How to hide bundle items from Order Printer Pro receipts and packing slips

Exclude bundle item details from your order printer pro packing slips and receipts


1. Navigate to the Order Printer Pro app and click on Manage templates tab.

2. Select the template you would like to modify and click on "Edit template".

3. Scroll down to the section where the line item for loop begins. You can also search for:

for line_item in line_items

4. Right underneath the highlighted line, add the following code snippet. You can copy the code snippet from this Github gist.

5. Once updated, your packing slip should exclude the 100% discounted bundle product items from your packing slips.


Removing bundle discount total in pricing summary

Some packing slip or invoice templates in Order Printer Pro will have discount reason and total when calculating the subtotal. Follow the steps below to remove this section for bundle discounts from Simple Bundles:

1. Navigate to the pricing section part of the template. This is everything after the class="pricing" part of the template file.

2. Highlight everything within the if total_discounts != 0.0 block, shown above.

3. Replace the entire highlighted section with the following code. You can also retrieve this code from this attached Github gist.

4. Once replaced, the template code should look like this:

5. Click save and your changes should remove bundle discounts from the subtotal calculation:

If you have any questions regarding Order Printer Pro templates, reach out to our team over chat or email.

Categories: