calingrim
Forum Replies Created
-
I have another instance where the profit shown is 3.96, the _alg_wc_cog_profit is 7.508 and the actual profit should be 3.6425.
For this case I changed the Cost and it updated the DB. Is there a way to tell the plugin to update the database or recalculate profit and update all 3 fields (_alg_wc_cog_profit, _alg_wc_cog_profit_percent and _alg_wc_cog_profit_margin) ?
LE: Seems the issue is with adding products and since the fields are only updated when the cost or price changes it stays wrong.
getting the same for common-modules
Yup, that fixed it.
Cheers!
Switched to Twenty Twenty-Four, disabled all plugins except Woocommerce & COGS, still having the same issue.
Didn’t have any errors in the logs, that was what was curious.
I’m using Woodmart theme, but it works fine with 3.4.2 (I reverted).
Also, maybe it helps, I’m using the classic cart and checkout page not blocks.
This is from a LocalWP installation:
[04-Jun-2024 18:42:18 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in F:\localwp\app\public\wp-includes\meta.php on line 1194
[04-Jun-2024 18:42:18 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in F:\localwp\app\public\wp-includes\class-wp-fatal-error-handler.php on line 76- This reply was modified 5 months, 3 weeks ago by calingrim.