Cert++
Close

Dynamic attributes for weighted sorting

Key Takeaway

A dynamic attribute blends Integer and Number attributes by percentage weight into one calculated value that sorting rules can use. Each blended attribute's Default Value decides where products with null values for that attribute sort. Maximum sorts them toward the beginning.

A dynamic attribute is an attribute whose value is calculated by a formula that blends other attributes using percentage weights. Merchants create dynamic attributes so that one sorting rule can rank products by a mix of signals, such as newness and sales, instead of by a single attribute.

What a dynamic attribute is

A dynamic attribute is a custom, weighted combination of other attributes. B2C Commerce calculates its value instead of storing it. Because the value is calculated, a dynamic attribute can only be numeric.

For example, to push new products and best-selling products to the top of the results, you can create a dynamic attribute that blends Days Available and Sales Velocity.

B2C Commerce Developer Study Guide

Checklist progress

0/237Learned

Given a business requirement, create and configure a new search refinement and sorting definition that can be used on the storefront

0/9

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other B2C Commerce Developer studiers. 796 members and growing.