Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
That is the expected behavior. More information can be found here http://vimvq1987.com/2017/07/price-optimizing-to-be-or-not-to-be
TL;DR: the price optimizing only keeps the best price at the current time
Hi!
I'm trying to use GetPrices() to get all available prices for a variation.
The pricing table looks like this:
11 cm 16893-01 SEK79.20 1/1/70, 1:00 AM - All Customers 0
11 cm 16893-01 SEK71.20 11/15/15, 1:00 AM - 1/1/60, 1:00 AM All Customers 0
11 cm 16893-01 SEK55.20 Aug 1, 2:00 AM - Sep 1, 2:00 AM All Customers 0
Three different prices, all vaild at the current date.
var priceFilter = new PriceFilter { CustomerPricing = new[] { CustomerPricing.AllCustomers }, Quantity = 1, ReturnCustomerPricing = true, Currencies = new[] { "SEK" } }; var prices = _priceService.Service.GetPrices( market.MarketId, DateTime.Now, new CatalogKey(_appContext.Service.ApplicationId, variationContent.Code), priceFilter).ToList();
Shouldn't prices contain all three prices or am I missing something? I only get one prices and that is the 55.20 price. Why?
Thanks!
/Kristoffer