Developer forum

Forum » Ecommerce - Standard features » Smart search showing all products with discount

Smart search showing all products with discount

Martin Christensen
Reply

Hi,

I'm trying to display all products that currently have a discount, and I figured a smart search is the way to do it.

The manual indicates that I should probably use a dynamic value in association with the price field. However, the value apparently has to be a number as anything else I input yields the server side error "Input string was not in a correct format."

So, I have a couple of questions.

  1. How do I use dynamic values in smart searches?
  2. Which dynamic values are available?
  3. How do I create a smart search that displays all products with a discount?

Maybe I'm going about this the wrong way entirely. Any help is appreciated :)

//Martin


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Martin

You can read about Dynamic values here: http://manual.dynamicweb-cms.com/Dynamicweb-eCommerce/Smart-searches.aspx

You cannot find products with a discount using smart searches. Or in other ways.

It is not true or false wether a product has a discount. Sometimes a product only has a discount if you have 2 of them in the cart, or product x has a discount if y is in the cart etc. Discounts can also be depending on delivery country, logged in user a and a ton of other things, so it is not that simple...

 

You must be logged in to post in the forum