testemich Promotion
This commit is contained in:
parent
38e7fd504a
commit
a0f4eda6ea
83 changed files with 1690 additions and 504 deletions
|
|
@ -86,7 +86,7 @@ var IqPromotionCart = {
|
|||
|
||||
},
|
||||
update_poduct_price: function(){
|
||||
console.log("s");
|
||||
//console.log("s");
|
||||
var _self = this;
|
||||
|
||||
$('.calculate_product_qty_price_total').each(function(){
|
||||
|
|
@ -125,7 +125,7 @@ var IqPromotionCart = {
|
|||
})
|
||||
.done(function (data) {
|
||||
// console.log('performRequest');
|
||||
// console.log(data);
|
||||
//console.log(data);
|
||||
}).fail(function (jqXHR, textStatus, errorThrown) {
|
||||
console.log(jqXHR);
|
||||
console.log(jqXHR.responseText);
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ var IqPromotionShopCart = {
|
|||
var _self = this;
|
||||
var url = _self.url;
|
||||
data.perform = true;
|
||||
_log(data);
|
||||
//_log(data);
|
||||
// _log(url);
|
||||
return $.ajax({
|
||||
url: url,
|
||||
|
|
@ -193,8 +193,8 @@ var IqPromotionShopCart = {
|
|||
}
|
||||
})
|
||||
.done(function (data) {
|
||||
_log('performRequest');
|
||||
_log(data);
|
||||
//_log('performRequest');
|
||||
//_log(data);
|
||||
}).fail(function (jqXHR, textStatus, errorThrown) {
|
||||
console.log(jqXHR);
|
||||
console.log(jqXHR.responseText);
|
||||
|
|
|
|||
|
|
@ -154,11 +154,9 @@ var IqShoppingCart = {
|
|||
var _self = this;
|
||||
var url = _self.url,
|
||||
contentType = 'application/x-www-form-urlencoded; charset=UTF-8';
|
||||
|
||||
data.shipping_is_for = _self.is_for;
|
||||
console.log(data);
|
||||
console.log(url);
|
||||
|
||||
//console.log(data);
|
||||
//console.log(url);
|
||||
return $.ajax({
|
||||
url: url,
|
||||
data: data,
|
||||
|
|
@ -172,12 +170,8 @@ var IqShoppingCart = {
|
|||
}
|
||||
})
|
||||
.done(function (data) {
|
||||
|
||||
console.log('performRequest');
|
||||
console.log(data);
|
||||
|
||||
|
||||
|
||||
//console.log('performRequest');
|
||||
//console.log(data);
|
||||
}).fail(function (jqXHR, textStatus, errorThrown) {
|
||||
console.log(jqXHR);
|
||||
console.log(jqXHR.responseText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue