[ORDERS GROUP|GROUP TAG] Style

Hi Guys,

Currently, I am using a template for the Orders Group for the combo deal following the tutorial. with some help, I managed to get it like this:


[ORDERS GROUP|GROUP TAG]
	<div style="font-size:13px;font-weight:bold;text-align:left;font-family:'Calibri';border:1 1 1 0;border-color:black;padding:0 0 5 0">
	<table width=200>
	<tr>
	<td width="2*">{QUANTITY}x</td>
	<td width="16*">{GROUP KEY}</td>
	<td width="4*" align=right>{GROUP SUM}</td>
	</tr>
	</table>
	</div>

	[ORDERS GROUP:]
	

	[ORDERS:GROUP TAG=*]
	<div style="font-size:12px;text-align:left;font-family:'Calibri'">
	{NAME}
	</div>
	<div style="font-size:18px;text-align:left;font-family:'Calibri'">
	[='{PORTION}' == '' ? '<table><tr><td width="196">         {PORTION NAME}</td></tr></table>':'<table><tr><td width="196">         {PORTION NAME}</td></tr></table>']
	</div>

		{ORDER TAGS}

I wonder is it possible to put a border around each grouped order? which part I should put the style code in? as at the moment, I don’t seem to be able to get it wrapping the whole section.

I tried to quote the whole section into <table> or [<table>
but they don’t seem to work.

Any help would be much appreciated. thank you in advance!

Take at a look at the posts in this topic - Ticket template codings - #3 by josephrussell

2 Likes

Try:

border: 1px solid black;

Pretty sure partial borders aren’t support so border: 1 1 1 0; won’t work. You can wrap whatever you need by putting it within your div tag. Border didn’t work with Table for me but div works fine.

3 Likes