help with price coding

Topic summary

A user encountered a display issue where product pricing code was appearing as visible text on their Shopify store page instead of rendering properly. The screenshots showed raw HTML code (like <span class="money">$70.00 USD</span>) displaying on the product page.

Suggested Solutions:

  • Check Store Settings > Currency Display > Currency Formatting for invalid code containing <span class="money"> tags that should be removed
  • Inspect main-product.liquid or product.liquid theme files for corrupted price rendering code
  • Replace problematic markup with proper Liquid template code using {{ product.price | money }} format
  • Add conditional checks to ensure prices render dynamically

Resolution:
The issue appears to have been resolved by the original poster, though the specific fix applied wasn’t documented in the thread. Multiple support team members offered to assist via private messages if further help was needed.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

why hello everybody, i appear to be having this very weird issue within my code. it is quite honestly very unappealing to look at.

span.png

as you can see, weirdly enough code is showing where the price should be. i can’t seem to fix it.

the page is: https://shot-house.com/products/double-logo-tee?variant=41090351988779 if you want to view the code,

please help!

Hey @donniederanged1

It seems like there’s some invalid code added in your theme files, most likely in your main-product.liquid so try searching it there and if you still can’t find it then share your collaborator request code in private messages so I can help you out in removing it.

Best Regards,

Moeed

Hi @donniederanged1

Please go to your store admin > Settings > General > Store defaults, click ‘…’ next to ‘Currency display’ > Change currency formatting and check and remove if you added ${{amount}}, please remove ‘’ and ‘

Hello @donniederanged1 ,

1. Inspect the Product Template Code- In your Shopify admin, go to Online Store > Themes > Edit code for the Dawn 15 theme.

  • Open product-template.liquid or similar file handling product details.
  • Locate the area that renders the price, typically {{ product.price | money }} or {{ product.price | money_format }}.

2. Add a Check to Render Price Dynamically

Update the section with this dynamic code snippet, which ensures only formatted prices are shown:

remove this code
$70.00 USD

replace this

{% if product.price %}
  
    {{ product.price | money }}
  
{% else %}
  Price unavailable
{% endif %}

Thanks

Hi @donniederanged1

I hope you are well.

Please go to your theme > edit code then search for the code from my screenshot below in “main-product.liquid” file or “product.liquid” file. After you found it, please share with me the screenshot from your end then we can provide you with a suitble solution.

Looking forward to hearing from you soon. Thank you!

Best,

Daisy - Avada Support Team.

Hi @donniederanged1

We are so sorry for this delay in getting back to you. It seems you have already resolved it. https://prnt.sc/I6VgFq5V4acF

Please feel free to reach out if you need anything else. Thank you!

Best,

Daisy - Avada Support Team