Insert multiple products into printing templates

Modified on Tue, 29 Aug 2023 at 05:07 PM

Valigara allows printing multiple products in one page. , while allowing user to fully control the visual style of the elements. Products can appear as part of the table (most common), or the any page element. 


Setting up the template


To insert multiple products/lines In the Print Template


  • switch to Text mode (non-visual)
  • use tags [ORDER_ITEMS_START] and  [ORDER_ITEMS_END] in the code. everything between these tags is repeated in the code



Example


...


[ORDER_ITEMS_START]

<tr style="border-color: #ff6900;">

<td style="width: 20%; height: 18px; border-color: #ff6900;">[OLD_CODE]</td>

<td style="width: 20%; height: 18px; border-color: #ff6900;">[METAL_1_PURITY]</td>

<td style="width: 20%; height: 18px; border-color: #ff6900;">[ORDER_ITEM__AMOUNT]</td>

<td style="width: 20%; height: 18px; border-color: #ff6900;">[METAL_1_NAME]</td>

<td style="width: 20%; height: 18px; border-color: #ff6900;">[ORDER_ITEM__COMMENT]</td>

</tr> 

[ORDER_ITEMS_END]


...



How to Run


in the Printing dialog 

  • enable the "Unify order products" option





  • available for Orders, eBay templates

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article