Sell by Area or Length V4 - Hide Upper Limit

Miscellaneous Actinic / SellerDeck patches and anything not covered above.
Post Reply
norman
Site Admin
Posts: 1238
Joined: Sat Feb 07, 2004 9:55 pm

Sell by Area or Length V4 - Hide Upper Limit

Post by norman » Wed Jul 16, 2014 5:19 pm

The following will hide the display of the "to 99999M" if you set an upper limit of 99999 or more.

Go to Design / Library / Layouts / Products / Made to Measure Layout Using CSS.
Look for the following (around line 153) block of code:

Code: Select all

				<!-- this block displays the min / max sizes - it can be deleted or moved -->
				<table>
					<tr>
						<td><actinic:variable name="WidthName" />:</td>
						<td>from <actinic:variable name="MinWidth" selectable="false" /><actinic:variable name="SizeUnits" />
							to <actinic:variable name="MaxWidth" selectable="false" /><actinic:variable name="SizeUnits" /></td>
					</tr>
						<td><actinic:variable name="LengthName" />:</td>
						<td>from <actinic:variable name="MinLength" selectable="false" /><actinic:variable name="SizeUnits" /> 
							to <actinic:variable name="MaxLength" selectable="false" /><actinic:variable name="SizeUnits" /></td>
					</tr>		
				</table>
Replace it with:

Code: Select all

				<!-- this block displays the min / max sizes - it can be deleted or moved -->
				<table>
					<tr>
						<td><actinic:variable name="WidthName" />:</td>
						<td>from <actinic:variable name="MinWidth" selectable="false" /><actinic:variable name="SizeUnits" />
							<actinic:block if="%3cactinic%3avariable%20name%3d%22MaxWidth%22%20%2f%3e%20%3c%2099999" >to <actinic:variable name="MaxWidth" selectable="false" /><actinic:variable name="SizeUnits" /></actinic:block>
						</td>
					</tr>
						<td><actinic:variable name="LengthName" />:</td>
						<td>from <actinic:variable name="MinLength" selectable="false" /><actinic:variable name="SizeUnits" /> 
							<actinic:block if="%3cactinic%3avariable%20name%3d%22MaxLength%22%20%2f%3e%20%3c%2099999" >to <actinic:variable name="MaxLength" selectable="false" /><actinic:variable name="SizeUnits" /></actinic:block>
						</td>
					</tr>		
				</table>
Norman

Post Reply