
Assigning a catalog filter by modifying the contract XML
The storefront asset store base for default contract of a B2C store is not viewable in HCL Commerce Accelerator. For this reason, you must edit the contract XML when you want to change the name of the assigned catalog filter. You can use this procedure to assign catalog filter to other types of contracts if you do not want to use HCL Commerce Accelerator.
You might need a site administrator to assist you with this task because it involves querying database tables and editing XML files.
Before you begin
Query the HCL Commerce database to obtain the following values for the price rule
and contract:
- catalogFilterId
- The ID for the catalog filter you want to assign. The catalog filter must belong to either the
store that the contract belongs to or the related storefront asset store (for an extended site)To find the catalogFilterId, run the following SQL statement:
select * from catfilter;
- storeId
- The ID for the store to which the contract belongs. To find the
storeId
, run the following SQL statement:select * from storeent;
- contractId
- The ID for the contract you want to export.To find the
contractId
, run the following SQL statement:select * from contract;