Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Full Block Support For The Commerce Catalog

Vote:
 

Withint the standard CMS approach we use blocks at either a global level or a "For this page" level to create blocks that will render on a page. The "For this page" feature is very handy as this allows for editors to create blocks specific to page content and to not clutter the global blocks.

Within commerce the common approach is to route the catalog in to a node in the CMS or the Root page then use catalog nodes/products/variations as pages that render on the front end of the site.

Within Commerce out of the box there is no support for the "For this page" feature, however you can get around this to some degree although it's not supported such as https://world.episerver.com/blogs/david-harlow/dates/2018/3/extending-commerce---content-area-functionality/. This allow for blocks to be added for this node/product/variation however this come with some issues.

  1. The blocks asset area does show a "For this variant/node" section which should normally show the blocks created for this item however any blocks created using the above fix/hack are not displayed. From the look at the database and the dojo calls it seems it just creates a random CMS node to store these added blocks and there's no assosciated to the block for the commerce item.
  2. When you create a block for this node/product/variation if you do not save/publish this before going in and editing the block the added block is saved. So when you do back the blocks added to this ContentArea are lost.

All in all when designing a modular stucture using blocks you want to be able to use common blocks across both CMS pages and Commerce items and without these features you have to fudge it by using the Shared Blocks area.

This has already caused issues with our design/ux and structure on our first commerce build and it would be really great to get this in for the future.

#191980
Edited, May 03, 2018 12:15
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.