Home
›
iPhone 17 Pro Clear (MagSafe 兼容 & 相機按鈕) fluffystar 毛絨絨星人 Nini的每一刻
$product = {"id":7960742461539,"title":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) fluffystar 毛絨絨星人 Nini的每一刻","handle":"iphone-17-pro-jellytint-magsafe-with-capture-button-flu02","description":null,"published_at":"2026-02-10T15:06:26+08:00","created_at":"2026-02-09T15:12:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-fluffystar","device-iPhone 17 Pro","merge","reseller-fluffystar"],"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":43992319131747,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013524L-FLU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351573098595,"product_id":7960742461539,"position":13,"created_at":"2026-07-22T21:18:53+08:00","updated_at":"2026-07-22T21:18:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335","variant_ids":[43992319131747]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) fluffystar 毛絨絨星人 Nini的每一刻 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524L-FLU02","featured_media":{"alt":null,"id":27855378612323,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992321065059,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013524M-FLU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351575523427,"product_id":7960742461539,"position":14,"created_at":"2026-07-22T21:18:54+08:00","updated_at":"2026-07-22T21:18:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_ee2d8fbf-b6a1-48f4-a446-09ec0137752a.webp?v=1784726336","variant_ids":[43992321065059]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) fluffystar 毛絨絨星人 Nini的每一刻 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524M-FLU02","featured_media":{"alt":null,"id":27855381069923,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_ee2d8fbf-b6a1-48f4-a446-09ec0137752a.webp?v=1784726336"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4.webp?v=1770621134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e.webp?v=1770621134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d.webp?v=1770621135","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_ae139111-594a-4d6c-9308-8b8d4b840b13.webp?v=1770688128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_afd6209c-e84d-4f1e-9ee9-5a8ca3ef8be0.webp?v=1770688128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_199dd925-ec48-4480-9f12-9199fb59ecf0.webp?v=1770688130","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_00a3c709-5ef7-4354-bf95-31649e921b87.webp?v=1784721082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_eece70d0-6336-47b2-bdbb-b8703d7ef16f.webp?v=1784721082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_cd0b91a6-698d-430c-a7ff-8a84e0936e83.webp?v=1784721083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2b639f43-239e-4226-afb8-d30039e927d5.webp?v=1784725262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_4bb4a5bd-6805-4d55-b579-5d283104a43a.webp?v=1784725263","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_57e31e8c-1f38-43b4-a801-0b0b1c670445.webp?v=1784725264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_ee2d8fbf-b6a1-48f4-a446-09ec0137752a.webp?v=1784726336","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_17f28269-970e-4b03-88d1-18ed3482a17c.webp?v=1784726338"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4.webp?v=1770621134","options":["color"],"media":[{"alt":null,"id":26767827927139,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4.webp?v=1770621134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4.webp?v=1770621134","width":2000},{"alt":null,"id":26767828418659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e.webp?v=1770621134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e.webp?v=1770621134","width":2000},{"alt":null,"id":26767828844643,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d.webp?v=1770621135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d.webp?v=1770621135","width":2000},{"alt":null,"id":26773273772131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_ae139111-594a-4d6c-9308-8b8d4b840b13.webp?v=1770688128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_ae139111-594a-4d6c-9308-8b8d4b840b13.webp?v=1770688128","width":2000},{"alt":null,"id":26773274493027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_afd6209c-e84d-4f1e-9ee9-5a8ca3ef8be0.webp?v=1770688128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_afd6209c-e84d-4f1e-9ee9-5a8ca3ef8be0.webp?v=1770688128","width":2000},{"alt":null,"id":26773275148387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_199dd925-ec48-4480-9f12-9199fb59ecf0.webp?v=1770688130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_199dd925-ec48-4480-9f12-9199fb59ecf0.webp?v=1770688130","width":2000},{"alt":null,"id":27853613891683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_00a3c709-5ef7-4354-bf95-31649e921b87.webp?v=1784721082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_00a3c709-5ef7-4354-bf95-31649e921b87.webp?v=1784721082","width":2000},{"alt":null,"id":27853614579811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_eece70d0-6336-47b2-bdbb-b8703d7ef16f.webp?v=1784721082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_eece70d0-6336-47b2-bdbb-b8703d7ef16f.webp?v=1784721082","width":2000},{"alt":null,"id":27853614907491,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_cd0b91a6-698d-430c-a7ff-8a84e0936e83.webp?v=1784721083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_cd0b91a6-698d-430c-a7ff-8a84e0936e83.webp?v=1784721083","width":2000},{"alt":null,"id":27854890074211,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2b639f43-239e-4226-afb8-d30039e927d5.webp?v=1784725262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2b639f43-239e-4226-afb8-d30039e927d5.webp?v=1784725262","width":2000},{"alt":null,"id":27854890795107,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_4bb4a5bd-6805-4d55-b579-5d283104a43a.webp?v=1784725263"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_4bb4a5bd-6805-4d55-b579-5d283104a43a.webp?v=1784725263","width":2000},{"alt":null,"id":27854891516003,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_57e31e8c-1f38-43b4-a801-0b0b1c670445.webp?v=1784725264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_57e31e8c-1f38-43b4-a801-0b0b1c670445.webp?v=1784725264","width":2000},{"alt":null,"id":27855378612323,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335","width":2000},{"alt":null,"id":27855381069923,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_ee2d8fbf-b6a1-48f4-a446-09ec0137752a.webp?v=1784726336"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_ee2d8fbf-b6a1-48f4-a446-09ec0137752a.webp?v=1784726336","width":2000},{"alt":null,"id":27855381856355,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_17f28269-970e-4b03-88d1-18ed3482a17c.webp?v=1784726338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebbf0e92997f428ce7dc021d8ee4ced846eed0d_17f28269-970e-4b03-88d1-18ed3482a17c.webp?v=1784726338","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43992319131747,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013524L-FLU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351573098595,"product_id":7960742461539,"position":13,"created_at":"2026-07-22T21:18:53+08:00","updated_at":"2026-07-22T21:18:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335","variant_ids":[43992319131747]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) fluffystar 毛絨絨星人 Nini的每一刻 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524L-FLU02","featured_media":{"alt":null,"id":27855378612323,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992321065059,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013524M-FLU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351575523427,"product_id":7960742461539,"position":14,"created_at":"2026-07-22T21:18:54+08:00","updated_at":"2026-07-22T21:18:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_ee2d8fbf-b6a1-48f4-a446-09ec0137752a.webp?v=1784726336","variant_ids":[43992321065059]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) fluffystar 毛絨絨星人 Nini的每一刻 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524M-FLU02","featured_media":{"alt":null,"id":27855381069923,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea091a2c1e9b7bee53c6b8bd44f8cb7efa790e8e_ee2d8fbf-b6a1-48f4-a446-09ec0137752a.webp?v=1784726336"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43992319131747,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013524L-FLU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351573098595,"product_id":7960742461539,"position":13,"created_at":"2026-07-22T21:18:53+08:00","updated_at":"2026-07-22T21:18:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335","variant_ids":[43992319131747]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) fluffystar 毛絨絨星人 Nini的每一刻 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524L-FLU02","featured_media":{"alt":null,"id":27855378612323,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180d8445f1a05cb6e7f9da65056948ee6cff93f4_2c179014-9f8d-4d27-84c8-d8ebbbdc965b.webp?v=1784726335"}},"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: "停產"
}