$product = {"id":7946668605539,"title":"iPhone 13 mini Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳","handle":"iphone-13-mini-mod-nx-it37","description":null,"published_at":"2025-12-29T15:14:24+08:00","created_at":"2025-12-29T15:08:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-godgwawa","device-iPhone 13 Mini","merge","reseller-godgwawa"],"price":90000,"price_min":90000,"price_max":90000,"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":43923607715939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037368549475,"product_id":7946668605539,"position":6,"created_at":"2025-12-29T15:09:19+08:00","updated_at":"2025-12-29T15:09:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161","variant_ids":[43923607715939]},"available":true,"name":"iPhone 13 mini Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-IT37","featured_media":{"alt":null,"id":26595955671139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43923608797283,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037367009379,"product_id":7946668605539,"position":2,"created_at":"2025-12-29T15:09:17+08:00","updated_at":"2025-12-29T15:09:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6d915c9a116e970f92a18d604c6bdc0595c2af_7822e9ec-21a3-4107-bc41-a92ce2099219.webp?v=1766992159","variant_ids":[43923608797283]},"available":true,"name":"iPhone 13 mini Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-IT37","featured_media":{"alt":null,"id":26595954196579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6d915c9a116e970f92a18d604c6bdc0595c2af_7822e9ec-21a3-4107-bc41-a92ce2099219.webp?v=1766992159"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43923609452643,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037366812771,"product_id":7946668605539,"position":1,"created_at":"2025-12-29T15:09:16+08:00","updated_at":"2025-12-29T15:09:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f7f88320bb34c4f7ccbf3c35a906806057215f_22a87385-e7e7-4862-b70b-75c4bfa43b04.webp?v=1766992159","variant_ids":[43923609452643]},"available":true,"name":"iPhone 13 mini Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-IT37","featured_media":{"alt":null,"id":26595953999971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f7f88320bb34c4f7ccbf3c35a906806057215f_22a87385-e7e7-4862-b70b-75c4bfa43b04.webp?v=1766992159"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f7f88320bb34c4f7ccbf3c35a906806057215f_22a87385-e7e7-4862-b70b-75c4bfa43b04.webp?v=1766992159","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6d915c9a116e970f92a18d604c6bdc0595c2af_7822e9ec-21a3-4107-bc41-a92ce2099219.webp?v=1766992159","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9066da71049a83300be9f9224b37ed1004edd2b_d2c145d9-524c-428e-9af4-7913f8ac03ae.webp?v=1766992159","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27654ff2cab49600d4f922a98e913d3fc38301a8_54083293-3d48-4c99-a70e-9f46d068f545.webp?v=1766992160","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa5cc663e5429d215c63d506561b13a4c225a4_a873408c-6db2-41c0-98a2-0e09810ca0fa.webp?v=1766992161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f255033576723ddd4e171e747ee53256499c9215_13f309af-6595-414d-8506-4c766b989f91.webp?v=1766992161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23015cfea634450aca3f5571a1b5517b70c58e3e_9a041e07-1760-4e70-957a-0b01579b4a87.webp?v=1766992162","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b545dbb8c06043f58bb42b9af13e101a0c59e386_1117bb73-93f9-4599-9c1e-289c0e0641aa.webp?v=1766992162"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f7f88320bb34c4f7ccbf3c35a906806057215f_22a87385-e7e7-4862-b70b-75c4bfa43b04.webp?v=1766992159","options":["color"],"media":[{"alt":null,"id":26595953999971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f7f88320bb34c4f7ccbf3c35a906806057215f_22a87385-e7e7-4862-b70b-75c4bfa43b04.webp?v=1766992159"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f7f88320bb34c4f7ccbf3c35a906806057215f_22a87385-e7e7-4862-b70b-75c4bfa43b04.webp?v=1766992159","width":2000},{"alt":null,"id":26595954196579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6d915c9a116e970f92a18d604c6bdc0595c2af_7822e9ec-21a3-4107-bc41-a92ce2099219.webp?v=1766992159"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6d915c9a116e970f92a18d604c6bdc0595c2af_7822e9ec-21a3-4107-bc41-a92ce2099219.webp?v=1766992159","width":2000},{"alt":null,"id":26595954458723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9066da71049a83300be9f9224b37ed1004edd2b_d2c145d9-524c-428e-9af4-7913f8ac03ae.webp?v=1766992159"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9066da71049a83300be9f9224b37ed1004edd2b_d2c145d9-524c-428e-9af4-7913f8ac03ae.webp?v=1766992159","width":2000},{"alt":null,"id":26595955015779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27654ff2cab49600d4f922a98e913d3fc38301a8_54083293-3d48-4c99-a70e-9f46d068f545.webp?v=1766992160"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27654ff2cab49600d4f922a98e913d3fc38301a8_54083293-3d48-4c99-a70e-9f46d068f545.webp?v=1766992160","width":2000},{"alt":null,"id":26595955277923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa5cc663e5429d215c63d506561b13a4c225a4_a873408c-6db2-41c0-98a2-0e09810ca0fa.webp?v=1766992161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa5cc663e5429d215c63d506561b13a4c225a4_a873408c-6db2-41c0-98a2-0e09810ca0fa.webp?v=1766992161","width":2000},{"alt":null,"id":26595955671139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161","width":2000},{"alt":null,"id":26595955966051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f255033576723ddd4e171e747ee53256499c9215_13f309af-6595-414d-8506-4c766b989f91.webp?v=1766992161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f255033576723ddd4e171e747ee53256499c9215_13f309af-6595-414d-8506-4c766b989f91.webp?v=1766992161","width":2000},{"alt":null,"id":26595956490339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23015cfea634450aca3f5571a1b5517b70c58e3e_9a041e07-1760-4e70-957a-0b01579b4a87.webp?v=1766992162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23015cfea634450aca3f5571a1b5517b70c58e3e_9a041e07-1760-4e70-957a-0b01579b4a87.webp?v=1766992162","width":2000},{"alt":null,"id":26595956752483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b545dbb8c06043f58bb42b9af13e101a0c59e386_1117bb73-93f9-4599-9c1e-289c0e0641aa.webp?v=1766992162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b545dbb8c06043f58bb42b9af13e101a0c59e386_1117bb73-93f9-4599-9c1e-289c0e0641aa.webp?v=1766992162","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43923607715939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037368549475,"product_id":7946668605539,"position":6,"created_at":"2025-12-29T15:09:19+08:00","updated_at":"2025-12-29T15:09:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161","variant_ids":[43923607715939]},"available":true,"name":"iPhone 13 mini Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-IT37","featured_media":{"alt":null,"id":26595955671139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43923608797283,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037367009379,"product_id":7946668605539,"position":2,"created_at":"2025-12-29T15:09:17+08:00","updated_at":"2025-12-29T15:09:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6d915c9a116e970f92a18d604c6bdc0595c2af_7822e9ec-21a3-4107-bc41-a92ce2099219.webp?v=1766992159","variant_ids":[43923608797283]},"available":true,"name":"iPhone 13 mini Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-IT37","featured_media":{"alt":null,"id":26595954196579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6d915c9a116e970f92a18d604c6bdc0595c2af_7822e9ec-21a3-4107-bc41-a92ce2099219.webp?v=1766992159"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43923609452643,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037366812771,"product_id":7946668605539,"position":1,"created_at":"2025-12-29T15:09:16+08:00","updated_at":"2025-12-29T15:09:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f7f88320bb34c4f7ccbf3c35a906806057215f_22a87385-e7e7-4862-b70b-75c4bfa43b04.webp?v=1766992159","variant_ids":[43923609452643]},"available":true,"name":"iPhone 13 mini Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-IT37","featured_media":{"alt":null,"id":26595953999971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f7f88320bb34c4f7ccbf3c35a906806057215f_22a87385-e7e7-4862-b70b-75c4bfa43b04.webp?v=1766992159"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43923607715939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037368549475,"product_id":7946668605539,"position":6,"created_at":"2025-12-29T15:09:19+08:00","updated_at":"2025-12-29T15:09:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161","variant_ids":[43923607715939]},"available":true,"name":"iPhone 13 mini Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-IT37","featured_media":{"alt":null,"id":26595955671139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb265bbe2860238cb8c5565192e96f5f5e5cfa47_ee490484-d751-4579-ba9c-8e5679cd1a7f.webp?v=1766992161"}},"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: "停產" }