Developer forum

Forum » Swift » Swift displaying multiple prices from the price matrix

Swift displaying multiple prices from the price matrix

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Good morning,

I have a set up with prices like this in the price matrix:

Everything for these two prices is the same in EcomPrices except for the PriceId, PriceAmount and PriceUserGroupId. So what I would expect to see is that when I am in the Customers group, my price is 210. When I am not, I see 650.

This works OK for anonymous users. However, when logged in with a user in the Customers group, I see this:

So, the price is correctly set to 210. However, the price options below also show the other price. Is that correct? I would think that if all other rules are the same (e.g. the other price doesn't have a different quantity break or so), I would only see the one price that is in use for me.

Should this be fixed in Swift where it only shows prices for distinct rules which would leave out the 650 in the example above?

Thanks!

Imar


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

I believe this is correct. The prices will show you all prices that meets the criteria, with the exception of quantity.

As mentioned in another thread, I believe your 650 should be "Informational price" - that would remove it from the list above.

Swift currently do not support price informative - but the viewmodel contains the price, so it is just rendering it on the product detail page if it is there. 

Votes for this answer: 1
 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Added a feature request for Swift:

https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_workitems/edit/10319

Votes for this answer: 1
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Gotcha. Will give that a try.

Imar

 

You must be logged in to post in the forum