Mari Jørgensen
May 24, 2011
  6321
(10 votes)

EPiServer Commerce and Composer R2 – a Love Story!

With the release of EPiServer Composer 4 R2 we now got a great tool for building and optimizing personalized start pages and landing pages. What better way to combine a flexible layout with personalized content, than for an ecommerce site.

New and improved Composer

thumbsup_iconThe Composer R2 release has several new/improved  features:

  1. Personalization blocks
  2. New preview mode
  3. Editing block trough double-click
  4. Improved drag and drop
  5. New and improved functions
  6. Toggle visibility of block borders and headers

 

Easier to install

Page and function type definitions are now automatically registered as part of the Sample package installation - no longer need for manual import in Admin mode.

No more CSS and JQuery conflicts

In Composer 4 R2 the Composer CSS and JavaScript have now been encapsulated to make sure it does not interfere with your custom files. This is great news for us developers!

To learn more about news in EPiServer Composer R2, read Peter Sunnas article.

Installing Composer on a Commerce site

As the title of the blog post indicated, getting Composer to play nice with the demo Commerce site is pretty straight forward. You need to make minor adjustments to the Composer templates, this is because the Composer sample package is built for the Alloy Technologies sample site. The necessary changes are described below. 

Path to MasterPage file

Change the MasterPageFile attribute for the Composer template files (aspx files located in <siteroot>/Composer/Pages/) to use the Commerce master page.

Name of Content Placeholder

In the same aspx files as mentioned above, we also need to change the name of the content placeholder to use.

ContentPlaceHolderName2

Also, since the Commerce demo site is using “en-US” as the default UI language, you might notice some missing translations in the Composer dialogs.

Translations

A quick fix for this is to

  1. Locate Dropit.Extension_EN.xml inside the lang folder
  2. Copy file and name it Dropit.Extension_ENUS.xml
  3. Open file and change
    <language name="English" id="en"> to
    <language name="English United States" id="en-US">

That’s it – your new commerce pages are just a few drag and drops away. 

viewMode

May 24, 2011

Comments

May 24, 2011 03:00 PM

Excellent work.

May 24, 2011 03:22 PM

If you experience installation issues, have a look at this forum thread:
http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=50072&epslanguage=en

Aug 22, 2011 06:02 PM

Great blog Mari! Straightforward and accurate.

Please login to comment.
Latest blogs
Opti ID overview

Opti ID allows you to log in once and switch between Optimizely products using Okta, Entra ID, or a local account. You can also manage all your use...

K Khan | Jul 26, 2024

Getting Started with Optimizely SaaS using Next.js Starter App - Extend a component - Part 3

This is the final part of our Optimizely SaaS CMS proof-of-concept (POC) blog series. In this post, we'll dive into extending a component within th...

Raghavendra Murthy | Jul 23, 2024 | Syndicated blog

Optimizely Graph – Faceting with Geta Categories

Overview As Optimizely Graph (and Content Cloud SaaS) makes its global debut, it is known that there are going to be some bugs and quirks. One of t...

Eric Markson | Jul 22, 2024 | Syndicated blog

Integration Bynder (DAM) with Optimizely

Bynder is a comprehensive digital asset management (DAM) platform that enables businesses to efficiently manage, store, organize, and share their...

Sanjay Kumar | Jul 22, 2024

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