{exp:stash:set_list trim="yes" name="hc-vrs" parse_tags="yes" parse_conditionals="yes" parse_depth="2"} {exp:query sql="SELECT DISTINCT(hc.HotelID) as hotelid_hc, hc.HotelName as hotel_name, hc.HotelFileName as hotel_url, hc.PlaceName as hotel_city, hc.StarRating as hotel_star_rating, hc.HotelAddress as hotel_address, hc.ImageID as hotel_image FROM aff_hc_hotels hc JOIN aff_booking_bridge bb ON hc.HotelID=bb.hotelscombined_id WHERE hc.PropertyType='Vacation Rental' AND hc.ImageID!='Null' AND bb.status='open' AND bb.destination='{stash:destination}' ORDER BY PlaceName ASC"} {stash:property_name}{hotel_name}{/stash:property_name} {stash:property_city}{hotel_city}{/stash:property_city} {stash:hc_id}{hotelid_hc}{/stash:hc_id} {stash:hc_url}https://hotels.hawaii-guide.com/Hotel/{hotel_url}.htm?a_aid=73994&brandId=184360&label=WLTile-VR{/stash:hc_url} {stash:hc_image}{if hotel_image}https://edge.media.datahc.com/HI{hotel_image}.jpg{/if}{/stash:hc_image} {stash:hc_address}{hotel_address}{/stash:hc_address} {stash:hc_star_rating}{hotel_star_rating}{/stash:hc_star_rating} {/exp:query} {/exp:stash:set_list}