• Resolved qwack

    (@qwack)


    Hello,

    I have a problem on a site, the price is not displayed, normal price and special price. To be able to display both prices, I have to clear the cache.

    Here is a video that explains the problem : https://webhost2000.com/video/2023-04-05.mp4

    On the left, I am logged in with a customer account that benefits from special prices, we can see that the price is not visible when selecting the variants.

    On the right, I am logged in with an admin account in a private browser and clear the cache.

    After, on the left, I refresh the page with the F5 key, we can now see that the price is displayed with the normal price and the partner price.

    Is it a bug ?

    The whole site, theme and extensions are updated correctly.

    Thank you for you precious help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WebWizards

    (@webwizardsdev)

    Hi there,

    Thank you for the easy to understand video, appreciate it.

    I think you can solve the problem by adding this PHP code snippet to your site:

    add_filter(‘b2bking_display_both_cache_disable’,’__return_false’);

    It can be added to functions.php or to any code snippets plugin. It would not have any effects on site performance.

    Please check and let me know if that does it.

    Thread Starter qwack

    (@qwack)

    Hi WebWizards,

    Thank you very much for your help.

    However, I did put the code in the functions.php file (I’m fairly good at WordPress), but it still doesn’t work.

    On the other hand, if I empty the “Cache & Performance” via B2BKing – Tools, as shown in the video, it works.

    https://prnt.sc/L4sjX_GLeB0g

    An other idea ?

    Thanks.

    PS 1 :

    I want to clarify that I have also just tested with the cache plugin deactivation, but it still does not work.

    PS 2 :

    For WooCommerce, I disabled this plugin, and it works fine. The plugin in question is : https://www.ads-software.com/plugins/woo-variation-swatches/

    Is it possible to do something to make it work well with this plugin please ?

    PS 3 :

    https://prnt.sc/yyIE2OFnMd97 – Without clearing the cache

    https://prnt.sc/qn97l_4M-jw6 – As soon as I clear the cache “Cache & Performance” via B2BKing and refresh the page F5

    I think there must be a problem here…

    • This reply was modified 1 year, 7 months ago by qwack.
    • This reply was modified 1 year, 7 months ago by qwack.
    • This reply was modified 1 year, 7 months ago by qwack.
    Plugin Author WebWizards

    (@webwizardsdev)

    I am not sure what causes it but our team can check it directly if you’d like.

    For that, can you please open a ticket with us at https://webwizards.ticksy.com/ and provide us with a backend site or staging site access so we can check ? – I ask since I understand you are using our Pro plugin as well.

    If your support expired, it’s fine, you can open it in the “pre-sales” categories.

    Thread Starter qwack

    (@qwack)

    Good morning,

    Great, thanks, I’ll open a ticket.

    You are a great and responsive team.

    Thanks.

    Thread Starter qwack

    (@qwack)

    Many thanks to the B2BKing team for solving my problem. Professional and responsive support.

    Solution :

    add_filter(‘b2bking_display_both_cache_disable’,’__return_true’);

    Plugin Author WebWizards

    (@webwizardsdev)

    Glad to hear that’s working : ) If there’s anything else we can help with, please let us know.

    Also, if you have a minute, I would really appreciate it if you considered leaving a quick rating: https://www.ads-software.com/plugins/b2bking-wholesale-for-woocommerce/#reviews – it’s a huge help to us!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The normal price and the special price are not displayed correctly’ is closed to new replies.