The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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.....
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
invoice template

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:49 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.