• Resolved andyt1980

    (@andyt1980)


    Hi,

    We are experiencing a strange bug where there is definitely a price entered in the back-end but its shows as £0.00 on the front-end.

    Things I’ve tried so far which have had no effect:
    – cleared server/site cache
    – disabled all other plugins except for Woocommerce and switched to Twenty Twenty Four theme.

    If I make a change to the price and press update it does then display correctly on the front-end. However, there are potentially 100s of random products that have this issue so updating each one manually is not feasible.
    Unfortunately due to the size of the website we don’t have enough server diskspace to create a staging copy of the site.
    Is there any way I can share the URL and login details privately?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there, @andyt1980! Thanks for contacting us. I’m happy to help you.

    While we can’t accept login credentials, we can definatly help you troubleshoot this here.

    I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter andyt1980

    (@andyt1980)

    Hi,
    Thanks for this, I don’t have a github account so have pasted the logs here:
    Status Report: https://smalldev.tools/share-bin/Vm1CSKK3
    There were just 4 fatal errors relating to Elementor but none in the last 2 weeks: https://smalldev.tools/share-bin/cfsovWhR

    Just wanted to mention again that I’ve already tried disabling all other plugins and switching to a default theme.

    Thanks for your assistance.

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hey there ??

    Just wanted to mention again that I’ve already tried disabling all other plugins and switching to a default theme.

    Gotcha – thanks for clarifying!

    It seems like this is happening on random products, correct? Are there any similarities with the products experiencing this issue, such as same product type, same category, products on sale etc.?

    Also, do you recall any updates/changes made to the site or products before this issue first popped up?

    WC Version: 8.0.2

    in the meantime, checking your SSR, I am able to see that your site is currently using an outdated version of WooCommerce core.

    Can you see if updating WooCommerce to its latest available version resolves the issue?

    Cheers!

    Thread Starter andyt1980

    (@andyt1980)

    Hi,
    The problem occurs mostly on product that we import via a custom cron plugin. This is run weekly to import new products and update prices/stock from the suppliers data. The plugin use the following code to update the price:
    update_post_meta( $product_id, '_regular_price', (float)$row[ NPC_PRICE_RRP ] );

    Originally we were using the _price meta field to update the price but we found that using that was somehow stopping sale products from being displayed. However, as mentioned, the product prices are being updated in the back-end but not showing on the front-end. I cannot be sure if its ONLY the products which have been imported that have the issue as there are over 40 thousand products on the site.
    I’ve updated Woocommerce to the latest version 8.6.1? and the issue persists.

    Any further assistance would be much appreciated.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hello @andyt1980,

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the?WooCommerce Facebook group?or the?#developers?channel of the?WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Front-End Display Issues’ is closed to new replies.