During the pricing, you can process the promotions in batches for a cart with a large number of line items. You can add the APTS_IncentivePricingBatchSize Admin Setting to define the batch size of line items. The batch processing is only supported for Buy X Get X and Buy X Get Y promotions with Auto Apply? enabled. You can use this feature for both regular and async pricing

To define batch size to process line items with promotions

  1. Go to All Tabs > Admin 
  2. Click New, to create a new record. The New Admin page is displayed. 
  3. Fill in the following details


    Enter the number of line items to be processed in a batch.

    You must define the batch size based on the complexity of the cart and the number of incentives applied on the line items.

    CodeLeave the field blank
  4. Click Save.