回到頂端
剪刀型除針器

◆ 商品介紹:
適用於10 & B8 & 3號除針用
使用後不傷紙張及文件
可迅速輕易拔除10號及3號針
省力又省時
◆ 規格:
適用於10、B8、3號訂書針
◆ 產地:台灣
onload = function(){
changePrice();
fixpng();
try { onload_leftTime(); }
catch (e) {}
}
/**
* 點選可選屬性或改變數量時修改商品價格的函數
*/
function changePrice()
{
var attr = getSelectedAttributes(document.forms['ECS_FORMBUY']);
var qty = document.forms['ECS_FORMBUY'].elements['number'].value;
var min_buy_num = 1;
var is_multi_min_buy_num = 0;
if(is_multi_min_buy_num == 1){
qty = Math.ceil(qty/min_buy_num)*min_buy_num;
}
if(qty < min_buy_num) qty = min_buy_num;
Ajax.call('goods.php', 'act=price&id=' + goodsId + '&attr=' + attr + '&number=' + qty, changePriceResponse, 'GET', 'JSON');
}
/**
* 接收返回的信息
*/
function changePriceResponse(res)
{
if (res.err_msg.length > 0)
{
alert(res.err_msg);
}
else
{
document.forms['ECS_FORMBUY'].elements['number'].value = res.qty;
if (document.getElementById('ECS_GOODS_AMOUNT'))
document.getElementById('ECS_GOODS_AMOUNT').innerHTML = res.result;
}
}
// 檢查會員購買商品數量是否大於最低購買量
// cart_type:加入購物車(1)
function check_min_buy_num(cart_type){
var buy_num = document.forms['ECS_FORMBUY'].elements['number'].value;
var min_buy_num = 1;
var is_multi_min_buy_num = 0;
if(is_multi_min_buy_num == 1){
is_show_msg = true;
if(cart_type==1) javascript:addToCart(3594);
}else{
if(buy_num= min_buy_num){
document.forms['ECS_FORMBUY'].elements['number'].value = buy_num;
}else{
document.forms['ECS_FORMBUY'].elements['number'].value = min_buy_num;
}
changePrice();
}
//加入購物車點選提示
function hint_block(){
var buy_num = document.forms['ECS_FORMBUY'].elements['number'].value;
var min_buy_num = 1;
if(buy_num>=min_buy_num){
(function($) {
$.blockUI({
message: '已加入購物車
',
css: {
border: 'none',
padding: '15px',
backgroundColor: '#579021',
'-webkit-border-radius': '10px',
'-moz-border-radius': '10px',
opacity: .8,
color: '#fff'
},
overlayCSS: {
backgroundColor:'#fff'
}
});
setTimeout($.unblockUI, 1000);
})(jQuery);
}
}
-->