Hi David,
Thank you for contacting WooCommerce Plugin Support. It’s great that you’ve provided the shortcode you’re using as well as the links to the pages. Based on what you’ve described, it seems like the issue might be related to the way the shortcode is interacting with your theme, OceanWP, or possibly a conflict with another plugin that affects the display of these elements. To start troubleshooting, I have a few questions:
- Have you recently updated the OceanWP theme or any plugins that might affect the product display?
- Are all your plugins, including WooCommerce and OceanWP, up to date?
- Have you tried disabling all other plugins except for WooCommerce to see if the issue persists? This can help identify if there’s a conflict with another plugin.
- Could you check if there are any JavaScript errors in the browser console when you visit the page with the issue? You can do this by right-clicking on the page, selecting ‘Inspect’, and then clicking on the ‘Console’ tab.
If you find that everything is up to date and there are no JavaScript errors, it might be worth exploring the Product Tables for WooCommerce, which offers more control over the display of products and might resolve the issue you’re experiencing.
Please let us know the answers to the above questions, and any other details you think might be relevant. Once we have a bit more information, we’ll be able to narrow down the cause and find a solution for you.
Looking forward to your response!
Thread Starter
coh2o
(@coh2o)
Hi Afzal,
I will answer your questions below:
1) yes but I have always had this problem since the first use of the shortcode;
2) yes, all plugins are updated;
3) even by deactivating all the plugins the problem persists;
4) no
If it helps you, the same problem occurs if I use this shortcode: [products limit=”5″ orderby=”date” order=”DESC” columns=”5″]
I look forward to hearing from you
Thank you
David
Hi David,
Thanks for getting back to us and for providing additional details. It’s helpful to know that the issue has been ongoing since the first use of the shortcode and that it persists even when other plugins are deactivated. Since the problem occurs with different shortcodes and isn’t resolved by plugin updates or deactivation, we can rule out a plugin conflict. The absence of JavaScript errors also suggests that the issue is not due to a script on the page. Given this information, the next steps I recommend are:
- Shortcode Attributes: Double-check the shortcode attributes to ensure they are correct. For example, the quotation marks used in the shortcode should be straight quotes (” “) rather than curly quotes (“ ”). Incorrect quotation marks can sometimes cause shortcodes to behave unexpectedly.
- Contact Theme Support: It may be worth reaching out to the OceanWP support team for assistance, as they may have insights specific to their theme.
- Custom Code: If the issue still isn’t resolved, it might be necessary to use custom code to add the missing elements.
Please note that writing or providing custom code is not within the scope of our support policy. For development and custom coding questions, it’s best to ask for insight related to those on either the WooCommerce Advanced Facebook group or the WooCommerce Community Slack. You can also seek help from the following:
I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.