Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Price List Assignment

Price List Assignment

A price list assignment links Price Lists to products for specific catalogs. Price list assignments also contain the pricing conditions that can provide customer prices for targeted shoppers.

Sample XML: Price Lists Assignment


<price_list_assignments>
<price_list_assignment>
    <guid>4C640BA5-A95A-B02D-503C-23239EBB381D</guid>
    <name>Senior Shopper</name>
    <description>Shoppers who are seniors will receive cheaper pricing on selected Telescope products.</description>
    <priority>8</priority>
    <catalog_guid>SNAPITUPUS</catalog_guid>
    <price_list_guid>SeniorPL</price_list_guid>
    <selling_context>
        <guid>2054C56D-250F-E515-CA69-AC097DA371D5</guid>
        <name>Senior Shopper</name>
        <description>PLA SellingContext for Senior Shopper</description>
        <priority>1</priority>
        <conditions>
            <condition>
                <guid>25E48ED8-7541-D072-EFF9-B4AF76C45511</guid>
                <name>name_TIME</name>
                <description>desc_TIME</description>
                <condition_string>{AND {SHOPPING_START_TIME.greaterThan (1230796800000L)} {SHOPPING_START_TIME.lessThan (1669967999000L)}}</condition_string>
                <dictionary_guid>TIME</dictionary_guid>
            </condition>
            <condition>
                <guid>394CEAE8-F46A-2633-4208-9F38600176FD</guid>
                <name>name_PLA_SHOPPER</name>
                <description>desc_PLA_SHOPPER</description>
                <condition_string>{ AND { AND { CUSTOMER_AGE_YEARS.greaterThanOrEqualTo (65i) } } }</condition_string>
                <dictionary_guid>PLA_SHOPPER</dictionary_guid>
            </condition>
        </conditions>
    </selling_context>
</price_list_assignment>
...
</price_list_assignments>