items are showing out of stock on shopify, but there are plenty and they are not out of stock. they show in stock on the drop ship aliexpress site. can’t figure it out. when i switch themes i don’t have the problem
Hey @chichomebeautiq ,
If your Shopify items are showing as out of stock despite having inventory, and the issue disappears when switching themes, it’s likely due to a theme-specific customization or setting. Here are a few troubleshooting steps you can try:
-
Check Inventory Settings: Go to Products in your Shopify admin and confirm that the products are set to track inventory and show as “In Stock.”
-
Theme Customization Code: A code or script in your theme could be interfering with the inventory display. Some themes have custom logic for inventory, especially if integrated with dropshipping apps or plugins. Try to look in the product-template.liquid or product.liquid files for any code that may alter stock display.
-
Check for Apps or integrations: If you have any apps installed that manage inventory (like a dropshipping or inventory management app), check if they’re compatible with your theme. Some apps may require additional setup for certain themes.
-
Reinstall the themeor update:If the theme was custom-coded or modified, reinstalling it may help. You can also check if an updated version of the theme is available.
-
Clear Cache and Brower: Sometimes, cache issues can show outdated inventory statuses. Clear your browser cache and try again, or view the site in incognito mode.
-
Check for Errors in Console: In your browser, open the Developer Console (right-click and select Inspect > Console) while viewing a product page to see if any JavaScript errors are present that could affect inventory status.
If these steps don’t resolve the issue, your theme may have specific code affecting stock display. Let me know if you’d like help looking into the theme’s code for possible culprits!
If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!
Best Regard,
Rajat Sharma
Since the issue is not present when you switch themes, it could be an issue in your current theme’s code. Check if there are any customizations or apps in your active theme that might be affecting stock visibility, especially related to product availability or inventory checks.
It’s in all themes. I tried switching.