How to update product prices and compare-at prices in feeds?
To update product prices in feeds, you can use Price Conditions or Liquid Mapping in the Price and Compare-at Price fields. Examples:
Price using special_price if available:
{% if data['special_price'] == blank or data['special_price'] == '' %}{{ data['price'] }}{% else %}{{ data['special_price'] }}{% endif %}
Compare-at price using original price only when special_price exists:
{% if data['special_price'] == blank or data['special_price'] == '' %}{{ '' }}{% else %}{{ data['price'] }}{% endif %}
You may also add markup rules using Price Conditions. These rules are evaluated from top to bottom. Place general rules (such as any) at the bottom.
Updated on: 11/06/2026
Thank you!
