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

ATG 10 BCC Merchandising Customisation - Find

ATG 10 BCC Merchandising Customisation

We will add the dropdown options to Find Mode of ATG 10 BCC Merchandising.
Follow the below mentioned Steps.
Step 1:  Override the MerchandisingFindConfiguration file.
Path: /config/atg/remote/commerce/find/
Add the following content to file.
<?xml version="1.0" encoding="UTF-8"?>
<find-configuration>
<asset-family id="library" site-filtering="true">
    <display-name>Library</display-name>
    <enable-default-query>true</enable-default-query>
    <enable-filter-as-you-type>true</enable-filter-as-you-type>
    <result-list page-size="100"/>
    <default-asset-type>author</default-asset-type>

            <asset-type id="author" site-filtering="true">
              <enable-default-query>true</enable-default-query>
              <enable-filter-as-you-type>true</enable-filter-as-you-type>
              <repository-path>/my/Library</repository-path>
              <repository-item-type>author</repository-item-type>
            </asset-type>

            <asset-type id="book" site-filtering="true">
              <enable-default-query>true</enable-default-query>
              <enable-filter-as-you-type>true</enable-filter-as-you-type>
              <repository-path>/my/Library</repository-path>
              <repository-item-type>book</repository-item-type>
            </asset-type>

  </asset-family>
 
<asset-family id="address" site-filtering="true">
    <display-name>Address</display-name>
    <enable-default-query>true</enable-default-query>
    <enable-filter-as-you-type>true</enable-filter-as-you-type>
    <result-list page-size="100"/>
    <default-asset-type>address</default-asset-type>

            <asset-type id="address" site-filtering="true">
              <enable-default-query>true</enable-default-query>
              <enable-filter-as-you-type>true</enable-filter-as-you-type>
              <repository-path>/my/Address</repository-path>
              <repository-item-type>address</repository-item-type>
            </asset-type>
</asset-family>

</find-configuration>
 
BCC screen would look below.
Primary Dropdown
Secondary Dropdown