Adding the lowest price block to non-product pages
Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.
By default, the lowest price block is displayed on product pages. You can also add it to the homepage, collection pages and the related products block by adding the code snippets below to your theme.
Add the lowest price block to the homepage and collections
1
Open the theme code editor
Head to the theme settings, and then click on Edit code.
2
Open Snippets
In the theme editor sidebar, find and click on the Snippets section to expand the list of existing snippet files.
3
Create a new file
At the top of the expanded list, you will see a button labeled New File. Click this button to create a new snippet file.
4
Name the snippet
A text field will appear where you can enter a name for your new snippet.
Name it am-lowest-price.liquid and press Enter.
5
Add the code
On the right side of the screen, in the tab corresponding to the new snippet, add the content below to the code text field and save.
Locate price.liquid in the snippets, paste {%- render 'am-lowest-price', product:product -%} at the end, and save (we recommend using this snippet, since it is responsible for displaying the price).
Some third-party themes may use a different product variable name, which can cause the price.liquid code to not work. If you encounter this issue, try {%- render 'am-lowest-price', product:target -%}, {%- render 'am-lowest-price', product:product_resource -%} or {%- render 'am-lowest-price', product:product_ref -%}. If none of these work, please contact us for assistance at help-center@amasty.com.
The result on the front-end:
If you uninstall the app, it won’t automatically undo the changes. You’ll need to manually delete any unnecessary info or blocks.
Add the lowest price block to the related products block
1
Open the theme code editor
Head to the theme settings, and then click on Edit code.
2
Open Snippets
In the theme editor sidebar, find and click on the Snippets section to expand the list of existing snippet files.
3
Create a new file
At the top of the expanded list, you will see a button labeled New File. Click this button to create a new snippet file.
4
Name the snippet
A text field will appear where you can enter a name for your new snippet. Name it am-lowest-price-for-related-products.liquid and press Enter.
5
Add the code
On the right side of the screen, in the tab corresponding to the new snippet, add the content below to the code text field and save.
Open price.liquid in the snippets and paste {%- render 'am-lowest-price-for-related-products', product:product -%} at the end, and save (we recommend using this snippet, since it is responsible for displaying the price).
Some third-party themes may use a different product variable name, which can cause the price.liquid code to not work. If you encounter this issue, try {%- render 'am-lowest-price-for-related-products', product:target -%}, {%- render 'am-lowest-price-for-related-products', product:product_resource -%} or {%- render 'am-lowest-price-for-related-products', product:product_ref -%}. If none of these work, please contact us for assistance at help-center@amasty.com.
If you uninstall the app, it won’t automatically undo the changes. You’ll need to manually delete any unnecessary info or blocks.
Was this page helpful?
⌘I
{"docsConfig":{"theme":"willow","$schema":"https://mintlify.com/docs.json","name":"Amasty Guides","description":"User guides for apps created by Amasty for Shopify, BigCommerce, Wix and Ecwid platforms","colors":{"primary":"#FF6621","light":"#FFB682","dark":"#FF6016"},"logo":{"light":"https://mintcdn.com/amasty/3Uh8ghfhOrI-DIT5/images/black_color_logo_amasty.svg?fit=max\u0026auto=format\u0026n=3Uh8ghfhOrI-DIT5\u0026q=85\u0026s=137c0588ee82f471508dabc9d6f8323a","dark":"https://mintcdn.com/amasty/3Uh8ghfhOrI-DIT5/images/white_color_logo_amasty.svg?fit=max\u0026auto=format\u0026n=3Uh8ghfhOrI-DIT5\u0026q=85\u0026s=24e9d7d015653225604ad684548d34fb"},"navbar":{"links":[{"href":"mailto:help-center@amasty.com","label":"Contact us"}],"primary":{"type":"button","label":"Submit a ticket","href":"https://support.amasty.com/portal/en/newticket?departmentId=34453000000007061\u0026layoutId=34453000000023011"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/amasty","facebook":"https://facebook.com/Amasty.Ltd","youtube":"https://youtube.com/AmastyTeam"}},"seo":{"organization":{"name":"Amasty","legalName":"Softonomica LTD","url":"https://amasty.com/"}},"icons":{"library":"fontawesome"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"amasty","hasAudioNarration":false,"actualSubdomain":"amasty","customDomains":[],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-amasty-c5af7c96","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0dce7b269c9468ab6fdde5","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"Shopify","count":57},{"language":"default","tag":"Shopify Apps","count":57},{"language":"default","tag":"Wix","count":19},{"language":"default","tag":"Wix Apps","count":19},{"language":"default","tag":"BigCommerce","count":16},{"language":"default","tag":"BigCommerce Apps","count":16},{"language":"default","tag":"Ecwid","count":11},{"language":"default","tag":"Ecwid Apps","count":11},{"language":"default","tag":"PicManager","count":11},{"language":"default","tag":"WritePilot","count":11}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"sf/omnibus-insight/non-product","slug":"/sf/omnibus-insight/non-product","pageMetadata":{"title":"Adding the lowest price block to non-product pages","description":"Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.","href":"/sf/omnibus-insight/non-product"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`By default, the lowest price block is displayed on product pages. You can also add it to the homepage, collection pages and the related products block by adding the code snippets below to your theme.`}),`\n`,_jsx(Heading,{level:`2`,id:`add-the-lowest-price-block-to-the-homepage-and-collections`,children:`Add the lowest price block to the homepage and collections`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open the theme code editor`,children:[_jsxs(_components.p,{children:[`Head to the theme settings, and then click on `,_jsx(_components.strong,{children:`Edit code`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/omni6.png`,alt:`Edit theme page`})})]}),_jsx(Step,{title:`Open Snippets`,children:_jsxs(_components.p,{children:[`In the theme editor sidebar, find and click on the `,_jsx(_components.strong,{children:`Snippets`}),` section to expand the list of existing snippet files.`]})}),_jsxs(Step,{title:`Create a new file`,children:[_jsxs(_components.p,{children:[`At the top of the expanded list, you will see a button labeled `,_jsx(_components.strong,{children:`New File`}),`. Click this button to create a new snippet file.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Omnibus/edit-code-side-bar-161.png`,alt:`New File button`})})]}),_jsxs(Step,{title:`Name the snippet`,children:[_jsx(_components.p,{children:`A text field will appear where you can enter a name for your new snippet.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Omnibus/2025-09-25-11-41-50.png`,alt:`Snippet name field`})}),_jsxs(_components.p,{children:[`Name it `,_jsx(_components.code,{children:`am-lowest-price.liquid`}),` and press `,_jsx(_components.strong,{children:`Enter`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Omnibus/2025-09-25-11-42-34.png`,alt:`New snippet created`})})]}),_jsxs(Step,{title:`Add the code`,children:[_jsxs(_components.p,{children:[`On the right side of the screen, in the tab corresponding to the new snippet, `,_jsx(_components.strong,{children:`add the content below`}),` to the code text field and `,_jsx(_components.strong,{children:`save`}),`.`]}),_jsx(CodeBlock,{filename:``,expandable:`true`,numberOfLines:`26`,language:`liquid`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`liquid`,children:_jsxs(_components.code,{language:`liquid`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"shop\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` shop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"app--80349265921\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`am_lowest_price_settings`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"product\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"app--80349265921\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`am_lowest_price`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"variant\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`selected_or_first_available_variant`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"app--80349265921\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`am_lowest_price`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"texts\": {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"label\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` shop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"omnibus_insight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am_lowest_price_label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"popupIconText\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` shop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"omnibus_insight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am_lowest_price_icon_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"promotionPeriod\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` shop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"omnibus_insight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am_lowest_price_promotion_period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`am-omnibus-listing`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am-omnibus-container-`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` style`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"display: block; position: relative; z-index: 1\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` product-id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` variant-id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`selected_or_first_available_variant`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` price`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`selected_or_first_available_variant`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`price`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` compare-at-price`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`selected_or_first_available_variant`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`compare_at_price`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` market-id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` localization`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`market`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` company-id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` customer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`current_company`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` shop-id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` shop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`am-omnibus-listing`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:'(()=>{async function e(e){var t,r,n;let{shop:i,locale:l,currency:o,country:a}=window.Shopify;if(!i)return;let s={AR:\"es\",AZ:\"az\",BG:\"bg\",DE:\"de\",ES:\"es\",FI:\"fi\",FJ:\"fj\",FO:\"fo\",FR:\"fr\",HR:\"hr\",HT:\"ht\",HU:\"hu\",ID:\"id\",IS:\"is\",IT:\"it\",LT:\"lt\",LV:\"lv\",MG:\"mg\",MH:\"mh\",MK:\"mk\",MN:\"mn\",MT:\"mt\",NL:\"nl\",NO:\"no\",PL:\"pl\",PT:\"pt\",RO:\"ro\",RU:\"ru\",RW:\"rw\",SK:\"sk\",SO:\"so\",TH:\"th\",TO:\"to\",TR:\"tr\",US:\"en\",UZ:\"uz\"},c=(e,t)=>s[t]||(e||\"\").split(/[-_]/)[0]||e,u=(e,{marginTop:t=null,marginBottom:r=null}={})=>{let n=e||\"\";return null!==t\u0026\u0026(n=n.replace(/margin-top:\\\\s*-?\\\\d+px/,`margin-top: ${t}px`)),null!==r\u0026\u0026(n=n.replace(/margin-bottom:\\\\s*-?\\\\d+px/,`margin-bottom: ${r}px`)),n},p=(e,t,r)=>{let n=e.querySelector(\"#\"+t);if(!n)return;let i=e.querySelector(\".am-omnibus-promotion\");i||((i=document.createElement(\"div\")).className=\"am-omnibus-promotion\",e.insertBefore(i,n)),i.innerHTML=r||\"\";let l=void 0!==n.dataset.amOmnibusMarginTop;r?(l||(n.dataset.amOmnibusMarginTop=n.style.marginTop),n.style.marginTop=\"0px\"):l\u0026\u0026(n.style.marginTop=n.dataset.amOmnibusMarginTop,delete n.dataset.amOmnibusMarginTop)},_=[\"a\",\"b\",\"strong\",\"i\",\"em\",\"u\",\"br\",\"span\",\"p\",\"small\",\"sub\",\"sup\"],d=[\"http\",\"https\",\"mailto\"],m=[\"href\",\"target\",\"rel\"],$=[\"style\",\"class\"],f=e=>String(e??\"\").replace(/[\u0026\u003c>\"\\']/g,e=>{switch(e){case\"\u0026\":return\"\u0026amp;\";case\"\u003c\":return\"\u0026lt;\";case\">\":return\"\u0026gt;\";case`\"`:return\"\u0026quot;\";default:return\"\u0026#039;\"}}),h=e=>{let t=document.createElement(\"textarea\");return t.innerHTML=e,t.value},b=e=>{let t=h(String(e).trim()).replace(/[\\\\x00-\\\\x1f\\\\x7f]/g,\"\").trim();if(\"\"===t||t.startsWith(\"/\")||t.startsWith(\"#\")||t.startsWith(\"//\"))return!0;let r=t.indexOf(\":\");return -1===r||d.includes(t.slice(0,r).toLowerCase())},y=e=>{let t={},r=/([a-zA-Z][\\\\w-]*)(?:\\\\s*=\\\\s*(?:\"([^\"]*)\"|\\'([^\\']*)\\'|([^\\\\s\"\\'`=\u003c>]*)))?/g,n;for(;null!==(n=r.exec(e));)t[n[1].toLowerCase()]=n[2]||n[3]||n[4]||\"\";return t},g=(e,t)=>{let r=\"a\"===e?m:$,n={};for(let i of Object.keys(t))r.includes(i)\u0026\u0026(n[i]=t[i]);return\"a\"!==e||(void 0===n.href||b(n.href)||delete n.href,void 0!==n.target\u0026\u0026\"_blank\"===n.target.toLowerCase()\u0026\u0026(n.rel=\"noopener noreferrer\")),n},C=e=>Object.keys(e).map(t=>` ${t}=\"${f(e[t])}\"`).join(\"\"),w=e=>e.replace(/\u003c\\\\/?([a-zA-Z][a-zA-Z0-9]*)(\\\\s[^>]*)?\\\\s*\\\\/?>/g,(e,t)=>_.includes(t.toLowerCase())?e:\"\"),A=(e,t,r)=>{let n=t.toLowerCase();if(e.startsWith(\"\u003c/\"))return`\u003c/${n}>`;let i=g(n,y(r||\"\")),l=\"br\"===n||e.trimEnd().endsWith(\"/>\");return l?`\u003c${n}${C(i)} />`:`\u003c${n}${C(i)}>`},T=e=>{let t=String(e??\"\").trim();if(\"\"===t||!t.includes(\"\u003c\"))return t;let r=t,n=!1;for(let i=0;i\u003c10;i++){let l=w(r).trim();if(l===r){n=!0;break}r=l}return n?r.replace(/\u003c\\\\/?([a-zA-Z][a-zA-Z0-9]*)(\\\\s[^>]*)?\\\\s*\\\\/?>/g,(e,t,r)=>A(e,t,r)):f(r)},v=(e,t,r,n,i)=>{if(e)return e;let l=t;if(r\u0026\u0026r.length>0)for(let o of r)o.code\u0026\u0026(o.code===n||n.startsWith(o.code+\"-\"))\u0026\u0026o[i]\u0026\u0026(l=o[i]);return l},x=e=>T(e).replaceAll(\"\\\\n\",\"\u003cbr>\"),O=e.getAttribute(\"product-id\");if(!O||void 0===window.ShopifyAnalytics)return;let S=e.amRenderGeneration,E=()=>e.amRenderGeneration!==S||!e.isConnected,L=.01*e.getAttribute(\"price\"),k=.01*e.getAttribute(\"compare-at-price\"),j=Number(e.getAttribute(\"market-id\")),R=Number(e.getAttribute(\"company-id\")),H=`am-price-trends-${O}`,M=e=>\"string\"==typeof e?e.replaceAll(`\\\\\\\\\"`,`\"`):Array.isArray(e)?e.map(M):e\u0026\u0026\"object\"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,M(t)])):e,I=e=>{if(!e||\"object\"!=typeof e)return e;let t={...e};for(let r of[\"translations\",\"languages\"])r in t\u0026\u0026(t[r]=M(t[r]));return t},P=e=>e\u0026\u0026\"object\"==typeof e\u0026\u0026e.settings?{...e,settings:I(e.settings)}:e,Z=e=>\"string\"==typeof e\u0026\u0026\"\"!==e?e:null,{shop:z,product:F,variant:N,texts:U}=(e=>{let t={shop:null,product:null,variant:null,texts:{label:null,popupIconText:null,promotionPeriod:null}};if(!e||!e.matches(`script[type=\"application/json\"]`))return t;try{let r={...t,...JSON.parse(e.textContent)},n=r.texts\u0026\u0026\"object\"==typeof r.texts?r.texts:{};return{shop:I(r.shop),product:P(r.product),variant:P(r.variant),texts:{label:Z(n.label),popupIconText:Z(n.popupIconText),promotionPeriod:Z(n.promotionPeriod)}}}catch(i){return console.error(i),t}})(e.previousElementSibling),W=z?.custom_font_url?`AmCustomFont_${e.getAttribute(\"shop-id\")}`:null;if(W\u0026\u0026!window.amOmnibusCustomFontLoaded){window.amOmnibusCustomFontLoaded=!0;let B=document.createElement(\"style\");B.textContent=`@font-face {font-family: ${W};src: url(\"${z.custom_font_url}\");font-display: optional;}`,document.head.appendChild(B),\"undefined\"!=typeof FontFace\u0026\u0026new FontFace(W,`url(\"${z.custom_font_url}\")`).load().then(e=>document.fonts.add(e)).catch(()=>{})}let G=null,V=e.getAttribute(\"variant-id\"),{page:q}=window.ShopifyAnalytics.meta,{pageType:D}=q;if(![\"collection\",\"home\",\"searchresults\"].includes(D))return;let K=async e=>{let t=o?.active;if(!t)return null;let r=`am_omnibus_rate_${t}_${e}`,n=(e=>{try{let t=localStorage.getItem(e);if(!t)return null;let{value:r,timestamp:n}=JSON.parse(t),i=Date.now();if(i-n\u003c432e5)return r;return localStorage.removeItem(e),null}catch(l){return null}})(r);if(n)return n;let l=await fetch(\"/apps/am-omnibus-price\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"},body:JSON.stringify({shop:i,operation:\"currency_conversion\",currency:o,lowestCurrency:e})});if(!l.ok)return null;let{rate:a}=await l.json();return((e,t)=>{try{if(!t){localStorage.removeItem(e);return}let r={value:t,timestamp:Date.now()};localStorage.setItem(e,JSON.stringify(r))}catch(n){}})(r,a),E()?null:a},X=async(t,r)=>{if(\"object\"!=typeof t)return;let n=((e,t)=>{if(!t)return e.settings;if(e.hasCustomSettings){for(let r in t)r in e.settings||(e.settings[r]=t[r]);return e.settings}return t})(t,r);if(!n||\"object\"!=typeof n)return;let i=[e],{show_lowest:o,display_mode:s,popup_content:_,display_only_at_discount:d,percentage_mode:m,multi_currency_display_mode:$,period:f,languages:h,translations:b,css:y,icon_size:g,shop_currency:C,positive_percentage_color:w,negative_percentage_color:A,excluded_market_ids:T,excluded_company_ids:O}=n;if(!o)return;if(R){if(O\u0026\u0026O instanceof Array\u0026\u0026(O.includes(R)||O.includes(\"\"+R)))return}else if(j\u0026\u0026T\u0026\u0026T instanceof Array\u0026\u0026(T.includes(j)||T.includes(\"\"+j)))return;let S=C||t.shopCurrency,E=window.Shopify?.currency,M=E?.active,I=E?.rate,P,Z,z,F,N=null,W=t.markets,B=null;R\u0026\u0026W?.companies?.[R]?B=W?.companies?.[R]:j?B=W?.markets?.[j]:a\u0026\u0026(B=W?.countries?.[a]);let G=B?B.prices:null,V=B?B.lowest:null;if(G\u0026\u0026V){let q=G\u0026\u0026M?G[M]?.original:null;if(q)P=q.amount,F=q.currency;else{if(!V.original?.amount)return;S===V.original?.currency?(P=V.original.amount*I,F=M):(P=V.original.amount,F=V.original?.currency)}Z=L,z=!!(k\u0026\u0026k>L)}else P=t.lowest_price,t.currency===M?(F=M,Z=L,z=!!(k\u0026\u0026k>L)):(F=t.currency,Z=t.price,z=!!t.at_discount);if(F\u0026\u0026F!==S){if(!E||\"object\"!=typeof E)return;if(M\u0026\u0026F===M)I=1;else if(M\u0026\u0026S===M){if(P*=I=E.rate,1==+I\u0026\u0026F!==M)switch($){case\"hide\":return;case\"original\":N=F;break;default:if(!(I=await K(F)))return;P*=I,I=1}}else switch($){case\"hide\":return;case\"original\":N=F;break;default:if(!(I=await K(F)))return;P*=I,I=1}}if(null==P){\"popup\"===s\u0026\u0026\"price_only\"!==_\u0026\u0026Q(s).catch(),i.forEach(e=>p(e,H,\"\"));return}if(d\u0026\u0026!z){i.forEach(e=>p(e,H,\"\"));return}let D=y;if(\"popup\"===s){let X=v(U.popupIconText,b.icon_text,h,l,\"iconText\");if(i.forEach(e=>{ee(e,_,y,g||20,X)}),\"price_only\"!==_){Q().catch();return}y=\"\"}let J=Z\u003cP,et=Z>P,er=\"inherit\",en=\"\";if(et)en=\"+\",er=w||\"rgb(214, 123, 123)\";else if(J){en=\"-\";let ei=\"rgb(110, 221, 168)\";er=A\u0026\u0026A!==ei?A:\"popup\"===s?\"rgb(16, 172, 132)\":ei}let el=`color: ${er}`,eo,ea;0!==P?ea=` \u003cspan style=\"${el}\">(${en}${eo=Math.abs(eo=parseFloat(eo=(Z/P-1)*100).toFixed(2))}%)\u003c/span>`:(eo=0,ea=\"\"),(\"dont\"===m||\"positive\"===m\u0026\u0026J||\"zero_or_negative\"===m\u0026\u0026et||0===eo)\u0026\u0026(ea=\"\"),N?M=N:M\u0026\u0026M!==S\u0026\u0026I\u0026\u00261!=+I\u0026\u0026(P*=I);let es=(e,t,r,n)=>{let i={style:\"currency\",currency:n,numberingSystem:\"latn\"},l=new Intl.NumberFormat(r?`${t}-${r}`:t,i).format(e);return l.includes(n)\u0026\u0026(l=new Intl.NumberFormat(t,i).format(e)),\"USD\"!==n\u0026\u0026/(?\u003c![A-Za-z])\\\\$/.test(l)\u0026\u0026(l+=` ${n}`),l},ec=es(P,c(l,a),a,M);ec||(ec=`${P} ${M}`);let eu=v(U.label,b.lowest,h,l,\"text\");eu||(eu=`The lowest price from last ${f} days: {lowest.price}`),eu.includes(\"{X}\")\u0026\u0026(eu=eu.replaceAll(\"{X}\",f)),eu=x(eu);let ep=\"\",e_=t.promotion;if(e_\u0026\u0026!(e_.ends_at\u0026\u0026new Date(e_.ends_at)\u003c=new Date)){let ed=v(U.promotionPeriod,b.promotion_period,h,l,\"promotionPeriod\");if(ed){let em=e=>{let[t,r,n]=String(e).split(\"-\").map(Number),i=new Date(Date.UTC(t,r-1,n));return new Intl.DateTimeFormat(l||void 0,{year:\"numeric\",month:\"long\",day:\"numeric\",timeZone:\"UTC\"}).format(i)};ed=(ed=(ed=x(ed)).replaceAll(\"{start_date}\",em(e_.start_date))).replaceAll(\"{end_date}\",e_.end_date?em(e_.end_date):\"\");let e3=u(D,{marginBottom:2});ep=`\u003cp class=\"caption\" style=\"${e3}\">${ed}\u003c/p>`}}let e$=ep?u(y,{marginTop:0}):y,ef;ef=eu.includes(\"{lowest.price}\")?`\u003cp class=\"caption\" style=\"${e$}\">${eu=eu.replaceAll(\"{lowest.price}\",`${ec}${ea}`)}\u003c/p>`:`\u003cp class=\"caption\" style=\"${e$}\">${eu}: ${ec}${ea}\u003c/p>`,\"popup\"===s\u0026\u0026\"price_only\"===_?(Y(H,ef,_).catch(),i.forEach(e=>p(e,H,ep))):i.forEach(e=>{e.innerHTML=ep+ef})},J=e=>\"object\"==typeof e\u0026\u0026!!e\u0026\u0026Object.keys(e).length>0;if(\"object\"==typeof(t=z)\u0026\u0026t\u0026\u0026Object.keys(t).length>0\u0026\u0026Object.keys(z).some(e=>\"custom_font_url\"!==e)){if(V\u0026\u0026null!==N\u0026\u0026\"object\"==typeof(r=N)\u0026\u0026r\u0026\u0026Object.keys(r).length>0)return X(N,z);if(null!==F\u0026\u0026\"object\"==typeof(n=F)\u0026\u0026n\u0026\u0026Object.keys(n).length>0)return X(F,z)}async function Q(t){let r=[e],n=await fetch(\"/apps/am-omnibus-price\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"},body:JSON.stringify({shop:i,productId:O,variantId:V,locale:l,currency:o,country:a,companyId:R,marketId:j,realPrice:L,realComparePrice:k,labelTemplate:U.label,popupIconTemplate:U.popupIconText,promotionTemplate:U.promotionPeriod})});if(!n.ok)return;let{lowestPriceHtml:s,displayMethod:c,popupContent:u,prices:_,plainCss:d,iconSize:m,iconText:$,chartColor:f,promotionHtml:h}=await n.json();!E()\u0026\u0026null!=s\u0026\u0026(t\u0026\u0026(c=t),r.forEach(e=>{if(c\u0026\u0026\"always_visible\"!==c){if(!s){p(e,H,\"\");return}ee(e,u,d,m||20,$),p(e,H,h);let t=null;\"chart\"===u\u0026\u0026(t=\"https://cdn.shopify.com/extensions/01a1e9c5-bb5b-7b2b-a9d4-f0dc308bad26/omnibus-insight-price-tracker-28/assets/chart.js\"),Y(H,s,u,_,t,f).catch()}else e.innerHTML=(h||\"\")+s,void 0===c\u0026\u0026!s\u0026\u0026G\u0026\u0026G.destroy()}))}async function Y(t,r,n,i,o,s){let c=await et();!E()\u0026\u0026(G=new c(t,r,n,i,o,s,a,l,W),e.amTooltipRenderer=G,G.render())}function ee(e,t,r,n,i){if(e.querySelector(`#${H}`))return;let l=document.createElement(\"div\"),o=\"#111111\",a=\"12px\",s=\"left\";l.id=H,r\u0026\u0026(l.style.cssText=r,o=l.style.color,a=l.style.fontSize,s=l.style.textAlign),e.style.textAlign=s,l.style.display=\"inline-flex\",l.style.alignItems=\"center\";let c=\"default\";\"chart\"===t\u0026\u0026(c=\"pointer\"),l.style.cursor=c;let u=document.createElement(\"p\");u.innerText=[void 0,null].includes(i)?\"Price trends\":i,u.style.margin=\"0 0 0 6px\",u.style.borderBottom=`2px dotted ${o}`,u.style.fontSize=a,u.classList.add(\"caption\");let p=function e(t=\"#111111\",r=20){let n=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");n.setAttribute(\"width\",r),n.setAttribute(\"height\",r),n.setAttribute(\"viewBox\",\"0 1 16 14\"),n.setAttribute(\"fill\",\"none\");let i=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");i.setAttribute(\"d\",\"M6.5 3.5C6.5 3.08579 6.83579 2.75 7.25 2.75C7.66421 2.75 8 3.08579 8 3.5V3.75H8.75C9.16421 3.75 9.5 4.08579 9.5 4.5C9.5 4.91421 9.16421 5.25 8.75 5.25H6.5C6.22386 5.25 6 5.47386 6 5.75C6 6.02614 6.22386 6.25 6.5 6.25H7.5C8.60457 6.25 9.5 7.14543 9.5 8.25C9.5 9.35457 8.60457 10.25 7.5 10.25V10.5C7.5 10.9142 7.16421 11.25 6.75 11.25C6.33579 11.25 6 10.9142 6 10.5V10.25H5.25C4.83579 10.25 4.5 9.91421 4.5 9.5C4.5 9.08579 4.83579 8.75 5.25 8.75H7.5C7.77614 8.75 8 8.52614 8 8.25C8 7.97386 7.77614 7.75 7.5 7.75H6.5C5.39543 7.75 4.5 6.85457 4.5 5.75C4.5 4.64543 5.39543 3.75 6.5 3.75V3.5Z\"),i.setAttribute(\"fill\",t);let l=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");return l.setAttribute(\"d\",\"M14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7ZM12.5 7C12.5 10.0376 10.0376 12.5 7 12.5C3.96243 12.5 1.5 10.0376 1.5 7C1.5 3.96243 3.96243 1.5 7 1.5C10.0376 1.5 12.5 3.96243 12.5 7Z\"),l.setAttribute(\"fill-rule\",\"evenodd\"),l.setAttribute(\"clip-rule\",\"evenodd\"),l.setAttribute(\"fill\",t),n.appendChild(i),n.appendChild(l),n}(o,n),_=function e(t=\"#111111\",r=20){let n=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");n.setAttribute(\"width\",r),n.setAttribute(\"height\",r),n.setAttribute(\"viewBox\",\"2 -4 14 18\"),n.setAttribute(\"fill\",\"none\"),n.setAttribute(\"xmlns\",\"http://www.w3.org/2000/svg\");let i=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");return i.setAttribute(\"fill-rule\",\"evenodd\"),i.setAttribute(\"clip-rule\",\"evenodd\"),i.setAttribute(\"d\",\"M5.44697 1.5C5.00114 1.5 4.61903 1.81867 4.53896 2.25725L3.53735 7.74387C3.2988 9.05057 2.16035 10 0.832058 10H0.75C0.335786 10 0 9.66421 0 9.25C0 8.83579 0.335786 8.5 0.75 8.5H0.832058C1.43583 8.5 1.95331 8.06844 2.06174 7.47448L3.06335 1.98787C3.27353 0.836541 4.27661 0 5.44697 0C6.71534 0 7.76907 0.978167 7.86328 2.24304L8.57919 11.8548C8.60629 12.2186 8.90939 12.5 9.27423 12.5C9.61494 12.5 9.90571 12.2537 9.96172 11.9176L10.4817 8.7979C10.7027 7.47189 11.8499 6.5 13.1943 6.5H15.25C15.6642 6.5 16 6.83579 16 7.25C16 7.66421 15.6642 8 15.25 8H13.1943C12.5832 8 12.0617 8.44177 11.9613 9.0445L11.4413 12.1642C11.2648 13.2236 10.3482 14 9.27423 14C8.12419 14 7.16876 13.1131 7.08334 11.9662L6.36743 2.35445C6.33154 1.87262 5.93013 1.5 5.44697 1.5Z\"),i.setAttribute(\"fill\",t),n.appendChild(i),n}(o,n);l.appendChild(p),l.appendChild(_),l.appendChild(u),e.appendChild(l)}async function et(){return(void 0===window.AmOmnibusTooltip\u0026\u0026(window.AmOmnibusTooltip={}),window.AmOmnibusTooltip.instance)?Promise.resolve(window.AmOmnibusTooltip.instance):(window.AmOmnibusTooltip.promise||(window.AmOmnibusTooltip.promise=new Promise((e,t)=>{let r=\"am-tooltip-lib:loaded\",n=i=>{let l=i.detail,{AmOmnibusTooltip:o}=l;document.removeEventListener(r,n),o?(window.AmOmnibusTooltip.instance=o,e(o)):t(Error(\"Could not load AmTooltip lib\"))};document.addEventListener(r,n),er(\"https://cdn.shopify.com/extensions/01a1e9c5-bb5b-7b2b-a9d4-f0dc308bad26/omnibus-insight-price-tracker-28/assets/tooltip.js\").catch()})),window.AmOmnibusTooltip.promise)}async function er(e){try{let t=await fetch(e),r=await t.text(),n=document.createElement(\"script\");n.textContent=r,document.head.appendChild(n)}catch(i){}}Q().catch()}customElements.get(\"am-omnibus-listing\")||customElements.define(\"am-omnibus-listing\",class extends HTMLElement{static get observedAttributes(){return[\"data-am-rendered\"]}connectedCallback(){this.renderOnce()}disconnectedCallback(){this.cancelRender(),delete this.dataset.amRendered}attributeChangedCallback(e,t,r){null!==t\u0026\u0026null===r\u0026\u0026queueMicrotask(()=>this.isConnected\u0026\u0026this.renderOnce())}cancelRender(){this.amRenderGeneration=(this.amRenderGeneration??0)+1,this.amTooltipRenderer?.destroy(),this.amTooltipRenderer=null}renderOnce(){!this.dataset.amRendered\u0026\u0026(this.dataset.amRendered=\"true\",this.cancelRender(),this.replaceChildren(),e(this))}})})();'})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Render the snippet in price.liquid`,children:[_jsxs(_components.p,{children:[`Locate `,_jsx(_components.code,{children:`price.liquid`}),` in the snippets, paste `,_jsx(_components.code,{children:`{%- render 'am-lowest-price', product:product -%}`}),` at the end, and save (we recommend using this snippet, since it is responsible for displaying the price).`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Some third-party themes may use a different product variable name, which can cause the `,_jsx(_components.code,{children:`price.liquid`}),` code to not work. If you encounter this issue, try `,_jsx(_components.code,{children:`{%- render 'am-lowest-price', product:target -%}`}),`, `,_jsx(_components.code,{children:`{%- render 'am-lowest-price', product:product_resource -%}`}),` or `,_jsx(_components.code,{children:`{%- render 'am-lowest-price', product:product_ref -%}`}),`. If none of these work, please contact us for assistance at `,_jsx(_components.a,{href:`mailto:help-center@amasty.com`,children:`help-center@amasty.com`}),`.`]})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Omnibus/2025-09-25-11-44-28.png`,alt:`Render line added to price.liquid`})})]})]}),`\n`,_jsx(_components.p,{children:`The result on the front-end:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/omni12.png`,alt:`Lowest price block on the collections page`})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`If you uninstall the app, it won’t automatically undo the changes. You’ll need to manually delete any unnecessary info or blocks.`})}),`\n`,_jsx(Heading,{level:`2`,id:`add-the-lowest-price-block-to-the-related-products-block`,children:`Add the lowest price block to the related products block`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open the theme code editor`,children:[_jsxs(_components.p,{children:[`Head to the theme settings, and then click on `,_jsx(_components.strong,{children:`Edit code`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/omni6.png`,alt:`Edit theme code to add the lowest price block to related products`})})]}),_jsx(Step,{title:`Open Snippets`,children:_jsxs(_components.p,{children:[`In the theme editor sidebar, find and click on the `,_jsx(_components.strong,{children:`Snippets`}),` section to expand the list of existing snippet files.`]})}),_jsxs(Step,{title:`Create a new file`,children:[_jsxs(_components.p,{children:[`At the top of the expanded list, you will see a button labeled `,_jsx(_components.strong,{children:`New File`}),`. Click this button to create a new snippet file.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Omnibus/edit-code-side-bar-161.png`,alt:`New File button`})})]}),_jsxs(Step,{title:`Name the snippet`,children:[_jsxs(_components.p,{children:[`A text field will appear where you can enter a name for your new snippet. Name it `,_jsx(_components.code,{children:`am-lowest-price-for-related-products.liquid`}),` and press `,_jsx(_components.strong,{children:`Enter`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Omnibus/2025-09-25-11-59-30.png`,alt:`Snippet name for related products`})})]}),_jsxs(Step,{title:`Add the code`,children:[_jsxs(_components.p,{children:[`On the right side of the screen, in the tab corresponding to the new snippet, `,_jsx(_components.strong,{children:`add the content below`}),` to the code text field and `,_jsx(_components.strong,{children:`save`}),`.`]}),_jsx(CodeBlock,{filename:``,expandable:`true`,numberOfLines:`9`,language:`liquid`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`liquid`,children:_jsxs(_components.code,{language:`liquid`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am-omnibus-related-texts-`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"label\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` shop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"omnibus_insight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am_lowest_price_label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"popupIconText\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` shop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"omnibus_insight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am_lowest_price_icon_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \"promotionPeriod\": `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` shop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metafields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"omnibus_insight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am_lowest_price_promotion_period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`replace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u003c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` }}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"am-omnibus-related-container-`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:`{{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` product`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#808080`},children:` }}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` style`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"position: relative; z-index: 1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:'\u003cimg alt=\"\" width=\"0\" height=\"0\" style=\"display: none\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" onload=\\'(async()=>{var e,t,r;let{shop:n,locale:i,currency:l,country:o}=window.Shopify;if(!n)return;let a={AR:\"es\",AZ:\"az\",BG:\"bg\",DE:\"de\",ES:\"es\",FI:\"fi\",FJ:\"fj\",FO:\"fo\",FR:\"fr\",HR:\"hr\",HT:\"ht\",HU:\"hu\",ID:\"id\",IS:\"is\",IT:\"it\",LT:\"lt\",LV:\"lv\",MG:\"mg\",MH:\"mh\",MK:\"mk\",MN:\"mn\",MT:\"mt\",NL:\"nl\",NO:\"no\",PL:\"pl\",PT:\"pt\",RO:\"ro\",RU:\"ru\",RW:\"rw\",SK:\"sk\",SO:\"so\",TH:\"th\",TO:\"to\",TR:\"tr\",US:\"en\",UZ:\"uz\"},s=(e,t)=>a[t]||(e||\"\").split(/[-_]/)[0]||e,c=(e,{marginTop:t=null,marginBottom:r=null}={})=>{let n=e||\"\";return null!==t\u0026\u0026(n=n.replace(/margin-top:\\\\s*-?\\\\d+px/,`margin-top: ${t}px`)),null!==r\u0026\u0026(n=n.replace(/margin-bottom:\\\\s*-?\\\\d+px/,`margin-bottom: ${r}px`)),n},u=(e,t,r)=>{let n=e.querySelector(\"#\"+t);if(!n)return;let i=e.querySelector(\".am-omnibus-promotion\");i||((i=document.createElement(\"div\")).className=\"am-omnibus-promotion\",e.insertBefore(i,n)),i.innerHTML=r||\"\";let l=void 0!==n.dataset.amOmnibusMarginTop;r?(l||(n.dataset.amOmnibusMarginTop=n.style.marginTop),n.style.marginTop=\"0px\"):l\u0026\u0026(n.style.marginTop=n.dataset.amOmnibusMarginTop,delete n.dataset.amOmnibusMarginTop)},p=[\"a\",\"b\",\"strong\",\"i\",\"em\",\"u\",\"br\",\"span\",\"p\",\"small\",\"sub\",\"sup\"],_=[\"http\",\"https\",\"mailto\"],m=[\"href\",\"target\",\"rel\"],d=[\"style\",\"class\"],$=e=>String(e??\"\").replace(/[\u0026\u003c>\\\\x22\\\\x27]/g,e=>{let t=String.fromCharCode(38+(e.charCodeAt(0)-e.charCodeAt(0)));switch(e){case\"\u0026\":return t+\"amp;\";case\"\u003c\":return t+\"lt;\";case\">\":return t+\"gt;\";case`\"`:return t+\"quot;\";default:return t+\"#039;\"}}),f=e=>{let t=document.createElement(\"textarea\");return t.innerHTML=e,t.value},h=e=>{let t=f(String(e).trim()).replace(/[\\\\x00-\\\\x1f\\\\x7f]/g,\"\").trim();if(\"\"===t||t.startsWith(\"/\")||t.startsWith(\"#\")||t.startsWith(\"//\"))return!0;let r=t.indexOf(\":\");return -1===r||_.includes(t.slice(0,r).toLowerCase())},b=e=>{let t={},r=/([a-zA-Z][\\\\w-]*)(?:\\\\s*=\\\\s*(?:\\\\x22([^\\\\x22]*)\\\\x22|\\\\x27([^\\\\x27]*)\\\\x27|([^\\\\s\\\\x22\\\\x27`=\u003c>]*)))?/g,n;for(;null!==(n=r.exec(e));)t[n[1].toLowerCase()]=n[2]||n[3]||n[4]||\"\";return t},y=(e,t)=>{let r=\"a\"===e?m:d,n={};for(let i of Object.keys(t))r.includes(i)\u0026\u0026(n[i]=t[i]);return\"a\"!==e||(void 0===n.href||h(n.href)||delete n.href,void 0!==n.target\u0026\u0026\"_blank\"===n.target.toLowerCase()\u0026\u0026(n.rel=\"noopener noreferrer\")),n},g=e=>Object.keys(e).map(t=>` ${t}=\"${$(e[t])}\"`).join(\"\"),C=e=>e.replace(/\u003c\\\\/?([a-zA-Z][a-zA-Z0-9]*)(\\\\s[^>]*)?\\\\s*\\\\/?>/g,(e,t)=>p.includes(t.toLowerCase())?e:\"\"),w=(e,t,r)=>{let n=t.toLowerCase();if(e.startsWith(\"\u003c/\"))return`\u003c/${n}>`;let i=y(n,b(r||\"\")),l=\"br\"===n||e.trimEnd().endsWith(\"/>\");return l?`\u003c${n}${g(i)} />`:`\u003c${n}${g(i)}>`},A=e=>{let t=String(e??\"\").trim();if(\"\"===t||!t.includes(\"\u003c\"))return t;let r=t,n=!1;for(let i=0;i\u003c10;i++){let l=C(r).trim();if(l===r){n=!0;break}r=l}return n?r.replace(/\u003c\\\\/?([a-zA-Z][a-zA-Z0-9]*)(\\\\s[^>]*)?\\\\s*\\\\/?>/g,(e,t,r)=>w(e,t,r)):$(r)},v=(e,t,r,n,i)=>{if(e)return e;let l=t;if(r\u0026\u0026r.length>0)for(let o of r)o.code\u0026\u0026(o.code===n||n.startsWith(o.code+\"-\"))\u0026\u0026o[i]\u0026\u0026(l=o[i]);return l},x=e=>A(e).replaceAll(\"\\\\n\",\"\u003cbr>\"),T=\"{{ product.id }}\";if(!T||void 0===window.ShopifyAnalytics)return;let S=e=>\"string\"==typeof e\u0026\u0026\"\"!==e?e:null,L=()=>{try{let e=JSON.parse(document.getElementById(`am-omnibus-related-texts-${T}`).textContent);return{label:S(e.label),popupIconText:S(e.popupIconText),promotionPeriod:S(e.promotionPeriod)}}catch(t){return console.error(t),{label:null,popupIconText:null,promotionPeriod:null}}},E=L(),O=\"{{ product.selected_or_first_available_variant.price }}\"*.01,j=\"{{ product.selected_or_first_available_variant.compare_at_price }}\"*.01,k=Number(\"{{ localization.market.id }}\"),H=Number(\"{{ customer.current_company.id }}\"),I=`am-price-trends-${T}`,M=e=>{if(\"null\"!==e)try{return JSON.parse(e)}catch(t){console.error(t)}return null},P=M(`{{ shop.metafields[\"app--80349265921\"].am_lowest_price_settings.value | json }}`),Z=M(`{{ product.metafields[\"app--80349265921\"].am_lowest_price.value | json }}`),z=M(`{{ product.selected_or_first_available_variant.metafields[\"app--80349265921\"].am_lowest_price.value | json }}`),F=P?.custom_font_url?\"AmCustomFont_{{ shop.id }}\":null;if(F\u0026\u0026!window.amOmnibusCustomFontLoaded){window.amOmnibusCustomFontLoaded=!0;let N=document.createElement(\"style\");N.textContent=`@font-face {font-family: ${F};src: url(\"${P.custom_font_url}\");font-display: optional;}`,document.head.appendChild(N),\"undefined\"!=typeof FontFace\u0026\u0026new FontFace(F,`url(\"${P.custom_font_url}\")`).load().then(e=>document.fonts.add(e)).catch(()=>{})}let B=null,R=\"{{ product.selected_or_first_available_variant.id }}\",{page:U}=window.ShopifyAnalytics.meta,{pageType:W}=U;if(\"product\"!==W||+T===window.ShopifyAnalytics?.meta?.product?.id)return;let q=async e=>{let t=l?.active;if(!t)return null;let r=(e,t)=>{try{if(!t){localStorage.removeItem(e);return}let r={value:t,timestamp:Date.now()};localStorage.setItem(e,JSON.stringify(r))}catch(n){}},i=e=>{try{let t=localStorage.getItem(e);if(!t)return null;let{value:r,timestamp:n}=JSON.parse(t),i=Date.now();if(i-n\u003c432e5)return r;return localStorage.removeItem(e),null}catch(l){return null}},o=`am_omnibus_rate_${t}_${e}`,a=i(o);if(a)return a;let s=await fetch(\"/apps/am-omnibus-price\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"},body:JSON.stringify({shop:n,operation:\"currency_conversion\",currency:l,lowestCurrency:e})});if(!s.ok)return null;let{rate:c}=await s.json();return r(o,c),c},V=async(e,t)=>{if(\"object\"!=typeof e)return;let r=(e,t)=>{if(!t)return e.settings;if(e.hasCustomSettings){for(let r in t)r in e.settings||(e.settings[r]=t[r]);return e.settings}return t},n=r(e,t);if(!n||\"object\"!=typeof n)return;let l=`#am-omnibus-related-container-${T}`,a=document.querySelectorAll(l);if(!a||0===a.length)return;let{show_lowest:p,display_mode:_,popup_content:m,display_only_at_discount:d,percentage_mode:$,multi_currency_display_mode:f,period:h,languages:b,translations:y,css:g,icon_size:C,shop_currency:w,positive_percentage_color:A,negative_percentage_color:S,excluded_market_ids:L,excluded_company_ids:M}=n;if(!p)return;if(H){if(M\u0026\u0026M instanceof Array\u0026\u0026(M.includes(H)||M.includes(\"\"+H)))return}else if(k\u0026\u0026L\u0026\u0026L instanceof Array\u0026\u0026(L.includes(k)||L.includes(\"\"+k)))return;let P=w||e.shopCurrency,Z=window.Shopify?.currency,z=Z?.active,F=Z?.rate,N,B,R,U,W=null,V=e.markets,D=null;H\u0026\u0026V?.companies?.[H]?D=V?.companies?.[H]:k?D=V?.markets?.[k]:o\u0026\u0026(D=V?.countries?.[o]);let J=D?D.prices:null,Q=D?D.lowest:null;if(J\u0026\u0026Q){let Y=J\u0026\u0026z?J[z]?.original:null;if(Y)N=Y.amount,U=Y.currency;else{if(!Q.original?.amount)return;P===Q.original?.currency?(N=Q.original.amount*F,U=z):(N=Q.original.amount,U=Q.original?.currency)}B=O,R=!!(j\u0026\u0026j>O)}else N=e.lowest_price,e.currency===z?(U=z,B=O,R=!!(j\u0026\u0026j>O)):(U=e.currency,B=e.price,R=!!e.at_discount);if(U\u0026\u0026U!==P){if(!Z||\"object\"!=typeof Z)return;if(z\u0026\u0026U===z)F=1;else if(z\u0026\u0026P===z){if(N*=F=Z.rate,1==+F\u0026\u0026U!==z)switch(f){case\"hide\":return;case\"original\":W=U;break;default:if(!(F=await q(U)))return;N*=F,F=1}}else switch(f){case\"hide\":return;case\"original\":W=U;break;default:if(!(F=await q(U)))return;N*=F,F=1}}if(null==N){\"popup\"===_\u0026\u0026\"price_only\"!==m\u0026\u0026G(_).catch(),a.forEach(e=>u(e,I,\"\"));return}if(d\u0026\u0026!R){a.forEach(e=>u(e,I,\"\"));return}let ee=g;if(\"popup\"===_){let et=v(E.popupIconText,y.icon_text,b,i,\"iconText\");if(a.forEach(e=>{X(e,m,g,C||20,et)}),\"price_only\"!==m){G().catch();return}g=\"\"}let er=B\u003cN,en=B>N,ei=\"inherit\",el=\"\";if(en)el=\"+\",ei=A||\"rgb(214, 123, 123)\";else if(er){el=\"-\";let eo=\"rgb(110, 221, 168)\";ei=S\u0026\u0026S!==eo?S:\"popup\"===_?\"rgb(16, 172, 132)\":eo}let ea=`color: ${ei}`,es,ec;0!==N?ec=` \u003cspan style=\"${ea}\">(${el}${es=Math.abs(es=parseFloat(es=(B/N-1)*100).toFixed(2))}%)\u003c/span>`:(es=0,ec=\"\"),(\"dont\"===$||\"positive\"===$\u0026\u0026er||\"zero_or_negative\"===$\u0026\u0026en||0===es)\u0026\u0026(ec=\"\"),W?z=W:z\u0026\u0026z!==P\u0026\u0026F\u0026\u00261!=+F\u0026\u0026(N*=F);let eu=(e,t,r,n)=>{let i={style:\"currency\",currency:n,numberingSystem:\"latn\"},l=new Intl.NumberFormat(r?`${t}-${r}`:t,i).format(e);return l.includes(n)\u0026\u0026(l=new Intl.NumberFormat(t,i).format(e)),\"USD\"!==n\u0026\u0026/(?\u003c![A-Za-z])\\\\$/.test(l)\u0026\u0026(l+=` ${n}`),l},ep=eu(N,s(i,o),o,z);ep||(ep=`${N} ${z}`);let e_=v(E.label,y.lowest,b,i,\"text\");e_||(e_=`The lowest price from last ${h} days: {lowest.price}`),e_.includes(\"{X}\")\u0026\u0026(e_=e_.replaceAll(\"{X}\",h)),e_=x(e_);let em=\"\",e3=e.promotion;if(e3\u0026\u0026!(e3.ends_at\u0026\u0026new Date(e3.ends_at)\u003c=new Date)){let ed=v(E.promotionPeriod,y.promotion_period,b,i,\"promotionPeriod\");if(ed){let e$=e=>{let[t,r,n]=String(e).split(\"-\").map(Number),l=new Date(Date.UTC(t,r-1,n));return new Intl.DateTimeFormat(i||void 0,{year:\"numeric\",month:\"long\",day:\"numeric\",timeZone:\"UTC\"}).format(l)};ed=(ed=(ed=x(ed)).replaceAll(\"{start_date}\",e$(e3.start_date))).replaceAll(\"{end_date}\",e3.end_date?e$(e3.end_date):\"\");let e0=c(ee,{marginBottom:2});em=`\u003cp class=\"caption\" style=\"${e0}\">${ed}\u003c/p>`}}let ef=em?c(g,{marginTop:0}):g,e5;e5=e_.includes(\"{lowest.price}\")?`\u003cp class=\"caption\" style=\"${ef}\">${e_=e_.replaceAll(\"{lowest.price}\",`${ep}${ec}`)}\u003c/p>`:`\u003cp class=\"caption\" style=\"${ef}\">${e_}: ${ep}${ec}\u003c/p>`,\"popup\"===_\u0026\u0026\"price_only\"===m?(K(I,e5,m).catch(),a.forEach(e=>u(e,I,em))):a.forEach(e=>{e.innerHTML=em+e5})},D=e=>\"object\"==typeof e\u0026\u0026!!e\u0026\u0026Object.keys(e).length>0;if(\"object\"==typeof(e=P)\u0026\u0026e\u0026\u0026Object.keys(e).length>0\u0026\u0026Object.keys(P).some(e=>\"custom_font_url\"!==e)){if(R\u0026\u0026null!==z\u0026\u0026\"object\"==typeof(t=z)\u0026\u0026t\u0026\u0026Object.keys(t).length>0)return V(z,P);if(null!==Z\u0026\u0026\"object\"==typeof(r=Z)\u0026\u0026r\u0026\u0026Object.keys(r).length>0)return V(Z,P)}async function G(e){let t=`#am-omnibus-related-container-${T}`,r=document.querySelectorAll(t);if(!r||0===r.length)return;let a=await fetch(\"/apps/am-omnibus-price\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"},body:JSON.stringify({shop:n,productId:T,variantId:R,locale:i,currency:l,country:o,companyId:H,marketId:k,realPrice:O,realComparePrice:j,labelTemplate:E.label,popupIconTemplate:E.popupIconText,promotionTemplate:E.promotionPeriod})});if(!a.ok)return;let{lowestPriceHtml:s,displayMethod:c,popupContent:p,prices:_,plainCss:m,iconSize:d,iconText:$,chartColor:f,promotionHtml:h}=await a.json();null!=s\u0026\u0026(e\u0026\u0026(c=e),r.forEach(e=>{if(c\u0026\u0026\"always_visible\"!==c){if(!s){u(e,I,\"\");return}X(e,p,m,d||20,$),u(e,I,h);let t=null;\"chart\"===p\u0026\u0026(t=\"https://cdn.shopify.com/extensions/01a1e9c5-bb5b-7b2b-a9d4-f0dc308bad26/omnibus-insight-price-tracker-28/assets/chart.js\"),K(I,s,p,_,t,f).catch()}else e.innerHTML=(h||\"\")+s,void 0===c\u0026\u0026!s\u0026\u0026B\u0026\u0026B.destroy()}))}async function K(e,t,r,n,l,a){let s=await J();(B=new s(e,t,r,n,l,a,o,i,F)).render()}function X(e,t,r,n,i){if(e.querySelector(`#${I}`))return;let l=document.createElement(\"div\"),o=\"#111111\",a=\"12px\",s=\"left\";l.id=I,r\u0026\u0026(l.style.cssText=r,o=l.style.color,a=l.style.fontSize,s=l.style.textAlign),e.style.textAlign=s,l.style.display=\"inline-flex\",l.style.alignItems=\"center\";let c=\"default\";\"chart\"===t\u0026\u0026(c=\"pointer\"),l.style.cursor=c;let u=document.createElement(\"p\");u.innerText=[void 0,null].includes(i)?\"Price trends\":i,u.style.margin=\"0 0 0 6px\",u.style.borderBottom=`2px dotted ${o}`,u.style.fontSize=a,u.classList.add(\"caption\");let p=ee(o,n),_=et(o,n);l.appendChild(p),l.appendChild(_),l.appendChild(u),e.appendChild(l)}async function J(){return(void 0===window.AmOmnibusTooltip\u0026\u0026(window.AmOmnibusTooltip={}),window.AmOmnibusTooltip.instance)?Promise.resolve(window.AmOmnibusTooltip.instance):(window.AmOmnibusTooltip.promise||(window.AmOmnibusTooltip.promise=new Promise((e,t)=>{let r=\"am-tooltip-lib:loaded\",n=i=>{let l=i.detail,{AmOmnibusTooltip:o}=l;document.removeEventListener(r,n),o?(window.AmOmnibusTooltip.instance=o,e(o)):t(Error(\"Could not load AmTooltip lib\"))};document.addEventListener(r,n),Q()})),window.AmOmnibusTooltip.promise)}function Q(){Y(\"https://cdn.shopify.com/extensions/01a1e9c5-bb5b-7b2b-a9d4-f0dc308bad26/omnibus-insight-price-tracker-28/assets/tooltip.js\").catch()}async function Y(e){try{let t=await fetch(e),r=await t.text(),n=document.createElement(\"script\");n.textContent=r,document.head.appendChild(n)}catch(i){}}function ee(e=\"#111111\",t=20){let r=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");r.setAttribute(\"width\",t),r.setAttribute(\"height\",t),r.setAttribute(\"viewBox\",\"0 1 16 14\"),r.setAttribute(\"fill\",\"none\");let n=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");n.setAttribute(\"d\",\"M6.5 3.5C6.5 3.08579 6.83579 2.75 7.25 2.75C7.66421 2.75 8 3.08579 8 3.5V3.75H8.75C9.16421 3.75 9.5 4.08579 9.5 4.5C9.5 4.91421 9.16421 5.25 8.75 5.25H6.5C6.22386 5.25 6 5.47386 6 5.75C6 6.02614 6.22386 6.25 6.5 6.25H7.5C8.60457 6.25 9.5 7.14543 9.5 8.25C9.5 9.35457 8.60457 10.25 7.5 10.25V10.5C7.5 10.9142 7.16421 11.25 6.75 11.25C6.33579 11.25 6 10.9142 6 10.5V10.25H5.25C4.83579 10.25 4.5 9.91421 4.5 9.5C4.5 9.08579 4.83579 8.75 5.25 8.75H7.5C7.77614 8.75 8 8.52614 8 8.25C8 7.97386 7.77614 7.75 7.5 7.75H6.5C5.39543 7.75 4.5 6.85457 4.5 5.75C4.5 4.64543 5.39543 3.75 6.5 3.75V3.5Z\"),n.setAttribute(\"fill\",e);let i=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");return i.setAttribute(\"d\",\"M14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7ZM12.5 7C12.5 10.0376 10.0376 12.5 7 12.5C3.96243 12.5 1.5 10.0376 1.5 7C1.5 3.96243 3.96243 1.5 7 1.5C10.0376 1.5 12.5 3.96243 12.5 7Z\"),i.setAttribute(\"fill-rule\",\"evenodd\"),i.setAttribute(\"clip-rule\",\"evenodd\"),i.setAttribute(\"fill\",e),r.appendChild(n),r.appendChild(i),r}function et(e=\"#111111\",t=20){let r=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");r.setAttribute(\"width\",t),r.setAttribute(\"height\",t),r.setAttribute(\"viewBox\",\"2 -4 14 18\"),r.setAttribute(\"fill\",\"none\"),r.setAttribute(\"xmlns\",\"http://www.w3.org/2000/svg\");let n=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");return n.setAttribute(\"fill-rule\",\"evenodd\"),n.setAttribute(\"clip-rule\",\"evenodd\"),n.setAttribute(\"d\",\"M5.44697 1.5C5.00114 1.5 4.61903 1.81867 4.53896 2.25725L3.53735 7.74387C3.2988 9.05057 2.16035 10 0.832058 10H0.75C0.335786 10 0 9.66421 0 9.25C0 8.83579 0.335786 8.5 0.75 8.5H0.832058C1.43583 8.5 1.95331 8.06844 2.06174 7.47448L3.06335 1.98787C3.27353 0.836541 4.27661 0 5.44697 0C6.71534 0 7.76907 0.978167 7.86328 2.24304L8.57919 11.8548C8.60629 12.2186 8.90939 12.5 9.27423 12.5C9.61494 12.5 9.90571 12.2537 9.96172 11.9176L10.4817 8.7979C10.7027 7.47189 11.8499 6.5 13.1943 6.5H15.25C15.6642 6.5 16 6.83579 16 7.25C16 7.66421 15.6642 8 15.25 8H13.1943C12.5832 8 12.0617 8.44177 11.9613 9.0445L11.4413 12.1642C11.2648 13.2236 10.3482 14 9.27423 14C8.12419 14 7.16876 13.1131 7.08334 11.9662L6.36743 2.35445C6.33154 1.87262 5.93013 1.5 5.44697 1.5Z\"),n.setAttribute(\"fill\",e),r.appendChild(n),r}G().catch()})();this.parentNode.removeChild(this);\\' />'})}),`\n`]})})})]}),_jsxs(Step,{title:`Render the snippet in price.liquid`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.code,{children:`price.liquid`}),` in the snippets and paste `,_jsx(_components.code,{children:`{%- render 'am-lowest-price-for-related-products', product:product -%}`}),` at the end, and save (we recommend using this snippet, since it is responsible for displaying the price).`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Some third-party themes may use a different product variable name, which can cause the `,_jsx(_components.code,{children:`price.liquid`}),` code to not work. If you encounter this issue, try `,_jsx(_components.code,{children:`{%- render 'am-lowest-price-for-related-products', product:target -%}`}),`, `,_jsx(_components.code,{children:`{%- render 'am-lowest-price-for-related-products', product:product_resource -%}`}),` or `,_jsx(_components.code,{children:`{%- render 'am-lowest-price-for-related-products', product:product_ref -%}`}),`. If none of these work, please contact us for assistance at `,_jsx(_components.a,{href:`mailto:help-center@amasty.com`,children:`help-center@amasty.com`}),`.`]})})]})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`If you uninstall the app, it won’t automatically undo the changes. You’ll need to manually delete any unnecessary info or blocks.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Adding the lowest price block to non-product pages","description":"Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.","href":"/sf/omnibus-insight/non-product"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Add the lowest price block to the homepage and collections","slug":"add-the-lowest-price-block-to-the-homepage-and-collections","depth":2,"children":[]},{"title":"Add the lowest price block to the related products block","slug":"add-the-lowest-price-block-to-the-related-products-block","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"amasty","siteName":"Amasty Guides","title":"Adding the lowest price block to non-product pages - Amasty Guides","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T13:31:13.229Z","originalFileLocation":"sf/omnibus-insight/non-product.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Amasty Guides\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/amasty/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/amasty/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/amasty/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/amasty/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Adding the lowest price block to non-product pages - Amasty Guides\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Amasty Guides\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://amasty.mintlify.app/sf/omnibus-insight/non-product\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://amasty.mintlify.site/_mintlify/api/og/v2?division=Omnibus+Insight\u0026amp;title=Adding+the+lowest+price+block+to+non-product+pages\u0026amp;description=Add+the+Omnibus+Insight+lowest+price+block+to+the+homepage%2C+collection+pages+and+the+related+products+block.\u0026amp;theme=d6a164ec51c992e38493a8cc\u0026amp;signature=d3cb755256109eb3aedff74002f54022675b0770d3945d838a9bf8b506450536\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Adding the lowest price block to non-product pages - Amasty Guides\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://amasty.mintlify.site/_mintlify/api/og/v2?division=Omnibus+Insight\u0026amp;title=Adding+the+lowest+price+block+to+non-product+pages\u0026amp;description=Add+the+Omnibus+Insight+lowest+price+block+to+the+homepage%2C+collection+pages+and+the+related+products+block.\u0026amp;theme=d6a164ec51c992e38493a8cc\u0026amp;signature=d3cb755256109eb3aedff74002f54022675b0770d3945d838a9bf8b506450536\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/amasty/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Amasty Guides\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6621\">\u003clink data-mint-head rel=\"canonical\" href=\"https://amasty.mintlify.app/sf/omnibus-insight/non-product\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sf/omnibus-insight/non-product.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://amasty.com/#organization\",\"name\":\"Amasty\",\"legalName\":\"Softonomica LTD\",\"url\":\"https://amasty.com/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/amasty/3Uh8ghfhOrI-DIT5/images/black_color_logo_amasty.svg?fit=max\u0026auto=format\u0026n=3Uh8ghfhOrI-DIT5\u0026q=85\u0026s=137c0588ee82f471508dabc9d6f8323a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://amasty.mintlify.app#website\",\"name\":\"Amasty Guides\",\"url\":\"https://amasty.mintlify.app\",\"publisher\":{\"@id\":\"https://amasty.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://amasty.mintlify.app/sf/omnibus-insight/non-product#webpage\",\"url\":\"https://amasty.mintlify.app/sf/omnibus-insight/non-product\",\"name\":\"Adding the lowest price block to non-product pages\",\"description\":\"Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.\",\"dateModified\":\"2026-11-20T13:31:13.229Z\",\"isPartOf\":{\"@id\":\"https://amasty.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://amasty.mintlify.app/sf/omnibus-insight/non-product#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://amasty.mintlify.app/sf/omnibus-insight/non-product#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Shopify Apps\",\"item\":\"https://amasty.mintlify.app/sf\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Omnibus Insight\",\"item\":\"https://amasty.mintlify.app/sf/omnibus-insight/initial-setup\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Adding the lowest price block to non-product pages\",\"item\":\"https://amasty.mintlify.app/sf/omnibus-insight/non-product\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://amasty.mintlify.app/sf/omnibus-insight/non-product#article\",\"headline\":\"Adding the lowest price block to non-product pages\",\"name\":\"Adding the lowest price block to non-product pages\",\"description\":\"Add the Omnibus Insight lowest price block to the homepage, collection pages and the related products block.\",\"url\":\"https://amasty.mintlify.app/sf/omnibus-insight/non-product\",\"mainEntityOfPage\":{\"@id\":\"https://amasty.mintlify.app/sf/omnibus-insight/non-product#webpage\"},\"dateModified\":\"2026-11-20T13:31:13.229Z\",\"publisher\":{\"@id\":\"https://amasty.com/#organization\"},\"isPartOf\":{\"@id\":\"https://amasty.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Amasty Guides\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Amasty\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sf/omnibus-insight/non-product.md","siteName":"Amasty Guides","nav":{"global":null,"tabs":[{"tab":"Home","hidden":true,"pages":[{"title":"Home","href":""}]},{"tab":"Shopify","groups":[{"group":"Shopify Apps","pages":[{"title":"Amasty Apps for Shopify: User Guides","sidebarTitle":"All Shopify Apps","mode":"wide","href":"/sf"},{"group":"PicManager","pages":[{"title":"Overview","href":"/sf/picmanager/overview"},{"title":"Settings: Media upload","href":"/sf/picmanager/settings-media-upload"},{"title":"Upload media","href":"/sf/picmanager/upload-media"},{"title":"Select files","href":"/sf/picmanager/select-files"},{"title":"Automatic assignment","href":"/sf/picmanager/automatic-assignment"},{"title":"Manual assignment","href":"/sf/picmanager/manual-assignment"},{"title":"Matching results and finishing the upload","href":"/sf/picmanager/matching"},{"title":"Settings: Image optimization","href":"/sf/picmanager/settings-image-optimization"},{"title":"Optimization","href":"/sf/picmanager/optimization"},{"title":"Image slider","href":"/sf/picmanager/image-slider"},{"title":"History","href":"/sf/picmanager/history"}]},{"group":"Omnibus Insight","pages":[{"title":"Initial setup","href":"/sf/omnibus-insight/initial-setup"},{"title":"Settings","href":"/sf/omnibus-insight/settings"},{"title":"Products","href":"/sf/omnibus-insight/products"},{"title":"Price history","description":"View the history of product price changes, export it to CSV and track daily and monthly price changes on the dashboard.","href":"/sf/omnibus-insight/price-history"},{"title":"Adding the lowest price block to non-product pages","href":"/sf/omnibus-insight/non-product"},{"title":"Troubleshooting","description":"A workaround for themes that don't allow you to add the lowest price block during the initial app setup.","href":"/sf/omnibus-insight/troubleshooting"},{"title":"GPSR compliance","href":"/sf/omnibus-insight/gpsr-compliance"},{"title":"Integration with Shopify Flow","href":"/sf/omnibus-insight/sf-flow"}]},{"group":"AutoPost","pages":[{"title":"Getting started with AutoPost","sidebarTitle":"Overview","href":"/sf/autopost/overview"},{"title":"Connecting your social media accounts","href":"/sf/autopost/connect-account"},{"title":"AI agent","href":"/sf/autopost/ai-agent"},{"title":"Manual posts creation (individual)","href":"/sf/autopost/posts"},{"title":"Auto posting - set \u0026 forget","href":"/sf/autopost/auto-posting"},{"title":"Posting calendar","href":"/sf/autopost/calendar"},{"title":"Templates","href":"/sf/autopost/templates"},{"title":"Settings","href":"/sf/autopost/settings"}]},{"group":"WritePilot","pages":[{"title":"Getting started with WritePilot","sidebarTitle":"Overview","href":"/sf/writepilot/overview"},{"title":"Settings","href":"/sf/writepilot/settings"},{"title":"Products","href":"/sf/writepilot/products"},{"title":"Collections","href":"/sf/writepilot/collections"},{"title":"CMS pages","href":"/sf/writepilot/cms-pages"},{"title":"AI auto-generation","href":"/sf/writepilot/auto-generation"},{"title":"Blog posts and thumbnails","href":"/sf/writepilot/blog"},{"title":"SEO content audit","href":"/sf/writepilot/seo-content-audit"},{"title":"Custom prompts","href":"/sf/writepilot/custom-prompts"},{"title":"Restore content","href":"/sf/writepilot/restore"},{"title":"Pricing","href":"/sf/writepilot/pricing"}]},{"group":"FeedFusion","pages":[{"title":"Getting started with FeedFusion","sidebarTitle":"Overview","href":"/sf/feedfusion/overview"},{"title":"Settings","href":"/sf/feedfusion/settings"},{"title":"Google Shopping feed","href":"/sf/feedfusion/google"},{"title":"Facebook and Instagram feed","href":"/sf/feedfusion/meta"},{"title":"Amazon and eBay feeds","href":"/sf/feedfusion/amazon-ebay"},{"title":"Feeds from templates","href":"/sf/feedfusion/templates"},{"title":"Filters","href":"/sf/feedfusion/filters"},{"title":"Mapping","href":"/sf/feedfusion/mapping"},{"title":"Calculation fields","href":"/sf/feedfusion/calculation-fields"}]},{"group":"LitePix","root":{"title":"Overview","href":"/sf/litepix/index"},"pages":[{"title":"Sync your images","href":"/sf/litepix/sync-images"},{"title":"Settings","href":"/sf/litepix/settings"},{"title":"How to optimize images","href":"/sf/litepix/optimize"},{"title":"History","href":"/sf/litepix/history"},{"title":"Restore images","href":"/sf/litepix/restore-images"}]},{"group":"ShopAlert","pages":[{"title":"Overview","href":"/sf/shopalert/overview"},{"title":"Settings","href":"/sf/shopalert/settings"},{"title":"Alerts","href":"/sf/shopalert/alerts"}]}]}]},{"tab":"BigCommerce","pages":[{"title":"BigCommerce","href":"/bc"}]},{"tab":"Wix","pages":[{"title":"Wix","href":"/wx"}]},{"tab":"Ecwid","pages":[{"title":"Ecwid","href":"/ec"}]}]},"basePath":"","title":"Adding the lowest price block to non-product pages - Amasty Guides","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-B7jmggek.js","DynamicMarkdown-DHV3eOcf.js","zoom-image-lightbox-CK2spQ6G.js","lightbox-handle-r17bVUz3.js"]}