SaaS CMS has officially launched! Learn more now.

K Khan
Aug 3, 2017
  2343
(1 votes)

Commerce 11 first look

  • Performance improvements for websites with a large number of promotions/campaigns while loading order totals and redemption numbers.
  • Price caching is not affected anymore by disabling CatalogCache configuration.
  • Simplified price selection if developers want to change the way prices with minimum amounts are returned without implementing the entire IPriceService interface.
  • Better loading of large of promotions/campaigns in the Marketing UI.
  • ProcessPayment Method of IPayment Plug In is returning PaymentProcessingResult with properties IsSuccessful, Message, and RedirectUrl.
  • ApplicationId has not required anymore in API. IApplicationContext will return only properties HasContentModelTypes(Indicates whether the current application has the IContent model types for catalog content available) and DisableVersionSync(Indicates whether the version sync is disabled.)
  • Merchandisers can sort items within a category in Catalog UI.
    Image sort.JPG
    When in Sort Mode,
    -Regular toolbar buttons will be disabled and cut/copy/paste option will disappear.
    -You cannot sort the View products view by column headers.
    -Sorting is for products only
    -Once you enable Sort mode, it remains enabled in other categories until you disable it.
  • As we expect, all these fields are now based on Discounted Price rather Extened Price
    IOrderGroupCalculator.GetSubTotal
    DefaultOrderGroupCalculator.GetSubTotal
    DefaultOrderGroupCalculator.CalculateSubTotal
    IOrderFormCalculator.GetSubTotal
    DefaultOrderFormCalculator.GetSubTotal
    DefaultOrderFormCalculator.CalculateSubTotal
    IShippingCalculator.GetShippingItemsTotal
    DefaultShippingCalculator.GetShippingItemsTotal
    DefaultShippingCalculator.CalculateShippingItemsTotal

Related Topic:

Aug 03, 2017

Comments

K Khan
K Khan Aug 8, 2017 08:55 AM

IPriceOptimizer is a new interface that allows you to control the price optimization, this can be implemented instead of IPriceService.

namespace Mediachase.Commerce.Pricing
{
///


/// Optimizes prices on certain criterias.
///

public interface IPriceOptimizer
{
///
/// Optimizes a collection of prices, remove duplicated and unwanted prices.
///

/// The prices to optimized
/// A list of optimized prices.
IEnumerable OptimizePrices(IEnumerable prices);
}
}

public class HighestPriceOptimizer : IPriceOptimizer
{
public IEnumerable OptimizePrices(IEnumerable prices)
{
return prices.GroupBy(p => new { p.CatalogKey, p.MinQuantity, p.MarketId, p.ValidFrom, p.CustomerPricing, p.UnitPrice.Currency })
.Select(g => g.OrderByDescending(c => c.UnitPrice.Amount).First()).Select(p => new OptimizedPriceValue(p, null));
}
}

Reference: Price optimization

Please login to comment.
Latest blogs
Frontend Hosting for SaaS CMS Solutions

Introduction Now that CMS SaaS Core has gone into general availability, it is a good time to start discussing where to host the head. SaaS Core is...

Minesh Shah (Netcel) | Jul 20, 2024

Optimizely London Dev Meetup 11th July 2024

On 11th July 2024 in London Niteco and Netcel along with Optimizely ran the London Developer meetup. There was an great agenda of talks that we put...

Scott Reed | Jul 19, 2024

Optimizely release SaaS CMS

Discover the future of content management with Optimizely SaaS CMS. Enjoy seamless updates, reduced costs, and enhanced flexibility for developers...

Andy Blyth | Jul 17, 2024 | Syndicated blog

A day in the life of an Optimizely Developer - London Meetup 2024

Hello and welcome to another instalment of A Day In The Life Of An Optimizely Developer. Last night (11th July 2024) I was excited to have attended...

Graham Carr | Jul 16, 2024