If you're experiencing issues with prices not displaying correctly on your WooCommerce store despite using the Hide Prices for WooCommerce plugin, this troubleshooting guide will help you identify and resolve common problems.
Common Issues
Here are some of the most common issues users face:
- Prices not hidden for specific user roles: You may have configured the plugin to hide prices for certain roles, but they are still visible.
- Add to Cart button remains visible: Even with the settings adjusted, the button might still appear for guests or specific roles.
- Custom text not displaying: The 'Login to See Price' message may not appear as expected.
- Redirects not functioning: Users may not be redirected to the login page as configured.
Solutions
1. Check User Role Settings
Ensure you have correctly set the user roles for which you want to hide prices:
- Navigate to the plugin settings in your WooCommerce dashboard.
- Review the user role settings to confirm that the appropriate roles are selected.
- Save the changes and test the visibility for those roles.
2. Configure the Add to Cart Button Visibility
If the Add to Cart button is still appearing, check the following:
- Go to the plugin settings.
- Ensure the option to hide the Add to Cart button for guests and specific roles is enabled.
- Clear your browser cache and refresh the page to see the changes.
3. Verify Custom Text Settings
If the custom text like 'Login to See Price' is not showing:
- Access the plugin settings page.
- Check the custom text field for any missing or incorrect entries.
- Make sure the changes are saved before testing your storefront again.
4. Test Redirects for Login Actions
To troubleshoot redirect issues:
- Review the redirect settings in the plugin.
- Ensure the redirect URL is correctly entered and accessible.
- Test the login process to confirm users are directed to the intended page.
Additional Tips
If you've followed the steps above and are still encountering issues:
- Check for conflicts with other plugins or themes by temporarily disabling them.
- Ensure WooCommerce is updated to version 5.0 or higher, as compatibility is crucial for the plugin's functionality.
- Contact the plugin support team for assistance if necessary.
By following this troubleshooting guide, you should be able to resolve common price visibility issues with the Hide Prices for WooCommerce plugin effectively.
