If your theme doesn't support App Blocks, you can add compare functionality using Liquid code snippets.
In the app, navigate to Legacy Themes in the left navigation. Copy each snippet and paste it into the appropriate location in your theme.
Compare Button
Adds the compare button and loads the comparison modal on click. Paste inside your product template (e.g. product.liquid or main-product.liquid) where you want the button to appear.
Recommendations (Styled)
Adds the recommendations widget with built-in CSS. Paste where you want the widget to appear on your product page.
Recommendations (Unstyled)
Same widget markup without any CSS, for full custom styling control.
Note: Legacy snippets require the app to be reachable on every page load. For better reliability, we recommend using an OS 2.0 theme with the Theme App Extension instead.