WordPress Links on Products pages are not working
-
Hello,
I recently updated to WooCommerce Version 2.6.4 and now in WordPress multiple links on the Product pages are not working.
When I am on a Product page the Product Data (General, Inventory, Shipping, etc) links do not click to the corresponding options. Upon clicking the options, the URL refreshes but the options to enter the product data do not appear. In addition, the option to add images to the Product Gallery is not working. Upon clicking the ‘Add product gallery images’ the page refreshes to the top of the page and does not allow images to be attached.
Please let me know if there are any solutions or if this is a bug?
Thanks,
Bennett
-
Hi there,
Have you tried saving your permalinks again? To do this, go to Settings >> Permalinks then Save. Here’s a quick tutorial on Flushing Permalinks:
https://typerocket.com/flushing-permalinks-in-wordpress/
If this doesn’t do the trick, please work through the TroubleShooting Guide here:
https://docs.woocommerce.com/document/woocommerce-self-service-guide/
Hi Linda,
Thanks for the suggestions, although I tried to adjust the permalinks, on the site level and on the product level, and neither of them allowed me to adjust the items on the Product page.
All System Status are up to date, although the Sever Environment recommends PHP Version 5.6 and MySQL Version 5.6, could this be related to why the Product page links are not working?
Thanks again,
BennettHi Bennett,
Whether this is the issue or not, I’d strongly suggest you make sure your PHP and MySQL is at least up to the minimum requirement.
I’m not sure what you mean ‘adjust the permalinks’? Did you go to Settings >> Permalinks and click Save?
Let me know how you make out updating PHP and MySQL.
What versions are you currently on? Please post your system status report: https://www.ads-software.com/support/topic/before-posting-gather-the-following-details
It sounds like you have a conflict with another plugin or your theme though on the site. Try temporarily switching back to the WordPress Twenty Sixteen Theme, or Storefront, and disable all plugins except for WooCommerce. If that resolves the issue, then slowly re-enable features until you find the one that’s causing the conflict.
Hi Linda and Caleb,
Thanks again for the tips.
Linda:
While I was in the Permalinks Settings I tried to adjusting/changing the various settings to see if the Site level Permlinks were conflicting with the Product Premalinks. However after saving multiple combinations it did not fix the ability to adjust the Product page settings. Thanks for you suggestions about updating PHP and MySQL, I was suggested by a friend to contact the hosting company, so I will call GoDaddy for support.Caleb:
I am on WooCommerce Version 2.6.4, WordPress Version 4.5.3 and the theme I am using is Esteem Pro (I purchased from themegrill.com/themes/, because it is supposed to be compatible with WooCommerce). Below is the system status report and here is the link to the website, https://www.leahloveshomes.com/.I had to temporally deactivate the Shop section of the site because the client was upset. So the WooCommerce section is only in draft mode till I can resolve adding settings (General, Inventory, Shipping, etc) on the Product pages.
I know you suggested to switch back to the WordPress Twenty Sixteen Theme, but I am a little concerned as the client may get even more upset with losing data and custom work prior to me helping with the WooCommerce section. Would you suggest if I deactivate/remove WooCommerce then reinstall it, do you suggest that? I am still at the early stages of the storefront so I would rather lose this work than risking other custom website work I did not do.
Thanks again for the help, I really appreciate it. Please let me know you see any thing and/or have any other suggestions.
Bennett
### WordPress Environment ### Home URL: https://www.leahloveshomes.com Site URL: https://www.leahloveshomes.com WC Version: 2.6.4 Log Directory Writable: ? WP Version: 4.5.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en ### Server Environment ### Server Info: Apache PHP Version: ? 5.4.45 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version PHP Post Max Size: 48 MB PHP Time Limit: 0 PHP Max Input Vars: 1000 cURL Version: 7.38.0 OpenSSL/1.0.1e SUHOSIN Installed: – MySQL Version: ? 5.5.45 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 2.6.4 : woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? woocommerce_shipping_zones: ? woocommerce_shipping_zone_locations: ? woocommerce_shipping_zone_methods: ? woocommerce_payment_tokens: ? woocommerce_payment_tokenmeta: ? ### Active Plugins (16) ### Akismet: by Automattic – 3.1.11 All In One SEO Pack: by Michael Torbert – 2.3.4.2 amr shortcode any widget: by anmari – 3.3 Easy Testimonials: by Gold Plugins – 1.35.6 Google Analytics Dashboard for WP: by Alin Marcu – 4.9.3.1 IMPress for IDX Broker: by IDX Broker – 2.1.2 Limit Login Attempts: by Johan Eenfeldt – 1.7.1 Limit Login Attempts: by Johan Eenfeldt – 1.7.1 Maintenance: by fruitfulcode – 3.0 PopupAlly: by Nathalie Lussier Media Inc. – 1.5.2 Posts in Page: by IvyCat Web Services – 1.2.4 Go Daddy Quick Setup: by GoDaddy.com LLC – 1.04 WooCommerce: by WooThemes – 2.6.4 WordPress Importer: by wordpressdotorg – 0.6.1 IMPress Listings: by Agent Evolution – 2.1.1 WP Super Cache: by Automattic – 1.4.8 ### Settings ### Force SSL: ? Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ? ### WC Pages ### Shop Base: #6714 - /shop/ Cart: #6715 - /cart/ Checkout: #6716 - /checkout/ My Account: #6717 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Esteem Pro Version: 2.0.2 Author URL: https://themegrill.com Child Theme: ? – If you're modifying WooCommerce on a parent theme you didn't build personally then we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: –
When temporarily switching to another theme, you shouldn’t lose any theme settings/options on the original theme. Everything should be just the way it was when you switch back. To be safe though, you can always make a site/database backup before doing so. Or you could replicate the site and try the debugging on a staging server.
You could re-install WooCommerce, though I don’t believe that is the problem here.
On the admin product page, could you try opening up the Chrome console to see if there are any javascript errors? https://developers.google.com/web/tools/chrome-devtools/debug/console/console-ui?hl=en#opening-the-console. I have a feeling either the theme or another plugin is causing a js issue.
Hi Caleb,
While on the Edit Product Page and in the Google Dev Tools Console tab, the first notification is “JQMIGRATE: Migrate is installed, version 1.4.1”. Followed by the error “Uncaught Error: No select2/compat/initSelection” while on that page. Then upon clicking one of the Product Data tabs (General) on the Product Page, the error “Uncaught TypeError: Cannot read property ‘hasClass’ of undefined” occurs. Below is a screen shot of the Console Dashboard I am seeing.
https://prnt.sc/c3prbgSorry but this passes my knowledge of debugging, is there any thing obvious you see that I can attempt to adjust?
I have a client meeting later this week, so I will hopefully find out which which plug-ins are no longer needed then remove/deactivate. If that does not help, I will cautiously proceed with switching back to the WordPress Twenty Sixteen Theme and reactivating the plug-ins one by one.
Once again, thanks for the tips.
Best,
BennettThere is definitely a theme or plugin conflict occurring. You’ll need to find out which by disabling things.
- The topic ‘WordPress Links on Products pages are not working’ is closed to new replies.