Developer forum

Forum » Ecommerce - Standard features » Standard Default Handling - Show discount name in Price List and Basket

Standard Default Handling - Show discount name in Price List and Basket

Stephen Anthony Jackson
Reply

Could someone tell me how to turn on display of the discount and/or campaign name in the product list, product details and shopping cart, when using the the standard build-in discount mechanisms?

Also, is it possible to configure the shopping cart / order, such that there is a seperate order line for the discount with a minus amount.

Again. This is all using the standard mechanisms, NOT the custom stuff I have been asking about for the last few days

 

Additional. Are the DiscountProductId and  DiscountProductVariantID columns in use at all? Inserting a description, percentage and valid ids does not result in a discount being shown in GUI or applied to product in question


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Stephen

I take it you are using Swift - you can use badges to show the discounts: https://doc.dynamicweb.com/swift/setup-project/ecommerce-design/product-components#sideNavTitle1-3-6​. This can be applied for both products and product lists. But not the cart. You can see it in action here: https://swiftdemo.dynamicweb-cms.com/e-bikes/e-mountain-bikes​

You would have to change the cart template to show seperate lines for the discounts - which is possible. Standard behavior for the Swift templates is like this:

 
Stephen Anthony Jackson
Reply

Hei Nicolai. 

Thanks. Will look into that.

Also. Are the DiscountProductId and  DiscountProductVariantID columns in EcomDiscount in use at all? Or are all discounts now one liners with the array of [p:nn,variantid] pairs?

 

You must be logged in to post in the forum