Sell by Area or Length V4 - Hide Upper Limit

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

Sell by Area or Length V4 - Hide Upper Limit

Post by norman »

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

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
tic-ity-boo
Posts: 2
Joined: Thu Jul 31, 2014 9:37 am

Re: Sell by Area or Length V4 - Hide Upper Limit

Post by tic-ity-boo »

Hello Norman
I have 12.03 npla business plus
and I want to sell pool covers by area ie
max length x max width x £ per square metre

Will this work for me and how do I install it?
Regards
John
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Sell by Area or Length V4 - Hide Upper Limit

Post by norman »

Hi John

If your price is based on the width x length x price per metre then the add-on will do what you want.

Best email me (click my name) for more info.

Out for a few hours so may not be able to reply quickly.

Norman
Norman
tic-ity-boo
Posts: 2
Joined: Thu Jul 31, 2014 9:37 am

Re: Sell by Area or Length V4 - Hide Upper Limit

Post by tic-ity-boo »

Hello Norman are you back at the help yet?
you can email me at john.spencer@covers4pools.co.uk
Regards
John
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Sell by Area or Length V4 - Hide Upper Limit

Post by norman »

John, I emailed you on Friday 1st August. Have done it again just now.
Norman
Post Reply