View Single Post
  #1  
Old 09-03-2017, 09:58 AM
Akash Garg's Avatar
Akash Garg Akash Garg is offline
 
Join Date: Feb 2017
Posts: 2
Default Invoice Template customisation > product options in separate line with no spacing between each line

Hi,

I wish to change invoice template.
I have many product options around 10-12.
All these at present come in a paragraph form in Invoice.

I want each product option in a separate line. I searched ecwid forum and found one relevant code also which is working. However, If I use that code, there is space coming between each product option line.

And since product options are too many, therefore invoice ran into 2 pages, which I do not want. Also it is not looking good.

So I want to remove those spaces. Please help me by providing perfect solution to this.

My store relevant product page link is as under:
https://dsignsoftech.com/store.html#...egory=22607083

I used following code:

HTML Code:
<!-- Ordered items list -->
							<#list order.items as orderItem>
							<tr>
								<td class="order-item-desc">
									<p class="order-item-title">${orderItem.name}</p>
									<p>${textLabels.sku}: ${orderItem.sku}</p>
									
                                 </td>
								<td class="order-item-count">
									<p>${orderItem.quantity}</p>
								</td>
								<td class="order-item-total text-bold">
									<p>${orderItem.price}</p>
							<p><#list order.items as orderItem>
  								<#list orderItem.options as option>
								<tr>
                                  <td class="order-item-desc">
     								${option.name}: ${option.value}
                                  </td>
                              	</tr> 
						    	</#list>
							</#list></p>
                              </td>
							</tr>
							</#list>
							</tbody>
Please suggest something.....