Shopify themes, liquid, logos, and UX
Hello,
We’re experiencing a frustrating issue on our Shopify store, and I’m hoping someone can help!
Our hats are set to a discounted Black Friday price ($29.75), but on mobile, they initially display as $35 and are on sale for $29.75. However they are now displayed as $50 (which was never the price of the hat) on the homepage and discounted to $35. Once the page is refreshed, the correct price appears. This problem only seems to happen on mobile and specifically on the homepage.
I’ve already cleared the website cache as part of troubleshooting, but it hasn’t resolved the issue. I’ve been working on this for the past 24 hours without success.
Has anyone else encountered a similar glitch or have suggestions for fixing this? Any help would be hugely appreciated as I am worried it is affecting my conversion rate at the moment.
Hi @BrookeGentile ,
It sounds like you're dealing with a caching issue or a front-end rendering issue on your Shopify store, specifically affecting mobile devices and the homepage. Since you've already cleared the website cache, there are a few other possible causes and fixes to explore. Let's go through some troubleshooting steps to help resolve this:
Even after clearing the cache, certain caching mechanisms in the theme or on Shopify's servers could still be serving outdated data. Some Shopify themes may have custom caching solutions that could cause this issue.
If you've customized the pricing or discount logic (e.g., using custom scripts or a discount app), there could be a bug in the code that’s causing the price to display incorrectly on mobile before refreshing. It's possible that the JavaScript responsible for rendering the price is not fully executed on the initial page load for mobile devices.
Shopify uses a Content Delivery Network (CDN) to serve assets and data, and sometimes this can result in outdated versions of pages or images being shown.
Some themes may use JavaScript to dynamically load prices based on conditions such as sale pricing, and these conditions might not be properly triggering on the first page load for mobile users.
If you are using a third-party discount app or Shopify Scripts for pricing, there could be an issue with how they are interacting with your homepage layout, especially on mobile.
On mobile devices, the page might be loading content (like the price) asynchronously, especially with lazy loading (to speed up page load times). This could cause the incorrect price to display initially, before the correct price is updated once the page finishes loading.
The issue might be specific to the homepage where the products are listed. It's possible that there is a separate block or snippet for displaying products on the homepage, which might be using outdated pricing data.
Mobile versions of Shopify stores sometimes use separate CSS or JavaScript files, which could be causing issues with price rendering specifically on mobile devices.
If none of the above steps resolve the issue, you might want to test with a fresh copy of your theme or try a default Shopify theme (like Debut or Dawn) to see if the problem persists.
Got it! If you found my suggestions helpful, please consider liking or marking it as a solution.
Your feedback is appreciated! If you have any more questions or need further assistance, just let me know.
Thanks & Regards
Akshay Bhatt
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024