Skip to content

Commit bdc9b07

Browse files
committed
remove amazon button
1 parent 1ed2f45 commit bdc9b07

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

components/common.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,7 @@ function createProductCard(productModel) {
195195
function createShopButton(productModel) {
196196
return `
197197
<div class="text-center mb-4">
198-
${ getAmazonASIN(productModel) ? `<a href="https://www.amazon.com/dp/${getAmazonASIN(productModel)}" target="_blank" class="btn btn-success btn-lg">
199-
Shop ${productModel} on Amazon
200-
</a>` : ''}
198+
201199
${ geteBayItemNoUs(productModel) ? `<a href="https://www.ebay.com/itm/${geteBayItemNoUs(productModel)}" target="_blank" class="btn btn-success btn-lg">
202200
Shop ${productModel} on eBay US
203201
</a>` : ''}

products/e02h24.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
const container = document.querySelector('.container');
1212
container.innerHTML += createShopButton('E02H24');
13-
container.innerHTML += createGallerySection('E02H24', '', 7);
13+
container.innerHTML += createGallerySection('E02H24', '', 4);
1414
container.innerHTML += createManualSection('E02H24');
1515
// container.innerHTML += createInstallGuideSection('YOUR_E02H24_VIDEO_ID');
1616

@@ -23,5 +23,3 @@
2323

2424
</body>
2525
</html>
26-
27-

0 commit comments

Comments
 (0)