1b.app
Link copied -

Letter template

Good day. please tell me, the template of the letter is configured, but it does not add the additional field of the product "Place in the warehouse"

Here is the code

Please collect the goods for shipment according to invoice No. {|$customorder_Rahunnok|} and delivery invoice No. {|$customorder_Vidatkovanakladna|}

<table border="1" style="width: 100%; border-collapse: collapse; border-style: solid;" cellpadding="5">

<tbody>

<tr>

<td style="width: 10%; text-align: center;"><span style="color: #006400; font-family: arial, helvetica, sans-serif;"><strong><span style=" font-size: 16px;">Image</span></strong></span></td>

<td style="width: 10%; text-align: center;"><span style="color: #006400; font-family: arial, helvetica, sans-serif;"><strong><span style=" font-size: 16px;">Article</span></strong></span></td>

<td style="width: 50%; text-align: center;"><span style="color: #006400; font-family: arial, helvetica, sans-serif;"><strong><span style=" font-size: 16px;">Name</span></strong></span></td>

<td style="width: 10%; text-align: center;"><span style="color: #006400; font-family: arial, helvetica, sans-serif;"><strong><span style=" font-size: 16px;">Quantity</span></strong></span></td>

<td style="width: 10%; text-align: center;"><span style="color: #006400; font-family: arial, helvetica, sans-serif;"><strong><span style=" font-size: 16px;">Stock location</span></strong></span></td>

</tr>

{|foreach from=$basketsArray item="b"|}

<tr>

<td style="width: 10%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: #000080;"><img src="{|$ b.image|}" width="80" height="80" /><br /></span></td>

<td style="width: 10%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: #008000;">{|$b.articul|} <br /></span></td>

<td style="width: 50%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: #008000;">{|$b.name|} </span></td>

<td style="width: 10%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: #008000;">{|$b.count|} </span></td>

<td style="width: 10%;"><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: #008000;">{|$customProduct_Mstsenasklad|} <br /></span></td>

{|/foreach|}

</tr>

</tbody>

</table>

And I am attaching a screenshot of how it is displayed
Original question is available on version: ua

Answers:

Good afternoon
try setting not {|$customProduct_Mstsenasklad|} but {|$b.customProduct_Mstsenasklad|}
11.10.2023, 11:27
Original comment available on version: ru


Maria
OneBox production wrote:
Good afternoon
try not to set {|$customProduct_Mstsenasklad|} but {|$b.customProduct_Mstsenasklad|}

THANK YOU! helped)
11.10.2023, 11:37
Original comment available on version: ua

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment