$(".addtocart").bind("click", function(){
var product_id = $(this).attr('product-id');
var name = $(this).attr('p-name');
var price = $(this).attr('price');
var special = $(this).attr('special');
var tax = $(this).attr('tax');
window.dataLayer = window.dataLayer || []
dataLayer.push({ ecommerce: null });
dataLayer.push({
'event': 'add_to_cart',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': name}, // 'detail' actions have an optional list property.
'products': [{
'name': name, // Name or ID is required.
'id': product_id,
'price': price,
'special-price': special,
'exclusive-tax-price': tax,
}]
}
}
});
var qty = 1;
window.dataLayer = window.dataLayer || []
dataLayer.push({ ecommerce: null });
dataLayer.push({
'event': 'add_to_cart',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': name}, // 'detail' actions have an optional list property.
'products': [{
'name': name, // Name or ID is required.
'id': product_id,
'price': price,
'exclusive-tax-price': tax,
'quantity': qty,
}]
}
}
});
});
$(".addtowishlist").bind("click", function(){
var product_id = $(this).attr('product-id');
var name = $(this).attr('p-name');
var price = $(this).attr('price');
var special = $(this).attr('special');
var tax = $(this).attr('tax');
window.dataLayer = window.dataLayer || []
dataLayer.push({ ecommerce: null });
dataLayer.push({
'event': 'add_to_wishlist',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': name}, // 'detail' actions have an optional list property.
'products': [{
'name': name, // Name or ID is required.
'id': product_id,
'price': price,
'special-price': special,
'exclusive-tax-price': tax,
}]
}
}
});
var qty = 1;
window.dataLayer = window.dataLayer || []
dataLayer.push({ ecommerce: null });
dataLayer.push({
'event': 'add_to_wishlist',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': name}, // 'detail' actions have an optional list property.
'products': [{
'name': name, // Name or ID is required.
'id': product_id,
'price': price,
'exclusive-tax-price': tax,
'quantity': qty,
}]
}
}
});
});
$("#addtowishlist").bind("click", function(){
window.dataLayer = window.dataLayer || []
dataLayer.push({
'event':'add_to_wishlist',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': 'تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط'}, // 'detail' actions have an optional list property.
'products': [{
'name': 'تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط', // Name or ID is required.
'id': '13826',
'price': '108 ريال ',
'special-price': '81 ريال ',
'exclusive-tax-price': '71 ريال ',
'brand': 'نادر كاظم',
'model': '',
'stock': 'انتهى من المخزون',
}]
}
}
});
var qty = 1;
window.dataLayer = window.dataLayer || []
dataLayer.push({ ecommerce: null });
dataLayer.push({
'event': 'add_to_wishlist',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': 'تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط'}, // 'detail' actions have an optional list property.
'products': [{
'name': 'تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط', // Name or ID is required.
'id': '13826',
'price': '108 ريال ',
'exclusive-tax-price': '71 ريال ',
'brand': 'نادر كاظم',
'model': '',
'quantity': qty,
}]
}
}
});
});
});
function addToCartClicked() {
var qty = $('#input-quantity').val();
window.dataLayer = window.dataLayer || []
dataLayer.push({ ecommerce: null });
dataLayer.push({
'event': 'add_to_cart',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': 'تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط'}, // 'detail' actions have an optional list property.
'products': [{
'name': 'تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط', // Name or ID is required.
'id': '13826',
'price': '108 ريال ',
'exclusive-tax-price': '71 ريال ',
'brand': 'نادر كاظم',
'model': '',
'quantity': qty,
}]
}
}
});
}
} else {
$(document).ready(function(){
window.dataLayer = window.dataLayer || []
dataLayer.push({ ecommerce: null });
dataLayer.push({
'event' : 'view_item',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': 'تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط'}, // 'detail' actions have an optional list property.
'products': [{
'name': 'تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط', // Name or ID is required.
'id': '13826',
'price': '108 ريال ',
'special-price': '81 ريال ',
'exclusive-tax-price': '71 ريال ',
'brand': 'نادر كاظم',
'model': '',
'stock': 'انتهى من المخزون',
'rating' : '0',
}]
}
}
});
var related_products = [];
var all_related_products = [];
jQuery.each(all_related_products, function(key, value ) {
related_products[key] = {
'product': [{
'product_id': value.product_id, //item-id and item-name are required
'name': value.name,
'special-price': value.special,
'exclusive-tax-price': value.tax,
'price': value.price,
'total-price': value.total,
'rating': value.rating,
}]
};
});
window.dataLayer = window.dataLayer || []
dataLayer.push({ ecommerce: null });
dataLayer.push({
'event': 'view_item_list',
'ecommerce': {
'detail': {
'actionField': {'Product-Views': "تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط"},
'related_list_id':"13826",
'related_list_name':"تمثيلات الآخر - صورة السود في المتخيل العربي الوسيط",
'related_products':related_products,
}
},
});
من خلال الغوص في التراث واستنطاق نصوصه وتحليلها يبحث المؤلف صورة الآخر في الثقافة العربية، إذ لا تخلو ثقافة ما من تمثيل للذات أو للآخر، لأن التمثيل هو الذي يمنح الجماعة صورة ما عن نفسها وعن الآخر كما يرى المؤلف الذي ذهب إلى أن الثقافة الإسلامية تعاملت بعداء مع الآخر الأسود المسلم وغير المسلم، ونحتت له تمثيلات انتقاصية، وصور مشوهة ترسبت في المتخيل العربي. وقد اختار أن تتركز دراسته على آلية الجذب والدمج والاحتضان وآلية الطرد، التي تعبر عن رغبة هذه الثقافة في تحصين هويتها ضد الآخرين عبر قراءة منهجية ونقدية سليمة للنصوص العربية والخطاب العربي وهو في كل هذا يتجاوز الاهتمام المكثف بالنص الأدبي بمعناه الجمالي الضيق الصالح الاهتمام بالنص الثقافي.