Can't create affiliates


  • Default avatar
    source@easy.cz    
     a year ago
    0

    If I can try to create new affiliate for customer, I fill Affiliate input, but every time is cleared.
    How can I create new affiliate?

    http://www.lemax26.easysoftware.cz/images/affiliate_error.png

    Rudolf
  • Default avatar
    source@easy.cz    
     a year ago
    0

    1. Create Joomla User
    2. Create Coupon (not templates) 5% Discount
    3. Create Affiliate ->
    3.1. select New Coupon
    3.2. select Comission
    3.3 write Joomla user, but nothing search
    3.4 Save -> error "User: please make a selection"

    But which selection? No users can I select :(

    http://www.lemax26.easysoftware.cz/images/affiliate_error1.png
    http://www.lemax26.easysoftware.cz/images/affiliate_error2.png
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    That field is not a normal textbox. If you start entering the username, after about 2 or 3 letters a dropdown should appear with the user, and you can then select the user. It is very similar to the function in this image:
    http://awodev.com/images/v1/blogs/6/auto-edit.png

    If you are not seeing the user, maybe there is a javascript error. Can you view the console to see what errors there are? Or if you prefer, I would be happy to look at it if you can send a private message with temporary admin access.
  • Default avatar
    source@easy.cz    
     a year ago
    0

    I cant see any errors in console :(

    I send PM

    Rudolf
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    Ok, found the bug, and 2 edits need to be made.
    in www/administrator/components/com_awoaffiliate/controller.php around line 330, change
    <?php
            $db 
    =& JFactory::getDBO();
    ?>


    to
    <?php
            $db 
    JFactory::getDBO();
    ?>


    And in
    www/administrator/components/com_awoaffiliate/helpers/awoaffiliateView.php, around line 25 is this
    <?php
                    $document
    ->addScript(JURI::root(true).'/administrator/components/com_awoaffiliate/assets/js/awoaffiliate.js');
    ?>


    Move it down to around line 51 so you have this
    <?php
                    $document
    ->addScript(JURI::root(true).'/administrator/components/com_awoaffiliate/assets/js/awoaffiliate.js');
                    echo 
    '';
    ?>


    That should do it.
  • Default avatar
    christina1    
     a year ago
    0

    I am having this same issue but I do not have those lines to edit in my php code.
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    The solution is posted below, but regardless there is a new release that fixes it. So please get the latest version.
  • Default avatar
    source@easy.cz    
     a year ago
    0

    Hello Seyi,

    thanks for Your update. Great :)

    But problems with coupons affiliate Awo are still :(

    Currently is the component modified:
    - upgrade using codes from j2.5 to j3.3
    - upgrade a collision javascripts

    Now you can create affiliate and associate with Joomla users (super!).

    What does not work is credited with the correct affiliate commission. Commissions are added constantly to one affilliate even if you choose another coupon affilliate.

    This may be due to error component Awo Affilliate or also caching in One Page Checkout from Rupostel?

    I turned off the Ajax update coupons, but the problem persists. Please look at it?

    Thank you

    Rudolf Baláš
    support
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    Not sure I fully understand the problem. Are you saying from a specific user's account, you tried more than one affilate code, for example codes:
    - affilaite_code_1
    - affiliate_code_2

    And in both cases the commission went to affilaite_code_1?

    If so, then check if you have the option "Sponsor earns commission on all orders of customer" set to "yes". If you do then the above will happen as the customer will always earn commission from the first affiliate code entered.
  • Default avatar
    source@easy.cz    
     a year ago
    0

    Hi Seyi,
    thanks for Your reply.

    I used Your setup and with upgrade One Page Checkout from Rupostel (v. 281 - upgrade system plugin) commission is function.

    Rudolf
  • Your avatar
    seyi    
     a year ago
    0

    You are welcome. Glad it is working well now.