Add a floating point number in the commission value.

WCMp Advanced Frontend Manager

Resolved
Viewing 13 reply threads
  • Author
    Posts
    • #137739
      kevajo
      Participant

      Hello
      We are unable to put a floating point number in the commission value.
      We want the administrator to earn 14.5299145299145% on the commission amount of the product.
      But when we configure this in the settings, the system brings us back to 14 instead of 14.5299145299145.

      Thank you for allowing us to add decimal numbers with 13 digits after the decimal point.

      Thank you this is urgent

    • #137782
      kevajo
      Participant

      Hello give me the update for the question

    • #137787

      @kevajo, when WCMp calculates commission we don’t allow decimal values for the commission.

      So if you want, you need to do custom code and apply your modification.

    • #137798
      kevajo
      Participant

      but if we have to take 7.5% of the commissions that is not possible.
      I think this must be a problem you need to solve, because all the smarketplace allow decimals in the commissions.
      Thank you for providing us with this personalized code.

    • #137826

      Hi, we have tested this on our dev end, as you can see commission is getting calculated for decimal value: https://www.loom.com/share/b5b902b8831f416ba807c555413809c8

      Now that you are facing the issue, please do create a staging site and share the admin, FTP access so we can check.
      While sharing the access, don’t forget to mark the response as private.

    • #137827
      kevajo
      Participant

      We have inserted the decimal commission ( 14.529914529915 ) but in practice your system always takes 15%.

      Here is the dispute that opposes with our sellers.
      A seller A who sells his product at $500 without our commission wants to have his $500.
      So we add 15% of the amount of the product to the product to put it on sale in order to recover its 15% after sale but after sale after the commission sharing we do not fall on the $500 to return it to the hunter.

      Seller price: $500
      selling price on our site: $500 + 15% of $500 = $575
      So after sale we want the seller to earn $500 for commission and the admin $75.

      But that does not fall, we would like to have the real commission calculation so that the seller earns his initial amount.

    • #137861

      @kevajo, let me explain the flow :
      WCMp calculates commission based on product price i.e. 500

      So, vendor commission will be (100-7.5)% of 500

      Now, have you added any custom code for this flow i.e. selling price on our site: $500 + 15% of $500 = $575
      Kindly confirm.

    • #137862
      kevajo
      Participant

      the price of the product is not $500 but $575.

      And we want the seller to receive $500 as commission and the admin $75.

    • #137868

      @kevajo, as shared earlier, when a vendor will set the product price, the customer will pay that price for the product.

      Therefore, If the vendor has set the product price as 500, the customer will pay that. Once the payment is complete, the commission will be calculated there admin will get 7.5% of 500

      Now that flow you need, where the customer will pay 500 + 7.5% of 500, requires a good amount of custom code.

    • #137869
      kevajo
      Participant

      You do not understand .
      The customer’s price is $575 but after the sale he wants to have a commission of $500 and the $75 for the admin
      We in our car the percentage is 15%

    • #137873

      Can you please explain how are you configuring this on our end i.e.

      Seller price: $500
      selling price on our site: $500 + 15% of $500 = $575
      So after sale, we want the seller to earn $500 for commission and the admin $75

      Some screenshots will be very much helpful.

    • #138093
      kevajo
      Participant

      We would like the percentage of commission indicated 14.529914529915 to be calculated exactly without rounding.

    • #138156

      Hi, as you can see the decimal value is calculating properly https://watch.screencastify.com/v/ThtC3TR18WIUfGqWnHcR

      Make sure you have set the decimal place as per our need via WooCommerce >> Settings

    • #144934

      Hi , we haven’t heard back from you for a while.
      So we presume this issue has been fixed. We are closing this for now.

Viewing 13 reply threads

The topic ‘Add a floating point number in the commission value.’ is closed to new replies.