Public Ticket #3646278

roundoff

Closed
Comments
2,762
KingsPlugins replied 2 years ago on May 14, 2024 at 5:25pm

Hello Are,

This is a bit unclear and it would help if you can please share a few screenshots, of the product page, cart, backend product config, so we can get a clear understanding of what you are seeing. 


Generally speaking, you could try to add the following PHP code snippet to your site, as this changes B2BKing's internal rounding to 4 digits:

add_filter('b2bking_rounding_precision', function($val){
    return 4;
}, 10, 1);

This can be added to functions.php or any snippets plugins. Not sure if it can solve it or not though, as it depends a lot on the issue,


Kind regards,

Stefan

6 Tickets 4
are skurdal replied 2 years ago on May 15, 2024 at 8:07am

We use metakey for each customer / item - https://support.kingsplugins.com/ticket/3622007/

Frontend, "nettopris is customers price": https://app.screencast.com/tfgmHsYcfRBTI

Item backend, ordinary price works fine: https://app.screencast.com/vVsbTwnfnQhgQ

Customer price in database: https://app.screencast.com/R9dCtFkIbfozE

From cart - Also missing desimal: https://app.screencast.com/mXVHeFTicMVn8

We tried the code, but it did not work 

Sign In