The price is not displayed on the product page when there is only one variable.
-
Hello,
I noticed a small bug on the product sheets managing variable products.
When a product only exists with a single price, the price does not appear on the product sheet. On the other hand, if at least two product variables are configured, the prices appear correctly on the product sheet.
However, I have the latest versions of Woodmart and WordPress, but the problem persists.
Anyone have any idea where this little problem is coming from?
In advance thank you all!
Hello,
Please provide some relevant screenshots with the URL of the products to check it myself and help you out accordingly.
Best Regards.
Of course,
I put it all in the private content area. 😉
Attachments:
You must be
logged in to view attached files.
Hello,
I saw the screenshot you attached and visited the URLs you provided. Please deactivate all the third party plugins, activate parent theme, clear browser cache and check back.
If the problem continues then provide with admin panel login details of the website to check it myself and help you out accordingly.
Best Regards.
Hello,
I disabled third-party plugins, switched to the parent theme, but the problem persists. I even tested on different computers with different OS (Windows and MacOS), the bug is still there.
As agreed, I created an admin account for you > (Private content Aera).
I have voluntarily left disabled third-party plugins and the parent theme is also activated.
Thanks a lot for your help. 😉
error in copy / paste: spaces have been slipped into the password. The password is functional without spaces.
Hello,
Your issue has been resolved. I have added the following code inside your child-theme functions.php file and the variation price is showing for single variation as well.
add_filter('woocommerce_show_variation_price',function() { return TRUE;});
Please clear cache and check back.
Best Regards.
Great! It works!!!
You really are the best!!!
Good work and again a big thank you!
Most Welcome :-)
If you do not mind, can you please leave a 5 stars rating for our Theme & Customer and Technical Support by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in future. It would encourage our work a lot. If you like our Theme and Support.
Thanks for contacting us.
Have a great day :-)
Topic Closed.
Best Regards.
The topic ‘The price is not displayed on the product page when there is only one variable.’ is closed to new replies.