Adding new columns, changing the content and inserting the logo on the parcel slip
Webshipper provides a parcel slip for order overview and packaging. You can find it by going to Settings > Parcel slips > Create Template size A4.
When clicking Example at the top, you can continuously see what the template will look like before saving the template. This is useful for active templates however if you create a new one you can save the template as often as you like as the template will not be active before you choose to do so inside your order channel.
Building the template
To begin with, this is what your standard template will look like.
Let's edit it!
1. Template details
So the top section is basically where you can add all the details regarding the template itself. The name of the template, barcode content, table colors, size and reset the template to default if needed.
Tip: learn more about HTML color codes here
2. Recipient and order details content
When you have defined the details for the template frame in the top section you can start to edit the content of the template. In the default template, you will see a header and two columns. This is the first part of the visible content of your parcel slip. It is built with placeholders that can be put together just the way you like it to be.
3. Order content
For the next part of the template, you can define the content of the table. Start by choosing if the table should be sorted and if so, how the table should be sorted. There are several parameters you can choose to sort your table from.
Once you have defined the sorting, you are now able to build columns in your table. We have made five columns for you already but if these are not relevant for you or need changing, it's rather simple to update them. Simply press "Add column" and a new column will appear. Give this column a header name and fill in the content box with a "@" to trigger the most commonly used placeholders.
Example of how to make quantity stand out if more than 1
Use the following placeholder
{% if order_line.quantity > 1 %}*** @Antal {% else %} @Antal{% endif %}
This will add three *** in front of the quantity number if more than one like in the image below.
4. The text to the customer
Lastly, you can edit the message to the customer and set the footnote to what you wish to have it. The message to the customer can be anything of your choosing and be as creative as you like to have it. See the example.
And that is basically it. When you are finished with your template, simply click Create template and you are all done and ready to use it.
5. Adding the logo and making the template active
Finally, you might want to add the logo and start to use this new template you have created. Simply navigate to Settings > Order channels > select your channel > Edit order channel scroll down to Parcel slips
a. Select your template from the dropdown menu.
b. Choose if the slip should be printed and if so when in the process.
Note: if you decide to auto print your slip, please select a printer work
station in the printing settings just below.
c. Upload your logo
NOTE: Keep the logo image somewhat rectangular with extra added padding avoid too high or wide images. Webshipper does not dictate sizes and will automatically downscale any uploaded logo to fit the paper.
6. Add additional attribute to your slip template
You can enter any preferred data into your slip. Simply go to your shop backend and see product attributes.
And for some order channels you can go to Settings - Order channels - Select your channel - Edit order channel - enter Additional item attributes: Custom1,Custom2,Custom3 etc. identical to their name in the shop.
Then inside your slip template write the code below with the reference to the data you wish to display.
{{order_line.additional_attributes.Custom1}}
Example from a customer using Barcodes as attributes: