Home Forums WoodMart support forum The price is not displayed on the product page when there is only one variable.

The price is not displayed on the product page when there is only one variable.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #179279

    Taomon
    Participant

    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!

    #179284

    Hello,

    Please provide some relevant screenshots with the URL of the products to check it myself and help you out accordingly.

    Best Regards.

    #179293

    Taomon
    Participant

    Of course,

    I put it all in the private content area. 😉

    Attachments:
    You must be logged in to view attached files.
    #179428

    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.

    #179508

    Taomon
    Participant

    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. 😉

    #179514

    Taomon
    Participant

    error in copy / paste: spaces have been slipped into the password. The password is functional without spaces.

    #179532

    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.

    #179543

    Taomon
    Participant

    Great! It works!!!
    You really are the best!!!

    Good work and again a big thank you!

    #179544

    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.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘The price is not displayed on the product page when there is only one variable.’ is closed to new replies.