I want to know where to find a list of classes available for the instant search. Classes like:
dw-search-result
dw-search-result-defaultprice
- and so on.
I'm in need of at least one class "discount price", or whatever it may be called. At the moment, when searching. It doesn't show the real price, just default price.
Developer forum
E-mail notifications
classes for instant search
Posted on 25/01/2011 15:21:56
Replies
Posted on 26/01/2011 02:22:03
Hi Michael,
Dynamicweb.eCommerce.Products.Product class has property Discounts() (as Dynamicweb.eCommerce.Discounts.Discounts)
Property Price() of Dynamicweb.eCommerce.Discounts.Discounts class returns the new price for the product (as Dynamicweb.eCommerce.Prices.IPriceInfo) when discounts are subtracted.
Posted on 26/01/2011 10:11:30
Hi Michael,
Sorry, it's not possible - the discount prices are not being indexed (and therefore are not available when using the new search). One of the reasons is that they can be calculated remotely, through the external system which might result in a huge performance degradations when performing an update of the index.
-- Pavel
Sorry, it's not possible - the discount prices are not being indexed (and therefore are not available when using the new search). One of the reasons is that they can be calculated remotely, through the external system which might result in a huge performance degradations when performing an update of the index.
-- Pavel
Nicolai Høeg Pedersen
Posted on 26/01/2011 10:13:13
Another issue is that discounts can vary from user to user, different times, and in different combinations - i.e. if you buy more than x-amount or a specific ordersum - so they cannot be indexed. They are always calculated.
You must be logged in to post in the forum