Articles on: Currency Converter

🎯 How to Set Up Custom Pricing Selector

Not all Shopify themes use standard price selectors. Some themes display prices using custom HTML structures, which can prevent automatic currency conversion from working correctly.


That’s where Custom Pricing Selectors come in.


By adding the correct price selector, you can tell Hoppy Currency Converter exactly where prices are located on your storefront so they can be converted properly across product pages, collections, cart drawers, and other custom sections. πŸ’±



⚠️ Before You Begin


Before setting up a Custom Pricing Selector:


  • Make sure the price is visible on your storefront
  • Make sure you can inspect page elements using your browser
  • Identify the specific price that is not converting correctly


If you're unsure which selector to use, our support team can help identify it for you.



πŸ› οΈ Step 1 β€” Open Hoppy Currency Converter


Open the Hoppy Currency Converter app from your Shopify Admin.



βš™οΈ Step 2 β€” Open Advanced Settings


From the left-side navigation menu:


β†’ Click Advanced


This section contains additional settings used for theme compatibility and advanced storefront configurations.



🎯 Step 3 β€” Locate Custom Price Selectors


Inside the Advanced section:


β†’ Find the Custom Price Selectors field


This is where you'll add the selector used to identify price elements on your storefront.



🌐 Step 4 β€” Open the Storefront Page


Navigate to the page where the price appears.


Examples include:


  • Product Pages
  • Collection Pages
  • Featured Product Sections
  • Cart Drawers
  • Cart Pages


Open the exact page where prices are not converting correctly.



πŸ” Step 5 β€” Inspect the Price Element


Locate the price on your storefront.


Then:


β†’ Right-click the price


β†’ Select Inspect


This opens your browser's Developer Tools and highlights the HTML element responsible for displaying that price.



πŸ“‹ Step 6 β€” Identify the Correct Selector


Look for either a:


Class Selector


Example:


class="price-item"


Use:


.price-item



ID Selector


Example:


id="product-price"


Use:


\#product-price


⚠️ Important:


  • Class selectors must start with a dot (.)
  • ID selectors must start with a hash (\#)


Using the wrong format may prevent the converter from detecting prices correctly.



βž• Step 7 β€” Add the Selector


Return to:


β†’ Advanced β†’ Custom Price Selectors


Paste your selector into the field.


Multiple Selectors


If prices appear in multiple locations, you can add more than one selector.


Separate each selector with a comma.


Example


.product__price, .price-item .money, \#product-price


This allows the app to detect prices across multiple storefront sections.



πŸ’Ύ Step 8 β€” Save Your Changes


Once the selector has been added:


β†’ Click Save


The Currency Converter will now begin monitoring the specified price elements.



πŸ§ͺ Step 9 β€” Test the Conversion


After saving:


β†’ Refresh your storefront


For best results:


  • Use an Incognito / Private browser window
  • Clear browser cache if necessary
  • Switch between currencies and verify that prices update correctly


Check all storefront areas where the selector was added.



πŸ†˜ Need Help Finding the Correct Selector?


Some Shopify themes use heavily customized structures that make selectors harder to identify.


If you're unsure which selector should be used:


β†’ Contact our support team


Include:


  • Store URL
  • Page URL where the issue occurs
  • Screenshot of the price section


We'll be happy to help identify the correct selector for your theme. 🀝



πŸŽ‰ Final Result


Once configured successfully:


βœ… Prices convert correctly across your storefront


βœ… Custom theme price elements become detectable


βœ… Product, collection, and cart prices stay synchronized


βœ… Currency conversion becomes more accurate and reliable


βœ… Customers see consistent pricing across all supported currencies πŸ’±


Updated on: 03/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!