--- title: "Comparison Widget" slug: "comparison-widget" updated: 2026-06-09T11:12:51Z published: 2026-06-09T11:12:51Z canonical: "docx.syndigo.com/comparison-widget" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docx.syndigo.com/llms.txt > Use this file to discover all available pages before exploring further. # Comparison Widget | Mandatory Elements | | --- | | 1. content 2. feature-group 3. feature 4. product 5. sequence | **The following are the keypoints**: - For valid attribute values refer Valid Tag Value section. - **** (presentation) will default to ProductComparison when not sent. - If the **title-placement** attribute under **** tag is not sent, then the system will default it to **AsRows**. - Valid values for the **title-placement** will be a. AsRows b. SeparateColumn - If the content-alignment attribute under **** tag is not sent, then the system will default it to **Left**. - Valid values for the **content-alignment** will be a. Left b. Center - If **current-product-left-most** attribute under **** tag is not sent, then system will default it to **false**. - If **omit-current-product** attribute under **** tag is not sent, then system will default it to **false**. - If **border-style** attribute under **** tag is not sent, then system will default it to **Vertical**. - Valid values for **border-style** will be a. None b. All c. Vertical d. Horizontal - **product-image** attribute will be used only if currently product does not have any main image. - **** under **** will take precedence over actual attributes values. - The sequence is used to determine the order of comparison widget features. - The sequence is also used as a pointer to feature. For example, there are ten features in the comparison widget. one of the Product values is present for the first and tenth features. In this case, there is no need to provide value for all ten features. You can provide value for the first and tenth features with the correct sequence then the other middle feature’s value is considered empty. #### XML ``` Product 1 This is product 1. BrandXYZ MPN-123456 00012345678910 1,699.00 Category1 SubCategory1 SubSubCategory1
<styled-text> <![CDATA[MPN]]> </styled-text> <styled-text> <![CDATA[GTIN]]> </styled-text> <styled-text> <![CDATA[UPC]]> </styled-text> <styled-text> <![CDATA[Name]]> </styled-text> <styled-text> <![CDATA[Price]]> </styled-text>
``` #### Preview ![batch-content-delivery-comparison-widget](https://cdn.document360.io/381abf0c-f631-4d76-a7c0-e955ad2c7aa6/Images/Documentation/batch-content-delivery-comparison-widget.png?sv=2026-02-06&spr=https&st=2026-11-10T01%3A21%3A56Z&se=2026-11-10T02%3A21%3A56Z&sr=c&sp=r&sig=Ss3Ss7KdqpCjH8Obd3yP0xLhhZqAaMuO98bXbiqZ3bk%3D)