<@ if(data.hasConfirmedStore) { @>
<@ if(data.selectedStore.name == 'Pep Boys Online') { @>

<@= data.selectedStore.name @>

<@ } else { @>

<@= data.selectedStore.name @>
<@= data.selectedStore.street @>
<@= data.selectedStore.city @>, <@= data.selectedStore.state @> <@= data.selectedStore.zip @>
<@= data.selectedStore.phone @>
Open Today from <@ if(data.currentDay > 0 && data.currentDay < 6) { @> <@= data.selectedStore.mondayThroughFridayRetailHours @> <@ } else if(data.currentDay == 0) { @> <@= data.selectedStore.sunRetailHours @> <@ } else if(data.currentDay == 6) { @> <@= data.selectedStore.satRetailHours @> <@ } @> <@ if(data.selectedStore.displayReview == 1) { @>

<@ if(data.selectedStore.hasStoreReview) { @>
<@ var storeLocatorUrl = data.storeLocatorUrl; storeLocatorUrl += data.selectedStore.state.toLocaleLowerCase().trim() + "/"; storeLocatorUrl += data.selectedStore.city.toLocaleLowerCase().trim() + "/"; storeLocatorUrl += data.selectedStore.street.toLocaleLowerCase().trim().replace(/\s/g, "-"); storeLocatorUrl += '.html'; @> See all <@= data.selectedStore.storeReview.totalReviewCount @> reviews <@ } else { @>
Write the first review
<@ } @>
<@ } @>

<@ } @>
<@ } @>
<@ if(data.searchString != null) { @> <@ } else { @> <@ } @> <@ _.each(data.stores, function(store, key, list) { @>
<@ if(store.name == 'Pep Boys Online') { @>

<@= store.name @>

<@ } else { @>

<@= store.name @> <@ if(!_.isEmpty(store.distance)) { @> <@= store.distance @> miles <@ } @>
<@= store.street @>
<@= store.city @>, <@= store.state @> <@= store.zip @>
<@= store.phone @> <@ if(store.displayReview == 1) { @>

<@ if(store.hasStoreReview) { @>
<@ var storeLocatorUrl = data.storeLocatorUrl; storeLocatorUrl += store.state.toLocaleLowerCase().trim() + "/"; storeLocatorUrl += store.city.toLocaleLowerCase().trim() + "/"; storeLocatorUrl += store.street.toLocaleLowerCase().trim().replace(/\s/g, "-"); storeLocatorUrl += '.html'; @> See all <@= store.storeReview.totalReviewCount @> reviews <@ } else { @>
Write the first review
<@ } @>
<@ } @>

<@ } @>
<@ }); @>

<@ if(data.searchString != null) { @> See more stores near <@= data.searchString @> STORE LOCATOR <@ } else { @> <@ if(data.selectedStore == null || data.selectedStore.name == 'Pep Boys Online') { @> See more stores near you STORE LOCATOR <@ } else { @> See more stores near you STORE LOCATOR <@ } @> <@ } @>