This object is in archive! 

Vehicle name template variable

Adam R. shared this question 7 years ago
Answered

I made some modifications to our vehicle packing list, and I can't get the vehicle name to display anymore. I thought the tag was %vehicle_name%, but I can't find it in the list of template variables. What is the correct template variable to use?

Best Answer
photo

Oh I see. You weren't actually editing the actual vehicle packing list. You were editing a regular packing list template with a title that suggested it was a vehicle packing list. There is only one real vehicle packing list though, which has special behaviors like being able to print out the template variables for the vehicle itself. To turn your template into THE Vehicle packing list, change the title of the template you are editing to "Vehicle"

Comments (4)

photo
1

%vehicle_name% is correct. At the moment you have %vehiclename% (no underscore). Also ensure that there no HTML tags interupting the text. eg if you toggle into HTML mode, it may have %<span>vehicle_name% or something similar.

photo
1

I was trying some variations earlier, I've switched it back to %vehicle_name% and it's still not working. This is my current HTML:


<p><b>%vehicle_name% - %startday%, %startdate%</b></p>

photo
1

Oh I see. You weren't actually editing the actual vehicle packing list. You were editing a regular packing list template with a title that suggested it was a vehicle packing list. There is only one real vehicle packing list though, which has special behaviors like being able to print out the template variables for the vehicle itself. To turn your template into THE Vehicle packing list, change the title of the template you are editing to "Vehicle"

photo
1

Ah I see now, I didn't know it needed a specific name. Looks like everything is working now. Thank you.

Replies have been locked on this page!