Home
›
iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 金盞花
$product = {"id":7815636287587,"title":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 金盞花","handle":"iphone-15-pro-jellytint-magsafe-bumper-crossover-design-eg09","description":null,"published_at":"2025-06-11T15:22:01+08:00","created_at":"2025-06-11T14:28:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlepopcorn","device-iPhone 15 Pro","merge","reseller-littlepopcorn"],"price":148000,"price_min":148000,"price_max":148000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43444894826595,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012970G-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34012056617059,"product_id":7815636287587,"position":13,"created_at":"2025-06-12T10:05:49+08:00","updated_at":"2025-06-12T10:05:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952","variant_ids":[43444894826595]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 金盞花 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970G-EG09","featured_media":{"alt":null,"id":25692747890787,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444897710179,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"MCN012970I-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34012058222691,"product_id":7815636287587,"position":16,"created_at":"2025-06-12T10:05:51+08:00","updated_at":"2025-06-12T10:05:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_1420d913-b74d-4982-a767-0dcf0c0ccc68.webp?v=1749693953","variant_ids":[43444897710179]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 金盞花 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970I-EG09","featured_media":{"alt":null,"id":25692749365347,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_1420d913-b74d-4982-a767-0dcf0c0ccc68.webp?v=1749693953"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c.webp?v=1749623304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd.webp?v=1749623305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5.webp?v=1749623306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7.webp?v=1749623306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_772be69a-e845-43d6-9b15-b9d1909fbee7.webp?v=1749624569","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_03212cde-8f63-495d-87a1-8608b4a06e55.webp?v=1749624570","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_7ba7aed7-41fe-4b74-8fda-8792076e6110.webp?v=1749624570","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_2790a157-b0f4-4d47-9ed8-aa1e789465c8.webp?v=1749624571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_2e7be30b-2e99-4fbc-87d9-c3c0d1e83f5e.webp?v=1749625594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_22bda5a5-4535-46e6-9631-0d61037e5bdf.webp?v=1749625595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_2582959a-0634-4dd4-b0e4-f5b737a9def4.webp?v=1749625595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_d85bcf7d-3564-4f50-8abb-ba1c20232fd6.webp?v=1749625596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_e449bbc1-3b7b-4ec7-8778-43a24240c0cc.webp?v=1749693952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_b2809603-c529-4573-b3c5-b98001756a0a.webp?v=1749693952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_1420d913-b74d-4982-a767-0dcf0c0ccc68.webp?v=1749693953"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c.webp?v=1749623304","options":["color"],"media":[{"alt":null,"id":25689559433315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c.webp?v=1749623304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c.webp?v=1749623304","width":2000},{"alt":null,"id":25689559564387,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd.webp?v=1749623305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd.webp?v=1749623305","width":2000},{"alt":null,"id":25689559760995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5.webp?v=1749623306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5.webp?v=1749623306","width":2000},{"alt":null,"id":25689559990371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7.webp?v=1749623306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7.webp?v=1749623306","width":2000},{"alt":null,"id":25689770164323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_772be69a-e845-43d6-9b15-b9d1909fbee7.webp?v=1749624569"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_772be69a-e845-43d6-9b15-b9d1909fbee7.webp?v=1749624569","width":2000},{"alt":null,"id":25689770229859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_03212cde-8f63-495d-87a1-8608b4a06e55.webp?v=1749624570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_03212cde-8f63-495d-87a1-8608b4a06e55.webp?v=1749624570","width":2000},{"alt":null,"id":25689770295395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_7ba7aed7-41fe-4b74-8fda-8792076e6110.webp?v=1749624570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_7ba7aed7-41fe-4b74-8fda-8792076e6110.webp?v=1749624570","width":2000},{"alt":null,"id":25689770426467,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_2790a157-b0f4-4d47-9ed8-aa1e789465c8.webp?v=1749624571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_2790a157-b0f4-4d47-9ed8-aa1e789465c8.webp?v=1749624571","width":2000},{"alt":null,"id":25690037846115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_2e7be30b-2e99-4fbc-87d9-c3c0d1e83f5e.webp?v=1749625594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_2e7be30b-2e99-4fbc-87d9-c3c0d1e83f5e.webp?v=1749625594","width":2000},{"alt":null,"id":25690037977187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_22bda5a5-4535-46e6-9631-0d61037e5bdf.webp?v=1749625595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_22bda5a5-4535-46e6-9631-0d61037e5bdf.webp?v=1749625595","width":2000},{"alt":null,"id":25690038108259,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_2582959a-0634-4dd4-b0e4-f5b737a9def4.webp?v=1749625595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_2582959a-0634-4dd4-b0e4-f5b737a9def4.webp?v=1749625595","width":2000},{"alt":null,"id":25690038435939,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_d85bcf7d-3564-4f50-8abb-ba1c20232fd6.webp?v=1749625596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_d85bcf7d-3564-4f50-8abb-ba1c20232fd6.webp?v=1749625596","width":2000},{"alt":null,"id":25692747890787,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952","width":2000},{"alt":null,"id":25692748284003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_e449bbc1-3b7b-4ec7-8778-43a24240c0cc.webp?v=1749693952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5c98f9d77e7b1db25f75faa8ed832dff4daa42c_e449bbc1-3b7b-4ec7-8778-43a24240c0cc.webp?v=1749693952","width":2000},{"alt":null,"id":25692748644451,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_b2809603-c529-4573-b3c5-b98001756a0a.webp?v=1749693952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9947198d30e733c338067e3909178e901fd2e5_b2809603-c529-4573-b3c5-b98001756a0a.webp?v=1749693952","width":2000},{"alt":null,"id":25692749365347,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_1420d913-b74d-4982-a767-0dcf0c0ccc68.webp?v=1749693953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_1420d913-b74d-4982-a767-0dcf0c0ccc68.webp?v=1749693953","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43444894826595,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012970G-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34012056617059,"product_id":7815636287587,"position":13,"created_at":"2025-06-12T10:05:49+08:00","updated_at":"2025-06-12T10:05:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952","variant_ids":[43444894826595]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 金盞花 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970G-EG09","featured_media":{"alt":null,"id":25692747890787,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444897710179,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"MCN012970I-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34012058222691,"product_id":7815636287587,"position":16,"created_at":"2025-06-12T10:05:51+08:00","updated_at":"2025-06-12T10:05:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_1420d913-b74d-4982-a767-0dcf0c0ccc68.webp?v=1749693953","variant_ids":[43444897710179]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 金盞花 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970I-EG09","featured_media":{"alt":null,"id":25692749365347,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ef1ff0aef3ba5afd614dda16459a081595efd7_1420d913-b74d-4982-a767-0dcf0c0ccc68.webp?v=1749693953"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43444894826595,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012970G-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34012056617059,"product_id":7815636287587,"position":13,"created_at":"2025-06-12T10:05:49+08:00","updated_at":"2025-06-12T10:05:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952","variant_ids":[43444894826595]},"available":true,"name":"iPhone 15 Pro Clear (MagSafe 兼容) 小玉米花 金盞花 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012970G-EG09","featured_media":{"alt":null,"id":25692747890787,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9908ea733f26fd576dd24ceb4b79caf95bf99cd_2c4001d4-5d31-44f4-af22-d1a3ef854019.webp?v=1749693952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$brand_handle = null;
$type = "";
var sellingStatus
// 只有設計款(SKU 含 '-')才需要合圖
if ($isMerge && $defaultVariant.sku.includes('-')) {
$(document).ready(function() {
var productImg = $product.images[0];
var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]);
var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate')
? [productImg, bumperImg]
: [bumperImg, productImg];
window.mergeProductImages(layers).then(function (mergedImg) {
$('.merged-img').attr('src', mergedImg);
});
});
};
var sellingStatusData
window.fetchSellingStatus().then(data => {
try {
sellingStatusData = data;
} catch (error) {
sellingStatusData = null
console.error('Unable to parse selling status', error)
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku);
});
})
function handleSellingStatus(currentSku) {
if (!sellingStatusData) {
console.error('No selling status available!')
return
}
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder]
const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku)
if (matchSellingStatusProduct.length > 0) {
const isProductPending = matchSellingStatusProduct[0].status === 'pending'
const matchDate = matchSellingStatusProduct[0].date
sellingStatus = isProductPending
? "缺貨中"
: "預購完成出貨日:" + matchDate
sellingStatusElement.textContent = sellingStatus
if (sellingStatus.includes("缺貨中")){
addToCartButton.disabled ='true';
addToCartButton.textContent = "缺貨中無法加入購物車"
} else {
addToCartButton.textContent = "加到購物車"
}
} else {
sellingStatusElement.textContent = ''
addToCartButton.textContent = "加到購物車"
};
};
};
document.addEventListener('DOMContentLoaded', function () {
var currentVariantSelect = document.getElementById('SingleOptionSelector-0')
currentVariantSelect.addEventListener('change', function() {
var currentSku = $('#current_sku').text()
var skuElement = document.getElementById('current-sku')
skuElement.textContent = currentSku
handleSellingStatus(currentSku)
});
});
// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// add to cart button, sold out, and unavailable states here.
theme.productStrings = {
addToCart: "加到購物車",
soldOut: "售完",
unavailable: "停產"
}