An error occurred while processing the template.
Can't convert this string to number: "N/A"
The blamed expression:
==> infoObj.miles?replace('.','')?replace(',', '')?number  [in template "37794063322763#20119#2686491" at line 535, column 83]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign formattedMiles = infoObj.mile...  [in template "37794063322763#20119#2686491" at line 535, column 57]
----
1<#assign  
2				 defaultImgMap = { 
3				 "220": "/documents/d/guest/220-coming-soon", 
4				 "220ev": "/documents/d/guest/220ev-coming-soon", 
5				 "520": "/documents/d/guest/520-coming-soon", 
6				 "389": "/documents/d/guest/389-coming-soon", 
7				 "520ev": "/documents/d/guest/520ev-coming-soon", 
8				 "535": "/documents/d/guest/535-coming-soon", 
9				 "536": "/documents/d/guest/536-coming-soon", 
10				 "537": "/documents/d/guest/537-coming-soon", 
11				 "548": "/documents/d/guest/548-coming-soon", 
12				 "567": "/documents/d/guest/567-coming-soon", 
13				 "579": "/documents/d/guest/579-coming-soon", 
14				 "579ev": "/documents/d/guest/579ev-coming-soon", 
15				 "589": "/documents/d/guest/589-coming-soon" 
16				 } 
17				 /> 
18<#assign badgeMap = { 
19    "Red Oval": { 
20        "src": "/documents/d/guest/red-oval", 
21        "class": "make-peterbilt-badge", 
22        "alt": "Red Oval", 
23        "modal": "red-oval-info-modal" 
24    }, 
25    "Work Ready": { 
26        "src": "/documents/d/guest/work-ready", 
27        "class": "work-read-badge", 
28        "alt": "Work Ready" 
29    }, 
30    "Warranty Included": { 
31        "src": "/documents/d/guest/warranty-badge", 
32        "class": "warranty-badge", 
33        "alt": "Warranty" 
34    }, 
35    "Inspected": { 
36        "src": "/documents/d/guest/inspected-badge", 
37        "class": "inspected-badge", 
38        "alt": "Inspected" 
39    }, 
40    "Sold As Is": { 
41        "src": "/documents/d/guest/sold-as-is-badge", 
42        "class": "sold-as-is-badges", 
43        "alt": "Sold As Is" 
44    }, 
45		"Factory Warranty": { 
46				 "src": "/documents/d/guest/factory-warranty", 
47				 "class": "square-badge", 
48				 "alt": "Factory Warranty" 
49		}, 
50		"Limited Warranty": { 
51				 "src": "/documents/d/guest/limited-warranty", 
52				 "class": "square-badge", 
53				 "alt": "Limited Warranty" 
54		} 
55}> 
56<#assign 
57				 commerceContext = renderRequest.getAttribute("COMMERCE_CONTEXT") 
58				 account = commerceContext.getAccountEntry() 
59				 accountId = account.getAccountEntryId() 
60				 chanelId = commerceContext.getCommerceChannelId() 
61/> 
62<#assign cpAttachmentLocalServiceUtil = serviceLocator.findService("com.liferay.commerce.product.service.CPAttachmentFileEntryLocalService") /> 
63<#assign assetCategoryPropertyLocalServiceUtil = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") /> 
64<#if cpCatalogEntry?has_content> 
65  <#assign 
66    cpDefinitionId = cpCatalogEntry.getCPDefinitionId() 
67    cpProductId = cpCatalogEntry.getCProductId() 
68    productName = cpCatalogEntry.getName() 
69    productShortDescription = cpCatalogEntry.getShortDescription() 
70    productDescription = cpCatalogEntry.getDescription() 
71    productImages = cpContentHelper.getImages(cpDefinitionId, false, themeDisplay) 
72    productDetail = restClient.get("/headless-commerce-delivery-catalog/v1.0/channels/${chanelId}/products/${cpProductId}?accountId=${accountId}&nestedFields=categories,productSpecifications") 
73    productCategories = restClient.get("/headless-commerce-delivery-catalog/v1.0/channels/${chanelId}/products/${cpProductId}/categories?pageSize=40") 
74    locationsReq = restClient.get("/headless-delivery/v1.0/structured-content-folders/93615/structured-contents?pageSize=100") 
75		locations = locationsReq.items 
76    modelsReq = restClient.get("/headless-delivery/v1.0/structured-content-folders/81235/structured-contents?pageSize=100") 
77		models = modelsReq.items 
78 
79		categories = productCategories.items 
80    customFields = productDetail.customFields 
81    infoObj = {} 
82					 truckBadgesArray = [{"id": "", "value": ""}] 
83					 /> 
84				<#list customFields as customField> 
85					<#if customField.name = 'Miles'> 
86						<#assign infoObj = infoObj + {"miles": customField.customValue.data} /> 
87					</#if> 
88					<#if customField.name = 'Video URL'> 
89						<#assign infoObj = infoObj + {"videoURL": customField.customValue.data} /> 
90					</#if> 
91					<#if customField.name = 'Visible Price'> 
92						<#assign infoObj = infoObj + {"price": customField.customValue.data} /> 
93					</#if> 
94					<#if customField.name = 'Status Name'> 
95						<#assign infoObj = infoObj + {"status": customField.customValue.data} /> 
96					</#if> 
97					<#if customField.name = 'VIN'> 
98						<#assign infoObj = infoObj + {"vin": customField.customValue.data} /> 
99					</#if> 
100					<#if customField.name = 'Display Price'> 
101						<#assign infoObj = infoObj + {"displayPrice": customField.customValue.data} /> 
102					</#if> 
103				</#list> 
104 
105	 
106				<#assign thisLocationUrl = '' /> 
107				<#if categories?has_content> 
108					<#list categories as category> 
109						<#assign locationId = category.id /> 
110						<#assign locationName = category.name /> 
111						<#assign phoneNumber = {"value": ""} /> 
112						<#assign address = {"value": ""} /> 
113						<#if assetCategoryPropertyLocalServiceUtil.fetchCategoryProperty(category.id, "Alias")??> 
114							<#assign locationName = assetCategoryPropertyLocalServiceUtil.fetchCategoryProperty(category.id, "Alias").value /> 
115						</#if> 
116						<#if assetCategoryPropertyLocalServiceUtil.fetchCategoryProperty(category.id, "phoneNumber")??> 
117							<#assign phoneNumber = assetCategoryPropertyLocalServiceUtil.fetchCategoryProperty(category.id, "phoneNumber") /> 
118						</#if> 
119						<#if assetCategoryPropertyLocalServiceUtil.fetchCategoryProperty(category.id, "address")??> 
120							<#assign address = assetCategoryPropertyLocalServiceUtil.fetchCategoryProperty(category.id, "address") /> 
121						</#if> 
122 
123						 
124						<#if category.vocabulary?replace(' ', '') = 'truckbadges'> 
125							<#assign truckBadgesArray += [{"id": category.id, "value": category.name}] /> 
126						<#else> 
127							<#assign infoObj = infoObj + { 
128											 category.vocabulary?replace(' ', ''): { 
129												"id": locationId, 
130										 		"phoneNumber": phoneNumber.value, 
131										 		"address": address.value, 
132										 		"value": locationName 
133										 } 
134									} /> 
135						</#if> 
136					</#list> 
137					<#assign infoObj = infoObj + {"truckbadges": truckBadgesArray} /> 
138				</#if> 
139					 
140				<#if infoObj.year?has_content> 
141          <#assign productName = infoObj.year.value /> 
142			  </#if> 
143				<#if infoObj.make?has_content> 
144          <#assign productName = productName + " " + infoObj.make.value /> 
145			  </#if> 
146				<#if infoObj.model?has_content> 
147          <#assign productName = productName + " " + infoObj.model.value /> 
148			  </#if>	 
149 
150		<#assign 
151			modelId = "", 
152   		make = "", 
153			model = "", 
154			year = "", 
155			price = "", 
156			unitEngineModel = "", 
157			miles = "", 
158			condition = "", 
159			vin = "", 
160			cabConfiguration = "", 
161			color = "", 
162			locationName = "", 
163			locationAddress = "", 
164			locationUrl = "", 
165			locationPhone = "", 
166			locationStreet = "", 
167			locationCity = "", 
168			locationRegion = "", 
169			locationPostalCode = "", 
170			locationLatitude = 0, 
171			locationLongitude = 0, 
172			truckUrl = "", 
173			truckImages = [] 
174		/> 
175	 
176		<#if cpCatalogEntry?? > 
177			<#assign truckUrl = themeDisplay.getPortalURL()+"/p/"+cpCatalogEntry.getUrl() /> 
178		</#if> 
179 
180		<#if infoObj.model?has_content && infoObj.model.id?? > 
181			<#assign modelId = infoObj.model.id /> 
182		</#if> 
183 
184		<#if infoObj.make?has_content && infoObj.make?? > 
185			<#assign make = infoObj.make.value /> 
186		</#if> 
187					 
188		<#if infoObj.model?has_content && infoObj.model.value?? > 
189			<#assign model = infoObj.model.value /> 
190		</#if> 
191 
192		<#if infoObj.year?has_content && infoObj.year.value?? > 
193			<#assign year = infoObj.year.value /> 
194		</#if> 
195 
196		<#if infoObj.cabconfiguration.value?? > 
197			<#assign cabConfiguration = htmlUtil.escape(infoObj.cabconfiguration.value) /> 
198		</#if>				 
199 
200		<#if infoObj.price?has_content && infoObj.displayPrice[0] == "Yes" > 
201			<#assign price = infoObj.price /> 
202		</#if> 
203					 
204		<#if infoObj.unitenginemodel?? && infoObj.unitenginemodel.value?? > 
205			<#assign unitEngineModel = infoObj.unitenginemodel.value /> 
206		</#if> 
207 
208		<#if infoObj.miles?? && infoObj.miles != ""> 
209 			<#assign miles = infoObj.miles /> 
210		</#if> 
211 
212		<#if infoObj.conditions?? && infoObj.conditions.value?? > 
213			<#if infoObj.conditions.value != "New"> 
214				<#assign condition = "https://schema.org/UsedCondition" /> 
215			<#else> 
216				<#assign condition = "https://schema.org/NewCondition" /> 
217			</#if> 
218		</#if> 
219 
220		<#if infoObj.vin??> 
221  		<#assign vin = infoObj.vin /> 
222		</#if> 
223 
224		<#if infoObj.color??> 
225			<#assign color = infoObj.color.value /> 
226		</#if> 
227 
228		<#if infoObj.location??> 
229			<#if infoObj.location.value??> 
230				<#assign locationName = infoObj.location.value /> 
231			</#if> 
232 
233			<#assign locationUrl = "${themeDisplay.getPortalURL()}/product-list?location=${infoObj.location.id}" /> 
234 
235			<#list locations as location> 
236				<#list location.taxonomyCategoryBriefs as taxonomy> 
237					<#if taxonomy.taxonomyCategoryId == infoObj.location.id > 
238						<#assign locationUrl = "${themeDisplay.getPortalURL()}/w/${location.friendlyUrlPath}" /> 
239 
240						<#if location.contentFields ??> 
241							<#list location.contentFields as contentField> 
242								<#if contentField.name?lower_case == 'latitude'> 
243									<#if contentField.contentFieldValue.data?? > 
244										<#assign locationLatitude = "${contentField.contentFieldValue.data}" /> 
245									</#if>									 
246								</#if> 
247 
248 
249								<#if contentField.name?lower_case == 'longitude'> 
250									<#if contentField.contentFieldValue.data?? > 
251										<#assign locationLongitude = "${contentField.contentFieldValue.data}" /> 
252									</#if> 
253								</#if>						 
254							 
255								<#if contentField.name?lower_case == 'locationaddress'> 
256									<#if contentField.contentFieldValue.data?? > 
257										<#assign locationAddress = "${htmlUtil.stripHtml(contentField.contentFieldValue.data)}" /> 
258									</#if> 
259								</#if> 
260							</#list> 
261						</#if> 
262					</#if> 
263				</#list> 
264			</#list> 
265			 
266			<#if !locationAddress?? > 
267				<#if infoObj.location.address?? > 
268					<#assign locationAddress = "${infoObj.location.address}" /> 
269				</#if> 
270			</#if> 
271			 
272			<#if locationAddress?? > 
273				<#assign addressInfo = locationAddress?split(",") /> 
274				 
275				<#if addressInfo?size == 3> 
276					<#if addressInfo[0]??> 
277						<#assign locationStreet = addressInfo[0]?trim /> 
278					</#if> 
279					 
280					<#if addressInfo[1]??> 
281						<#assign locationCity = addressInfo[1]?trim /> 
282					</#if> 
283					 
284					<#if addressInfo[2]??> 
285						<#assign region = addressInfo[2]?keep_before("\\d", "r") /> 
286						<#assign postalCode = addressInfo[2]?keep_after(region) /> 
287 
288						<#if region?? > 
289							<#assign locationRegion = region?trim />	 
290						</#if> 
291						 
292						<#if postalCode?? > 
293							<#assign locationPostalCode = postalCode?trim /> 
294						</#if> 
295					</#if> 
296				</#if> 
297			</#if> 
298			 
299			<#if infoObj.location.phoneNumber??> 
300				<#assign locationPhone = infoObj.location.phoneNumber /> 
301			</#if> 
302		</#if> 
303 
304		<#if productImages?has_content> 
305			<#list productImages as currentImage> 
306				<#if productImages?size = 1 & productImages[0].getURL()?trim?contains('commercial-truck-coming-soon')> 
307					<#if defaultImgMap[infoObj.model.value?lower_case]?? > 
308						<#assign truckImages = truckImages + [themeDisplay.getPortalURL()+defaultImgMap[infoObj.model.value?lower_case]] /> 
309					</#if> 
310				<#else> 
311					<#assign truckImages = truckImages + [themeDisplay.getPortalURL()+currentImage.getURL()?replace('?download=false', '')] />		 
312				</#if> 
313			</#list> 
314		</#if> 
315		 
316		<script type="application/ld+json"> 
317			{		 
318				"@context": "https://schema.org", 
319				"@type": "Vehicle", 
320				"name": "${productName}", 
321				"description": "${htmlUtil.escape(productShortDescription)}", 
322				"url": "${truckUrl}", 
323				"image": [ 
324				<#list truckImages as currentTruckImage> 
325					"${currentTruckImage}"<#if !currentTruckImage?is_last>,</#if> 
326				</#list> 
327				], 
328				"brand": { 
329					"@type": "Brand", 
330					"name": "${make}" 
331				}, 
332				"model": "${model}", 
333				"vehicleModelDate": "${year}", 
334				"vehicleConfiguration": "${cabConfiguration}", 
335				"offers": { 
336					"@type": "Offer", 
337					"availability": "https://schema.org/InStock", 
338					"priceCurrency": "USD", 
339					"price": "${price}", 
340					"seller": { 
341						"@type": "Organization", 
342						"@id": "${locationUrl}#store", 
343						"name": "${locationName}", 
344						"url": "${locationUrl}", 
345						"telephone": "${locationPhone}", 
346						"address": { 
347							"@type": "PostalAddress", 
348							"streetAddress": "${locationStreet}", 
349							"addressLocality": "${locationCity}", 
350							"addressRegion": "${locationRegion}", 
351							"postalCode": "${locationPostalCode}" 
352						}, 
353						"areaServed": { 
354							"@type": "Place", 
355							"geo": { 
356								"@type": "GeoCoordinates", 
357								"latitude": ${locationLatitude}, 
358								"longitude": ${locationLongitude} 
359							} 
360						} 
361					}, 
362					"shippingDetails": { 
363						"@type": "OfferShippingDetails", 
364						"shippingLabel": "Local Pickup Only" 
365					} 
366				}, 
367				"vehicleEngine": { 
368					"@type": "EngineSpecification", 
369					"name": "${unitEngineModel}" 
370				}, 
371				"mileageFromOdometer": { 
372					"@type": "QuantitativeValue", 
373					"value": "${miles}",	 
374					"unitCode": "MI" 
375				}, 
376				"itemCondition": "${condition}", 
377				"vehicleIdentificationNumber": "${vin}", 
378				"bodyType": "${cabConfiguration}", 
379				"color": "${color}" 
380			} 
381		</script> 
382					 
383	<div class="product-detail-sec"> 
384		<div class="row"> 
385			<div class="col-12"> 
386				<a href="/product-list" class="back-link prod-detail-back-link">Back to inventory</a> 
387			</div> 
388	<div class="col-md-6 pe-md-4"> 
389    <div class="product-images-sec"> 
390        <#if productImages?has_content> 
391            <div class="product-gallery"> 
392                 
393                <div class="product-image-gallery"> 
394                    <#assign mainIndex = 0 /> 
395                    <#list productImages as currentImage> 
396                        <div class="product-image" data-index="${mainIndex}"> 
397                            <#-- Check if this is the second element and a video URL exists --> 
398                            <#if mainIndex == 1 && infoObj.videoURL?? && infoObj.videoURL?trim?has_content> 
399                                <div class="product-video-wrapper"> 
400                                    <div class="js-plyr-player" data-plyr-provider="vimeo" data-plyr-embed-id="${infoObj.videoURL}" title="Product Video"></div> 
401                                </div> 
402                            <#else> 
403                                <#-- Standard Image Logic --> 
404                                <#if productImages?size == 1 && currentImage.getURL()?trim?contains('commercial-truck-coming-soon')> 
405                                    <#if defaultImgMap[infoObj.model.value?lower_case]??> 
406                                        <img src="${defaultImgMap[infoObj.model.value?lower_case]}" width="428" height="428" alt="" class="product-image-img" /> 
407                                    </#if> 
408                                <#else> 
409                                    <img src="${currentImage.getURL()}" data-fileentryid="${cpAttachmentLocalServiceUtil.getCPAttachmentFileEntry(currentImage.getId()).fileEntryId}" width="428" height="428" alt="" class="product-image-img" /> 
410                                </#if> 
411                            </#if> 
412                        </div> 
413                        <#assign mainIndex++ /> 
414                    </#list> 
415 
416                    <#if productImages?size == 1 && infoObj.videoURL?? && infoObj.videoURL?trim?has_content> 
417                        <div class="product-image" data-index="1"> 
418													<div class="product-video-wrapper"> 
419														<div class="js-plyr-player" data-plyr-provider="vimeo" data-plyr-embed-id="${infoObj.videoURL}" title="Product Video"></div> 
420													</div> 
421                        </div> 
422                    </#if> 
423                </div> 
424 
425                <#if (productImages?size > 1) || (infoObj.videoURL?? && infoObj.videoURL?trim?has_content)> 
426                    <div class="product-thumbnails"> 
427                        <#assign thumbIndex = 0 /> 
428                        <#list productImages as currentImage> 
429                            <div class="product-thumbnail" data-index="${thumbIndex}"> 
430                                <#-- Check if this is the second element for the video thumbnail --> 
431                                <#if thumbIndex == 1 && infoObj.videoURL?? && infoObj.videoURL?trim?has_content> 
432                                    <div class="video-thumb-placeholder" style="position: relative; width: 100%; height: 100%; min-height: 60px; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden;"> 
433                                        <img src="https://vumbnail.com/${infoObj.videoURL}.jpg" width="428" height="428" alt="Video Thumbnail" class="product-thumbnail-img" style="width: 100%; height: 100%; object-fit: cover; display: block;" /> 
434                                    </div> 
435                                <#else> 
436                                    <#-- Standard Thumbnail Image Logic --> 
437                                    <#if productImages?size == 1 && currentImage.getURL()?trim?contains('commercial-truck-coming-soon')> 
438                                        <#if defaultImgMap[infoObj.model.value?lower_case]??> 
439                                            <img src="${defaultImgMap[infoObj.model.value?lower_case]}" width="428" height="428" alt="" class="product-thumbnail-img" /> 
440                                        </#if> 
441                                    <#else> 
442                                        <img src="${currentImage.getURL()}" data-fileentryid="${cpAttachmentLocalServiceUtil.getCPAttachmentFileEntry(currentImage.getId()).fileEntryId}" width="428" height="428" alt="" class="product-thumbnail-img" /> 
443                                    </#if> 
444                                </#if> 
445                            </div> 
446                            <#assign thumbIndex++ /> 
447                        </#list> 
448 
449                        <#if productImages?size == 1 && infoObj.videoURL?? && infoObj.videoURL?trim?has_content> 
450                            <div class="product-thumbnail" data-index="1"> 
451                                <div class="video-thumb-placeholder" style="position: relative; width: 100%; height: 100%; min-height: 60px; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden;"> 
452                                    <img src="https://vumbnail.com/${infoObj.videoURL}.jpg" width="428" height="428" alt="Video Thumbnail" class="product-thumbnail-img" style="width: 100%; height: 100%; object-fit: cover; display: block;" /> 
453                                </div> 
454                            </div> 
455                        </#if> 
456                    </div> 
457                </#if> 
458 
459            </div> 
460        </#if> 
461    </div> 
462</div> 
463 
464<#-- Script load for Vimeo API --> 
465<#if infoObj.videoURL?? && infoObj.videoURL?trim?has_content> 
466    <script src="https://player.vimeo.com/api/player.js" defer></script> 
467</#if> 
468	 
469			<div class="col-md-6 ps-md-4"> 
470				<div class="product-details-sec"> 
471					<div class="product-tags"> 
472						<#if infoObj.conditions??> 
473							<a class="badge text-white bg-black border-black" href="/product-list?condition=${infoObj.conditions.id}">${infoObj.conditions.value}</a> 
474						</#if> 
475						<#if infoObj.status?? && infoObj.status != ""> 
476							<span class="badge text-black bg-white border-black">${infoObj.status}</span> 
477						</#if> 
478					</div> 
479					<h1 class="product-title">${productName}</h1> 
480					<p class="product-price"> 
481						<#if infoObj.price?has_content && infoObj.displayPrice[0] == "Yes" > 
482							<#assign formattedPrice = infoObj.price?string.currency /> 
483								${formattedPrice} 
484							<#else> 
485								Call For Price 
486						</#if> 
487							<#if infoObj.location?? && infoObj.location.phoneNumber?? && infoObj.location.phoneNumber?has_content> 
488								<a class="phone-number-info" href="tel:${infoObj.location.phoneNumber}">${infoObj.location.phoneNumber}</a> 
489							</#if> 
490					</p> 
491					<p class="product-description">${productShortDescription}</p> 
492					 
493					<div class="product-badges">						 
494					<#if infoObj.make?? && infoObj.make.value?lower_case = 'peterbilt'> 
495						<img src="/documents/d/guest/peterbilt" alt="Make: Peterbilt" class="make-peterbilt-badge" /> 
496					</#if> 
497					<#if infoObj.truckbadges??> 
498						<#list infoObj.truckbadges as truckBadge> 
499							<#if badgeMap?keys?seq_contains(truckBadge.value)> 
500								<#assign badge = badgeMap[truckBadge.value] /> 
501								<#if badge.modal??> 
502									<button class="red-oval-info-btn" 
503                    data-bs-toggle="modal" 
504                    data-bs-target="#${badge.modal}"> 
505										<img src="${badge.src}" class="${badge.class}" alt="${badge.alt}" /> 
506									</button> 
507									<#else> 
508										<img src="${badge.src}" class="${badge.class}" alt="${badge.alt}" /> 
509								</#if> 
510							</#if> 
511						</#list> 
512					</#if> 
513					</div> 
514 
515					<ul class="key-features"> 
516						<#if productDetail.externalReferenceCode?has_content> 
517							<li><span class="key-feature-title">Stock Number:</span></li> 
518							<li id="stock-number">${productDetail.externalReferenceCode}</li> 
519						</#if> 
520						<#if infoObj.model??> 
521							<#assign modelLink = "/product-list?model=${infoObj.model.id}" /> 
522							<#list models as model> 
523								<#list model.taxonomyCategoryBriefs as taxonomy> 
524									<#if taxonomy.taxonomyCategoryId == infoObj.model.id> 
525										<#assign modelLink = "/w/${model.friendlyUrlPath}" /> 
526									</#if> 
527								</#list> 
528							</#list> 
529 
530							<li><span class="key-feature-title">Model:</span></li> 
531							<li><a href="${modelLink}" class="product-model">${infoObj.model.value}</a></li> 
532						</#if> 
533						<#if infoObj.miles?? && infoObj.miles != ""> 
534							<li><span class="key-feature-title">Miles:</span></li> 
535							<#assign formattedMiles = infoObj.miles?replace('.','')?replace(',', '')?number?string('#,##0.###') /> 
536							<li>${formattedMiles}</li> 
537						</#if> 
538						<#if infoObj.location??> 
539							<#assign locationLink = "/product-list?location=${infoObj.location.id}" /> 
540							<#list locations as location> 
541								<#list location.taxonomyCategoryBriefs as taxonomy> 
542									<#if taxonomy.taxonomyCategoryId == infoObj.location.id> 
543										<#assign locationLink = "/w/${location.friendlyUrlPath}" /> 
544									</#if> 
545								</#list> 
546							</#list> 
547							<li><span class="key-feature-title">Location:</span></li> 
548							<li><a href="${locationLink}">${infoObj.location.value}</a></li> 
549							<li></li> 
550							<li>${infoObj.location.address}</li> 
551						</#if> 
552					</ul> 
553					 
554					<div class="prod-det-ctas"> 
555						<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#request-info-modal">Request Information</button> 
556						<a href="https://thepetestore.my.site.com/applicants/s/application" class="btn btn-danger">Apply for Financing</a> 
557						<button class="btn btn-outline-black" type="button" data-bs-toggle="dropdown" aria-expanded="false">Share</button> 
558						<ul class="share-list dropdown-menu"> 
559							<li><a href="#" class="dropdown-item share-link share-on-facebook">Facebook</a></li> 
560							<li><a href="#" class="dropdown-item share-link share-on-twitter">Twitter</a></li> 
561							<li><a href="#" class="dropdown-item share-link share-on-linkedin">LinkedIn</a></li> 
562							<li><a href="#" class="dropdown-item share-link share-on-email">Email</a></li> 
563						</ul> 
564					</div> 
565 
566					<script> 
567						Liferay.on('allPortletsReady', function(){ 
568							const itemNameElem = document.getElementById('item-name'); 
569							if(itemNameElem) { 
570								itemNameElem.innerText = '${productDetail.externalReferenceCode} - ${productName?html}'; 
571							} 
572						}); 
573					</script> 
574				</div> 
575			</div> 
576		</div> 
577		<div class="row"> 
578			<div class="col-12"> 
579				<div class="product-details-tabs nav-tabs"> 
580					<div class="tab-panel-nav" role="tablist"> 
581						<#if productDescription != ""> 
582							<button class="nav-link" data-bs-toggle="tab" type="button" role="tab" id="product-details-tab-nav-1" data-bs-target="#product-details-tab-panel-1" aria-controls="product-details-tab-panel-1" aria-selected="false">Overview</button> 
583						</#if> 
584						<button class="nav-link active" data-bs-toggle="tab" type="button" role="tab" id="product-details-tab-nav-2" data-bs-target="#product-details-tab-panel-2" aria-controls="product-details-tab-panel-2" aria-selected="true">Specifications</button> 
585					</div> 
586					 
587					<div class="tab-panel-content"> 
588						<#if productDescription != ""> 
589							<div class="tab-pane fade" id="product-details-tab-panel-1" role="tabpanel" aria-labelledby="product-details-tab-nav-1" tabindex="0"> 
590								<h3 class="h1">Overview</h3> 
591								${productDescription} 
592							</div> 
593						</#if> 
594						<div class="tab-pane fade show active" id="product-details-tab-panel-2" role="tabpanel" aria-labelledby="product-details-tab-nav-2" tabindex="0"> 
595							<h3 class="h1">Specifications</h3> 
596								<div class="product-specification-grid"> 
597									<#if infoObj.unitenginemodel??> 
598										<div class="product-specification-title">Engine Model</div> 
599										<div class="product-specification-value">${infoObj.unitenginemodel.value}</div> 
600									</#if> 
601									 
602									<#if infoObj.unitwheelbase??> 
603										<div class="product-specification-title">Wheelbase</div> 
604										<div class="product-specification-value">${infoObj.unitwheelbase.value}</div> 
605									</#if> 
606 
607									<div class="product-specification-title">HP | Torque</div> 
608									<div class="product-specification-value"> 
609										<#if infoObj.enginehp??> ${infoObj.enginehp.value} </#if> | <#if infoObj.enginetorque??> ${infoObj.enginetorque.value} </#if> 
610								  </div> 
611									 
612									<#if infoObj.unitfrontaxle??> 
613										<div class="product-specification-title">Front Axle</div> 
614										<div class="product-specification-value">${infoObj.unitfrontaxle.value}</div> 
615									</#if> 
616									 
617									<#if infoObj.unittransmission??> 
618										<div class="product-specification-title">Transmission</div> 
619										<div class="product-specification-value">${infoObj.unittransmission.value}</div> 
620									</#if> 
621									 
622									<#if infoObj.unitrearaxle??> 
623										<div class="product-specification-title">Rear Axle</div> 
624										<div class="product-specification-value">${infoObj.unitrearaxle.value}</div> 
625									</#if> 
626									 
627									<#if infoObj.cabconfiguration??> 
628										<div class="product-specification-title">Cab Configuration</div> 
629										<div class="product-specification-value">${infoObj.cabconfiguration.value}</div> 
630									</#if> 
631																		 
632									<#if infoObj.unitrearratio??> 
633										<div class="product-specification-title">Rear Axle Ratio</div> 
634										<div class="product-specification-value">${infoObj.unitrearratio.value}</div> 
635									</#if> 
636									 
637									<#if infoObj.interior??> 
638										<div class="product-specification-title">Trim Level</div> 
639										<div class="product-specification-value">${infoObj.interior.value}</div> 
640									</#if> 
641									 
642									<#if infoObj.unitrearsuspension??> 
643										<div class="product-specification-title">Rear Suspension</div> 
644										<div class="product-specification-value">${infoObj.unitrearsuspension.value}</div> 
645									</#if> 
646 
647									<#if infoObj.color??> 
648										<div class="product-specification-title">Paint Color</div> 
649										<div class="product-specification-value">${infoObj.color.value}</div> 
650									</#if> 
651	 
652									<div class="product-specification-title">Tires Front | Rear</div> 
653									<div class="product-specification-value"> 
654										<#if infoObj.unitfronttire??> ${infoObj.unitfronttire.value} </#if> | <#if infoObj.unitreartiresize??> ${infoObj.unitreartiresize.value} </#if> 
655									</div> 
656									 
657 
658									<#if infoObj.bodymanufacturers??> 
659										<div class="product-specification-title" id="body-manufacture">Body Manufacturer</div> 
660										<div class="product-specification-value">${infoObj.bodymanufacturers.value}</div> 
661									</#if> 
662<!--									 
663									<#if infoObj.year?has_content> 
664										<div class="product-specification-title">Year:</div> 
665										<div class="product-specification-value">${infoObj.year.value}</div> 
666									</#if> 
667--> 
668							</div> 
669						</div> 
670					</div> 
671				</div> 
672			</div> 
673		</div> 
674  </div> 
675			 
676			<div> 
677 
678			</div> 
679</#if> 
680		<script> 
681			Liferay.on('allPortletsReady', function() { 
682				if(typeof tabPanelNav !== "undefined") { 
683					tabPanelNav(); 
684				} 
685			}); 
686		</script> 
Office

Estimate Your Monthly Payment

Use our online tool to get an estimated monthly payment and see how different financing options can impact your bottom line.

Our Experienced Finance Team is Here to Help

Competitive Rates:
We work with a network of lenders to secure the most competitive rates available.

Fast and Easy Approvals:
Get the green light quickly so you can focus on running your business.

Expert Guidance:
Our knowledgeable finance professionals will guide you through every step of the process.
*Offer subject to credit approval. Standard credit underwriting guidelines through a Pete Store partner lender apply. Not all trucks will qualify, and actual dealer incentives and finance terms may vary and will depend on many factors, including applicant and/or guarantor credit profile(s) and additional approval conditions. The Pete Store, selling dealer, and our banking partners reserve the right to amend, supersede, or terminate this program at any time. Additional state restrictions may apply. Cannot be combined with any other offers.