[new Bxgy({
include: {
collection_includes: "promo_3for1-temp"
},buy: 1,
get: 2,
regular_priced_only: true,
best_discount: false,
discount: new PriceDiscount(0),message: "VENTE DU WEEK-END! 1 Acheté, 2 Gratuits",
display_messaging: true,
calculate_price: false,
stack: false,
type: "Buy One, Get 2 Free",
colors: {
background: "#ffffff",
text: "#ff0000"
},
}),
new DiscountItems({
include: {
collection_includes: "promo_50-off-temp"
},regular_priced_only: true,
discount: new PercentageDiscount(50),message: "VENTE DU WEEK-END! 50% DE RABAIS",
display_messaging: true,
calculate_price: true,
stack: false,
type: "50% Off",
colors: {
background: "#ffffff",
text: "#ff0000"
},
}),
new DiscountItems({
include: {
collection_includes: "promo_70-off"
},regular_priced_only: true,
discount: new PercentageDiscount(50),message: "MAINTENANT À 50% DE RABAIS",
display_messaging: true,
calculate_price: true,
stack: false,
type: "50% Off Hardgoods",
colors: {
background: "#ffffff",
text: "#ff0000"
},
}),
new DiscountItems({
include: {
collection_includes: "final-sale"
},regular_priced_only: false,
discount: new MoneyDiscount(0),message: "VENTE FINALE",
display_messaging: true,
calculate_price: true,
stack: true,
type: "FINAL SALE BADGE",
colors: {
background: "#ea0000",
text: "#ffffff"
},
}),]