Announcement

Collapse
No announcement yet.

AllAffiliatePro & v8

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    AllAffiliatePro & v8

    Upgraded to v8 recently and asked Lyle at AAP if I needed to adjust anything to get AllAffiliatePro to work with v8. He asked me to send him the OrderScript.pl file and the Act_Order04.html file. Lyle kindly sent me back the OrderScript.pl file back earlier this evening and asked me to replace the old one with the one he sent......which I did.

    Problem:
    Now every time I proceed to checkout I get sent to my custom error page. If I put the old OrderScript.pl file back in there it works fine apart from it's paying out commission of product price + P&P whereas it should just be paying out commission on the product price.

    I've emailed Lyle to let him know what's going on but the poor fella’s probably gone home now The problem I have is that I have a discounted sale starting at 12.00am tonight

    Just wondering if anyone here has AAP working with v8 and do you think it would be possible if some kind sole could send me their OrderScript.pl file OR are OrderScript.pl files specific to each individual users/sites?
    www.ecclestonanglingcentre.co.uk

    #2
    I understood that the perl scripts were the same for V8 as they were for V7.
    I have AAP running fine on my site for V7. The files that were changed were Act_Order04.html and OrderScript.pl.

    In OderScript.pl the only minor change required was that this line was changed from:

    Code:
    $::s_VariableTable{$::VARPREFIX.'FORMATTEDORDERTOTALCGI'} = ACTINIC::EncodeText2($sTotal, $::FALSE);
    to:

    Code:
    $::s_VariableTable{$::VARPREFIX.'FORMATTEDORDERTOTALCGI'} = ACTINIC::EncodeText2($sSubTotal, $::FALSE);
    This first change may be what you need as it passes the Sub total instead of the final total.

    In Act_Order04.html the change was to add a an image to the template. It was:

    Code:
    <DIV ALIGN="CENTER">
    
    	<INPUT TYPE=HIDDEN NAME=HOME VALUE="NETQUOTEVAR:HOME">
    
    	<INPUT TYPE=SUBMIT NAME=ACTION VALUE="NETQUOTEVAR:DONEBUTTON">
    <BR>
    <Actinic:EXTRAFOOTERTEXT><span class="actxsmall"><TABLE><TR><TD><IMG SRC="NETQUOTEVAR:POWEREDBYLOGO" WIDTH="45" HEIGHT="50" BORDER="0" ALT=""></TD><TD><FONT SIZE=1><B>NETQUOTEVAR:TRADEMARKS</B></FONT></TD></TR></TABLE></span></Actinic:EXTRAFOOTERTEXT>
    </DIV>
    
    <!-- Receipt HTML end -->
    and changed to:

    Code:
    <DIV ALIGN="CENTER">
    
    	<INPUT TYPE=HIDDEN NAME=HOME VALUE="NETQUOTEVAR:HOME">
    
    	<INPUT TYPE=SUBMIT NAME=ACTION VALUE="NETQUOTEVAR:DONEBUTTON">
    
    <IMG SRC="http://www.myaffiliatedomain.co.uk/cgi-bin/affiliate/clickme2.cgi?amount=NETQUOTEVAR:FORMATTEDORDERTOTALCGI&id=NETQUOTEVAR:THEORDERNUMBER" height=1 width=1 border=0>
    
    <BR>
    <Actinic:EXTRAFOOTERTEXT><span class="actxsmall"><TABLE><TR><TD><IMG SRC="NETQUOTEVAR:POWEREDBYLOGO" WIDTH="45" HEIGHT="50" BORDER="0" ALT=""></TD><TD><FONT SIZE=1><B>NETQUOTEVAR:TRADEMARKS</B></FONT></TD></TR></TABLE></span></Actinic:EXTRAFOOTERTEXT>
    </DIV>
    
    <!-- Receipt HTML end -->
    Your Act_Order04.html change may be slightly different depending on how you are using AAP.

    Comment


      #3
      Hi Duncan,

      When I got the email from Lyle earlier this evening in it he said that I didn't need to adjust the Act_Order04.html file for v8 but just the OrderScript.pl file

      Lyle's been in touch since and has asked me to send him my OrderScript.pl file again.

      In the meantime I changed the line in the OrderScript.pl file as suggested but I still get stuck at the checkout stage......the cart just forwards to my custom error page

      I'm hoping Lyle will be in touch over the next 15mins or so......fingers crossed
      www.ecclestonanglingcentre.co.uk

      Comment


        #4
        I to am trying to install Allaffiliatepro on v8. Lyle has also asked me to send these two files to him. Orderscript.pl is no problem but I do I send the order_04 template using v8. Could do this easy enough on previous versions but I can't see away to extract this template from v8. Any suggestions?

        Regards

        Mark
        Mark Ebrey
        Swimming Pool Test Strips
        Aquarium Test Strips
        Pond Test Strips
        Home Allergy Testing. Diagnose your allergy symptoms

        Comment


          #5
          Mark,

          In Actinic go to the Design tab, use the 'Select Page Type' dropdown to select 'Receipt' then you can copy the code into notepad, save that and send it over.

          This layout will also be available in 'Design | Library | Layouts | Web Page Inner Layout'.

          Kind regards,
          Bruce King
          SellerDeck

          Comment

          Working...
          X