MultivendorX Pro
-
AuthorPosts
-
-
June 15, 2023 at 12:14 PM #193436ChrisParticipant
Hi support,
I’m trying to increase the commission fee for products from a certain category. Let say if the product_cat that I wanted to modify are Subcategory A and Subcategory B with the amount modified as shown after this post. May I know which kind of action hooks are available for this? And can you please guide me on this please? Thanks
-
June 15, 2023 at 12:22 PM #193437ChrisParticipantThis reply has been marked as private.
-
June 16, 2023 at 6:05 PM #193500Sangita Support SquadKeymaster
@Chris
With MultiVendorX you can set commission on categories . Now kindly let us know if you want to calculate commission on subcategories . Also please let us know what flow you are trying to achieve through this code . It will be great if you can explain the flow to us with a mathematical calculation so that we can help you accordingly . -
June 18, 2023 at 12:27 AM #193548ChrisParticipantThis reply has been marked as private.
-
June 18, 2023 at 12:32 AM #193549ChrisParticipantThis reply has been marked as private.
-
June 20, 2023 at 5:53 PM #193628Sangita Support SquadKeymaster
Hello Chris, Thanks for explaining the flow.
But checking third party code thorough code that we haven’t worked with and providing the correct code is beyond our support.
I am requesting you to check the files(https://github.com/multivendorx/MultiVendorX/blob/main/classes/class-mvx-calculate-commission.php)on how we have calculated product/vendor/category wise commission . Following these you will have to calculate commission for subcategory.
https://github.com/multivendorx/MultiVendorX/blob/main/classes/class-mvx-calculate-commission.php
I can also suggest you to hire our custom team https://multivendorx.com/custom-development/ to help you with the further coding process. -
June 20, 2023 at 8:44 PM #193639ChrisParticipant
Ok….
Seems like we’ve to edit the original file for this. Your plugin doesn’t have any hooks or filters that will allow us to fire on the category commission calculation right? -
June 21, 2023 at 1:15 PM #193659Sangita Support SquadKeymaster
@Chris We calculate commission on categories. The flow is given on the doc shared with you.
You can follow the file we have shared earlier to implement the commission calculation flow for subcategory.
I can also suggest you to hire our custom team https://multivendorx.com/custom-development/ to help you with the further coding process. -
August 26, 2023 at 2:10 PM #195556Sangita Support SquadKeymaster
Its been a while and we have not heard back from you. We presume your issue is solved now. We are closing this thread. If you need help or face issue in future please open a new thread.
-
-
AuthorPosts
The topic ‘Helps to Complete My Commission Fees Custom Code’ is closed to new replies.