| Line 638... |
Line 638... |
| 638 |
// print directions when no results are found
|
638 |
// print directions when no results are found
|
| 639 |
function printNoResultsWarning() {
|
639 |
function printNoResultsWarning() {
|
| 640 |
$str = "<div class=\"text-center bg-warning p-3 rounded\">";
|
640 |
$str = "<div class=\"text-center bg-warning p-3 rounded\">";
|
| 641 |
$str .= "<p class=\"display-5 font-weight-bold\">Your search returned no store offers</p>";
|
641 |
$str .= "<p class=\"display-5 font-weight-bold\">Your search returned no store offers</p>";
|
| 642 |
$str .= "<p>You may want to try the following:</p>";
|
642 |
$str .= "<p>You may want to try the following:</p>";
|
| 643 |
$str .= "<ul><li>Check the spelling</li><li>Try using fewer words</li><li>Check the search filter (<i class=\"fas fa-filter\"></i>) if you used one</li><li>Try using artist and title if you used a barcode; some albums have been released under various barcodes</li></ul>";
|
643 |
$str .= "<ul><li>Check the spelling</li><li>Try using fewer words</li><li>Try using artist and title if you used a barcode; some albums have been released under various barcodes</li></ul>";
|
| 644 |
$str .= "</div>";
|
644 |
$str .= "</div>";
|
| 645 |
|
645 |
|
| 646 |
return $str;
|
646 |
return $str;
|
| 647 |
}
|
647 |
}
|
| 648 |
|
648 |
|
| Line 1130... |
Line 1130... |
| 1130 |
$str .= ' </div>';
|
1130 |
$str .= ' </div>';
|
| 1131 |
*/
|
1131 |
*/
|
| 1132 |
$str .= ' <div class="shadow p-4 bg-white">';
|
1132 |
$str .= ' <div class="shadow p-4 bg-white">';
|
| 1133 |
$str .= ' <p class="display-5"><i class="fas fa-search"></i> Search Keywords</p>';
|
1133 |
$str .= ' <p class="display-5"><i class="fas fa-search"></i> Search Keywords</p>';
|
| 1134 |
$str .= ' <p><span class="font-weight-bold">Barcode:</span>';
|
1134 |
$str .= ' <p><span class="font-weight-bold">Barcode:</span>';
|
| 1135 |
$str .= ' <br>The 12 or 13 digit barcode, normally located on the back, offers the best chance to find a specific album. See our <a href="https://blog.findcheapmusic.com/2020/03/music-cd-barcodes-and-identifiers.html" target="_blank">blog post</a> for more information about music barcodes.</p>';
|
1135 |
$str .= ' <br>The 12 or 13 digit barcode, normally located on the back, offers the best chance to find a specific album. See our <a href="https://blog.findcheapmusic.com/2020/03/music-cd-barcodes-and-identifiers.html" target="_blank" rel="noopener noreferrer">blog post</a> for more information about music barcodes.</p>';
|
| 1136 |
$str .= ' <p><span class="font-weight-bold">Artist and Title:</span>';
|
1136 |
$str .= ' <p><span class="font-weight-bold">Artist and Title:</span>';
|
| 1137 |
$str .= ' <br>The full name of the album, including artist and title, will usually lead to a specific album.</p>';
|
1137 |
$str .= ' <br>The full name of the album, including artist and title, will usually lead to a specific album.</p>';
|
| 1138 |
$str .= ' <p><span class="font-weight-bold">Just Artist or Title:</span>';
|
1138 |
$str .= ' <p><span class="font-weight-bold">Just Artist or Title:</span>';
|
| 1139 |
$str .= ' <br>Searches for artist or title alone will bring up multiple albums. You can later narrow your search further down, if necessary.</p>';
|
1139 |
$str .= ' <br>Searches for artist or title alone will bring up multiple albums. You can later narrow your search further down, if necessary.</p>';
|
| 1140 |
$str .= ' <p><span class="font-italic">The search algorithm prefers the barcode number whenever available. Since some albums have been released under various barcodes, try searching again for artist and title should the barcode search come up empty.</span></p>';
|
1140 |
$str .= ' <p><span class="font-italic">The search algorithm prefers the barcode number whenever available. Since some albums have been released under various barcodes, try searching again for artist and title should the barcode search come up empty.</span></p>';
|