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?
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.
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