Commission By Vendor Sales

This topic contains 20 replies, has 2 voices, and was last updated by Avatar AK 2 months ago.

  • Author
    Posts
  • #81208
    Avatar
    AK
    Participant

    Hi,

    I have a membership plan where commission is set as : “By Vendor Sales”

    Can you kindly confirm if the rule will re-set after plan period?

    Eg: If upto $1000 the commission is 10%, and plan period is 30 days,

    will after 30 days, the $1000 count will become zero?

    Thank you for clarifying the expected behaviour. We want it to be reset at end of plan term.

    Additionally, if plan is set to never expire. When will the counter reset (total sale) ? This setting has no meaning unless there is a time frame since every vendor will cross the threshold someday 😉

    Cheers,

    Ak

  • #81215
    Avatar
    AK
    Participant

    We did some forum hunting and found that most people in the forum are requesting for the re-set feature we just posted about.

    Think from a business point of view: If seller has high commission for low sales, he will put more effort to sell more to reach next lower commission slab? Without your reset setting, they will work to cross the slab only once in their lifetime and then be lazy (costing us bandwidth/space/server costs etc from dormant account).

    On behalf of all your user base, commission by vendor sales without reset time definition is not possible to use meaningfully from a business point of view as explained above. Only very specific business models can use this setting meaningfully without worrying about reset.

    Can you kindly let us know how to achieve the time frame reset ?

    Thanks and cheers,

    Ak

  • #82275
    WCFM Forum
    WCFM Forum
    Keymaster

    Hi,

    Eg: If upto $1000 the commission is 10%, and plan period is 30 days,

    will after 30 days, the $1000 count will become zero?

    – By default it consider vendor’s lifetime sales.

    But possible to change this using filter, like last month, last year etc …

    Please know me what you want to use, I will give you filter accordingly.

    Thank You

  • #82643
    Avatar
    AK
    Participant
    This reply has been marked as private.
  • #83826
    Avatar
    AK
    Participant

    Hi,

    Do you have an update about this?

    Thanks and best regards,

    AK

  • #83986
    WCFM Forum
    WCFM Forum
    Keymaster

    HI,

    First $1000 – 30%
    Next $1000- 10%
    More than $2000 – 8%

    – Don’t you able to setup such commission setting by “Vendor’s Sales” option ?

    Thank You

  • #84010
    Avatar
    AK
    Participant

    Yes..the issue was the time frame reset. Meaning, I want the rules to re-set every 30 days. You said “But possible to change this using filter, like last month, last year etc …

    Please know me what you want to use, I will give you filter accordingly.”

    If you can give, I can launch next week 🙂

    Kindly read the post from the beginning to find our conversation.

    Thanks a lot.

    Best Regards,
    AK

  • #84439
    WCFM Forum
    WCFM Forum
    Keymaster

    HI,

    Add this code to your site to make this work as per “last months” gross sales –

    add_filter( 'wcfmmp_commission_vendor_gross_sales_duration', function( $vendor_gross_sales_duration, $vendor_id, $vendor_commission_sales_rules ) {
    	$vendor_gross_sales_duration = 'last_month';
    	return $vendor_gross_sales_duration;
    }, 50, 3 );

    Thank You

  • #88757
    Avatar
    AK
    Participant

    Hi,

    Sorry I was away on work.

    Can you kindly let me know how to test the above code without waiting for 30 days? Should I run any schedule task?

    Only after testing I can confirm if the codes you gave works as intended. I am quite sure it will from my past experience with your codes 😉

    Thank you

  • #90273
    Avatar
    AK
    Participant

    Hi…any update about how to test your code without waiting for 30 days? I cannot commit in production without a test and nor can I tell vendors about the commission unless I am sure the code delivers.

    Thank you.

  • #90570
    Avatar
    AK
    Participant

    Hi,

    The code you have is not working. I setup a structure like this:

    1. upto €100 commission: 70% (Vendor gets)

    2. Upto €200 commission : 80% (vendor gets)

    3. More than €200 commission: 90% ( vendor gets).

    When I passed test orders, the commission calculation is only taking into account the first rule when your code is active. When I dis-activate your code, the other 2 rules are working as expected.

    Can you kindly modify the code such that it takes into account the other 2 rules? I will change the commission and €€ limits.

    Please let me know how to test if the limit is re-setting after 30 days (the real purpose of the code you gave).

    Thank you and have a nice day ahead.

    Best Regards,

    Ak

  • #90894
    Avatar
    AK
    Participant

    The code not working is this:

    add_filter( 'wcfmmp_commission_vendor_gross_sales_duration', function( $vendor_gross_sales_duration, $vendor_id, $vendor_commission_sales_rules ) {
    	$vendor_gross_sales_duration = 'last_month';
    	return $vendor_gross_sales_duration;
    }, 50, 3 );
  • #91035
    Avatar
    AK
    Participant

    Dear Team WCFM,

    I am founder and am writing to you urgently since I have only 2 urgent issue (This ticket and 1 email) which are not being replied to and this is causing massive business delays and losses.

    Can you kindly take 5 mins to check this ticket and help resolve. I had to ask 5 willing vendors to wait for joining since this ticket and my email remain un-answered. We have Christmas sales coming up (Main money maker of the year).My site is sitting dry waiting for your help.

    Have a nice day ahead. Btw, my email is regarding buying your affiliate plugin if it satisfies 1 requirement.

    Many thanks for your help so far which has lead to product improvements for everyone here and contributed to making your plugin a strong product.

    Best Regards,
    AK, founder

  • #92433
    Avatar
    AK
    Participant

    ?? Did you manage to fix the custom code? My vendors are waiting to join but without this code I cannot allow them to join. Guys it is Christmas sales time and 5 vendors wanting to join is a huge lot of potential lost sales.

    Kindly find 5 mins to have a look?

    Thanks,

  • #93523
    WCFM Forum
    WCFM Forum
    Keymaster

    HI,

    add_filter( 'wcfmmp_commission_vendor_gross_sales_duration', function( $vendor_gross_sales_duration, $vendor_id, $vendor_commission_sales_rules ) {
    	$vendor_gross_sales_duration = 'last_month';
    	return $vendor_gross_sales_duration;
    }, 50, 3 );

    We have checked and this code is perfectly OK. What is your WCFM Marketplace plugin’s version?

    Be sure you are using latest version – 3.2.6

    Thank You

  • #95697
    Avatar
    AK
    Participant
    This reply has been marked as private.
  • #96397
    WCFM Forum
    WCFM Forum
    Keymaster

    OK, we are testing this in your staging site.

  • #96580
    Avatar
    AK
    Participant

    Thank you. You have full rights to update anything and everything. If you want a staging with updated paid plugins, kindly let me know and I will re-create a new staging for you where 100% of everything paid + free is updated.

    Waiting to hear back your results. Have a nice day ahead.

  • #96726
    WCFM Forum
    WCFM Forum
    Keymaster

    Sure, will know you.

    Our team already debugging this.

  • #97427
    Avatar
    AK
    Participant

    Hi Guys 🙂

    Hope you had a good week. Any luck so far with debugging ?

    Thank you

  • #98754
    Avatar
    AK
    Participant

    Guys? Christmas here already 🙁

You must be logged in to reply to this topic.