> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.stock-sync.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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.