2pcs Mobile Game Controller 6-finger game trigger portable
${function() {
const variantData = data.variant || {"id":"63302c97-7cbb-4aa7-805f-06367abf6ddb","product_id":"836ff2b4-dd50-4174-b0fd-d02463dda974","title":"black trigger +3 Pairs of Finger Sleeves","weight_unit":"lb","inventory_quantity":36,"sku":"600","barcode":"","position":1,"option1":"black trigger +3 Pairs of Finger Sleeves","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70ae9023aee533d3e6de9d6ff626f5ea.jpeg","path":"70ae9023aee533d3e6de9d6ff626f5ea.jpeg","width":320,"height":320,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"48.99","price":"13.99","retail_price":"48.99","available":true,"url":"\/products\/2021-new-six-finger-gaming-trigger?variant=63302c97-7cbb-4aa7-805f-06367abf6ddb","available_quantity":36,"options":[{"name":"\u989c\u8272","value":"black trigger +3 Pairs of Finger Sleeves"}],"off_ratio":"71","flashsale_info":{"variant_id":"63302c97-7cbb-4aa7-805f-06367abf6ddb","product_id":"","quantity":0,"discount_id":"f3c79ea1-aa60-4a0c-a420-9b6865166fd1","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":178,"discount_sales_rate":"83","discount_stock":36,"ends_at":-1,"starts_at":1708924622,"allow_oversold":"uncheck","allocation_method":"none","price":"13.99","compare_at_price":"48.99","discount_price":"13.99","customary_saved_price":"35","customary_off_ratio":"71","discount_saved_price":"35","discount_off_ratio":"71","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":23};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
颜色:
black trigger +3 Pairs of Finger Sleeves
${function(){
const optName = "颜色";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$13.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"63302c97-7cbb-4aa7-805f-06367abf6ddb","product_id":"836ff2b4-dd50-4174-b0fd-d02463dda974","title":"black trigger +3 Pairs of Finger Sleeves","weight_unit":"lb","inventory_quantity":36,"sku":"600","barcode":"","position":1,"option1":"black trigger +3 Pairs of Finger Sleeves","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70ae9023aee533d3e6de9d6ff626f5ea.jpeg","path":"70ae9023aee533d3e6de9d6ff626f5ea.jpeg","width":320,"height":320,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"48.99","price":"13.99","retail_price":"48.99","available":true,"url":"\/products\/2021-new-six-finger-gaming-trigger?variant=63302c97-7cbb-4aa7-805f-06367abf6ddb","available_quantity":36,"options":[{"name":"\u989c\u8272","value":"black trigger +3 Pairs of Finger Sleeves"}],"off_ratio":"71","flashsale_info":{"variant_id":"63302c97-7cbb-4aa7-805f-06367abf6ddb","product_id":"","quantity":0,"discount_id":"f3c79ea1-aa60-4a0c-a420-9b6865166fd1","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":178,"discount_sales_rate":"83","discount_stock":36,"ends_at":-1,"starts_at":1708924622,"allow_oversold":"uncheck","allocation_method":"none","price":"13.99","compare_at_price":"48.99","discount_price":"13.99","customary_saved_price":"35","customary_off_ratio":"71","discount_saved_price":"35","discount_off_ratio":"71","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":23};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.