Integrating with Baskets

When a user places an item in their basket, the product information for that item is transferred from the catalog database to the basket by the QueryCatalogInfopipeline component. You must provide a pipeline component that will transfer product information from your existing catalog to the basket.

Ee797741.note(en-US,CS.10).gif Note

  • If your existing catalog system is based on database queries and tables, you may be able to use the QueryProductInfoADO pipeline component, depending on the complexity of your data structure.

The substitute component must copy appropriate catalog data to each line item in the basket based on a product key (for example, the SKU). When the component copies this catalog data, it should prefix each written dictionary key with "_product_". For example, the description of the product would be copied to item._product_description. Typically, at a minimum, this written data should include _product_list_price. It could also include descriptions, tax codes, product weight, and so on.

If the SKU/key is not found in the catalog system, the component should write the key delete with a value of 1 onto the line item. The RequiredProdInfo pipeline component then handles the error condition.


All rights reserved.