π― 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
Thank you!