| Line 174... |
Line 174... |
| 174 |
|
174 |
|
| 175 |
$condition = (string)$offer->OfferAttributes->Condition;
|
175 |
$condition = (string)$offer->OfferAttributes->Condition;
|
| 176 |
$url .= $condition;
|
176 |
$url .= $condition;
|
| 177 |
$detailCondition = $condition;
|
177 |
$detailCondition = $condition;
|
| 178 |
if ($condition == "Collectible") { $condition = 'Used'; $detailCondition = "Collectible"; }
|
178 |
if ($condition == "Collectible") { $condition = 'Used'; $detailCondition = "Collectible"; }
|
| - |
|
179 |
if ($condition == "Refurbished") { $condition = 'Used'; $detailCondition = "Refurbished"; }
|
| 179 |
$currency = (string)$offer->OfferListing->Price->CurrencyCode;
|
180 |
$currency = (string)$offer->OfferListing->Price->CurrencyCode;
|
| 180 |
$price = number_format(floatval($offer->OfferListing->Price->Amount) / 100.00, 2, '.', '');
|
181 |
$price = number_format(floatval($offer->OfferListing->Price->Amount) / 100.00, 2, '.', '');
|
| 181 |
|
182 |
|
| 182 |
if ($price <= "0.00") {
|
183 |
if ($price <= "0.00") {
|
| 183 |
continue;
|
184 |
continue;
|
| Line 414... |
Line 415... |
| 414 |
$searchTitle = 'Searching for:<br><br><strong>' . (string)$item->ItemAttributes->Title . ' by' . $wlArtists . '</strong>';
|
415 |
$searchTitle = 'Searching for:<br><br><strong>' . (string)$item->ItemAttributes->Title . ' by' . $wlArtists . '</strong>';
|
| 415 |
if (!empty($barcode)) {
|
416 |
if (!empty($barcode)) {
|
| 416 |
$searchTitle .= " (" . displayBarcode($barcode) . ")";
|
417 |
$searchTitle .= " (" . displayBarcode($barcode) . ")";
|
| 417 |
}
|
418 |
}
|
| 418 |
|
419 |
|
| 419 |
$str .= " <button type=\"submit\" name=\"submit\" value=\"discogsSearch\" class=\"btn btn-primary m-1 btn-sm\" onclick=\"document.getElementById('discogsTitle').value = '" . addslashes((string)$item->ItemAttributes->Title) . "';document.getElementById('discogsArtist').value = '" . addslashes($searchArtists) . "';document.getElementById('discogsBarcode').value = '" . $barcode . "';progressBar('" . sanitizeInput2($searchTitle) . "');\" title=\"Search for Sales Offers\" data-toggle=\"tooltip\"><i class=\"fas fa-search\"></i></button>";
|
420 |
$str .= " <button type=\"submit\" name=\"submit\" value=\"discogsSearch\" class=\"btn btn-primary m-1 btn-sm\" onclick=\"document.getElementById('discogsTitle').value = '" . addslashes((string)$item->ItemAttributes->Title) . "';document.getElementById('discogsArtist').value = '" . addslashes($searchArtists) . "';document.getElementById('discogsBarcode').value = '" . $barcode . "';progressBar('" . sanitizeInput2($searchTitle) . "');\" title=\"Search for Store Offers\" data-toggle=\"tooltip\"><i class=\"fas fa-search\"></i></button>";
|
| 420 |
$str .= "</span>";
|
421 |
$str .= "</span>";
|
| 421 |
$str .= "</div>";
|
422 |
$str .= "</div>";
|
| 422 |
$str .= "<span id=\"wishlistAdd" . $cnt . "\"></span>";
|
423 |
$str .= "<span id=\"wishlistAdd" . $cnt . "\"></span>";
|
| 423 |
$str .= "</div>";
|
424 |
$str .= "</div>";
|
| 424 |
|
425 |
|