Hi, is it possible to output the discount description on the product, like "SPEND $30 SAVE 25% CODE: SWEETDEAL" (see attachment) without making a customsolution?
Developer forum
E-mail notifications
Discount description on product
Replies
Hi Kim,
There are tags in discount loops:
ProductDiscounts: Ecom:Product.Discount.Description
AllDiscounts: Ecom:AllDiscounts.Discount.Description - this loop is available in 8.6.1
Best regards,
Vladimir
Hi Vladimir,
Thanks I got it working when inside <!--@LoopStart(Products)--> I need it to work outside the loop also to output the message in the global siteheader, I guess in the context of the Page. Is it possible or do I have do be in the context of Product?
Hi KIm,
yes, these loops are exist only in context of a product.
On a global level this is possible with a custom TemplateExtender... or may be with such hack:
create a hidden page with "dummy" product with discounts and insert it with <!--@Global:Page.Content(dummyPageID)--> in any place you want
Best regards,
Vladimir
You must be logged in to post in the forum