Showing posts with label BCC Customization. Show all posts
Showing posts with label BCC Customization. Show all posts

ATG 10 BCC Merchandising Customisation - Browse

ATG 10 BCC Merchandising Customisation

Atg 10 BCC comes with FLEX-UI components to Merchandising Screens. We will go through, how to add custom repository to Merchandising workflows. 

Follow the below mentioned Steps.

Step 1:  Override the MerchandisingBrowseHierarchy file.

Path: /config/atg/remote/commerce/browse/ 

Add the following Content to file.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE browse-hierarchy
  PUBLIC "-//Art Technology Group, Inc.//DTD Asset Manager Browse Hierarchy//EN"
  'http://www.atg.com/dtds/browse-hierarchy/browse-hierarchy_1.0.dtd'>

<browse-hierarchy xml-combine="append">

<!-- Adding Custom Browse to Home -->
  <browse-item id="home" xml-combine="append">
      <browse-item reference-id="library"/>
    <browse-item reference-id="address"/>
  </browse-item>
 
  <!-- The Library Home-->
    <browse-item id="library" label="Library" is-root="true" icon-resource="node.priceLists.iconSmall">
        <browse-item reference-id="author"/>
        <browse-item reference-id="book"/>
    </browse-item>

            <!-- The Author -->
            <browse-item id="author" label="Authors" is-root="false" icon-resource="node.priceLists.iconSmall" show-count="true">
                <list-definition id="allauthor" retriever="query" child-type="/my/Library:author">
                    <retriever-parameter name="query" value="ALL" />
                </list-definition>
            </browse-item>
           
            <!-- The Books -->
            <browse-item id="book" label="Books" is-root="false" icon-resource="node.priceLists.iconSmall" show-count="true">
                <list-definition id="allbook" retriever="query" child-type="/my/Library:book">
                    <retriever-parameter name="query" value="ALL" />
                </list-definition>
            </browse-item>
   
    <!-- The Address -->
    <browse-item id="address" label="Address" is-root="true" icon-resource="node.priceLists.iconSmall">
         <list-definition id="alladdress" retriever="query" child-type="/my/Address:address">
              <retriever-parameter name="query" value="ALL" />
         </list-definition>
  </browse-item>
</browse-hierarchy>

BCC screens looks like below.


BCC HomePage

Library Home