請問各位大大,osaffiliate經銷商模組如何做成二級經銷商?

edited 十月 2013 in 電子商務
我看後台有經銷商層級,不過我不曉得如何設定,這是不是指說可以透過一級經銷商加入經銷商,而後二級經銷商每賣出一樣商品,一級經銷商也有利潤可以透成!

這有點類似傳銷,不過我想知道如何製作成二層就可以了,例如:100元的東西,一級直接賣出抽30%,二級直級賣出也抽30%,但是透過二級賣出的所有商品,一級都可以加抽10%的獎金,因為他推薦二級經銷商加入。

希望各位有用過經銷商osaffiliate模組的大大們,可以替我解答這個問題!

原始討論: http://twpug.net/x/modules/newbb/viewtopic.php?topic_id=1336

評論

  • edited 四月 2006
    Note on how to set up 2 tier program correctly with osCAffiliate v2.5a - 8/5/2005

    I was advised to set my affiliate program up with 2 tier since that is what the
    larger affiliate directories require. The 1 tier program was working well for me
    but I had not tested the 2 tier feature. I had to make one adjustment to get it
    to work correctly.

    I set up my configuration in the Admin section as follows:

    Use Affiliate-tier true
    Number of Tierlevels 2
    Percentage Rate for the Tierlevels 10.00;2.00

    Then I had to make one change in catalog/includes/affiliate_checkout_process.php

    Find this code around line 56:

    $affiliate_tier_percentage = split("[;]" , AFFILIATE_TIER_PERCENTAGE);
    $i=0;

    Change the $i=0 to:

    $i=1

    That is it! With $i=0, the script picks up the first commission of 10% which is
    already calculated in the first section of the code. Now we want it to pick up
    the 2nd commission of 2% or whatever you set it at.

    This is working for me. No guarantees of course, test it and make sure it works
    correctly for you.




    我照著修改之後可以正常使用二級經銷,我的版本是osCAffiliate v2.5a
  • edited 四月 2006
    shawn 寫道:

    我照著修改之後可以正常使用二級經銷,我的版本是osCAffiliate v2.5a
    感謝提供 :)
  • edited 四月 2006
    解釋一下重點部分
    後台設置部分(依照您的要求)
    Use Affiliate-tier true (開啟下線功能)
    Number of Tierlevels 2 (下線等級為二)
    Percentage Rate for the Tierlevels 30.00;10.00(依據您的抽成要求應該這樣設定)



    然後打開catalog/includes/affiliate_checkout_process.php

    尋找下列這段
    $affiliate_tier_percentage = split("[;]" , AFFILIATE_TIER_PERCENTAGE);
    $i=0;

    紅色部分改成藍色

    $i=1;


    完成~~~



    如果你還沒使用廣告經銷商的話,估計以後會遇到bill的問題
    開始支付會沒有反應
    在sql中加入

    INSERT INTO affiliate_payment_status (affiliate_payment_status_id, affiliate_language_id, affiliate_payment_status_name) VALUES (0, 4, '未支付');

    INSERT INTO affiliate_payment_status (affiliate_payment_status_id, affiliate_language_id, affiliate_payment_status_name) VALUES (1, 4, '已支付');

    (差別就在那個4) 要看你的預設語系是多少編號 一般都是4
Sign In or Register to comment.