Support » Plugin: Booster for WooCommerce » Cost of Goods buying price problem

  • Resolved jeomix


    Hi, first of all, please forgive my bad English, it’s not my native language.

    I’ve found an issue about the cost of goods buying price (the Product cost (purchase) price – on product page). Every time I input cost price with cents, for examples: $5.50 & $3.10, after I click on product update, the report below Product cost input area, the ‘buying’ column automatically delete the cents of the product cost: $5.50 became $5.00, $3.10 became $3.00. And because of this problem, the ‘profit’ column generate the wrong results.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the exact same problem, I have looked at the code, it’s because in function wc_get_product_purchase_price (includes/functions) they have tried to convert the purchase price, extra expenses (if applicable), other fees (if applicable) to integer first, then add everything up.

    if so purchase price is $5.1, expense is $1.2, other fees is $0.4 they will display $5 + 1 + $0 = $6 instead of $6.7

    I have already notified they support (request is 7915) hopefully they will fix it in the next version

    Hi @jeomix, @redjersey,

    I’ve checked the code and you are correct, I’ve added bug in previous version, sorry for that – it was wrongly rounding the “buying” price. Now I’ve made some changes to the plugin – please download the development version 3.2.4-dev here – You will need to uninstall the old plugin version first (don’t worry your saved settings won’t disappear). Please let me know if it’s ok now.

    If you are a Booster Plus user – please let me know your order number and I will send you the dev version for Plus. My email is

    Best regards,

    If you like Booster, please leave us a rating.

    Thread Starter jeomix


    Sorry for late reply. After install the dev version you gave, it fixed the problem, thank you very much 😀

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cost of Goods buying price problem’ is closed to new replies.