Announcement

Collapse
No announcement yet.

Normans Image in checkout

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

    Normans Image in checkout

    Hi Norman,

    After the success of your image in search results has had I decided to implement you images in cart and check out pages but things have gone wrong.

    I get a general script error when I try to add a product to my shopping cart

    http://www.macleanmarine.com/acatalog/

    Would you mind taking a look to see what's wrong
    Many thanks.

    Regards

    Richard

    #2
    I'm getting the error:

    'D:\WWWRoot\macleanmarinecom\www\cgi-bin\ca000052.pl' script produced no output

    When I try to add anything to my cart.

    I think this may be because I couldn't enter one of the alterations to ActinicOrder.pm you listed in your guide:

    ##### Find the line

    foreach $pComponent (@aComponentsSeparated)

    ##### 5 lines below you'll see the fragment

    $sProductLineHTML);

    ##### Replace with the following line.

    $sProductLineHTML, ''); # NorcatImage of Component could go here

    This is because there is no instance of $sProductLineHTML); at line five (or near after).

    I also changed NETQUOTEVAR:PRODUCTREFERENCE to NETQUOTEVAR:PRODUCTREF, because I was getting a javascript error saying no such object.


    Your help would be much appreciated.

    Many thanks

    Richard

    Comment


      #3
      In my version of ActinicOrder.pm

      foreach $pComponent (@aComponentsSeparated)

      ###### is on line 3509 and

      $sProductLineHTML);

      ###### is on line 3525 which is a bit more than 5 lines lower (by the way this fragment is tabbed well over to the right).

      Hope that helps
      Chris Brown

      Comment


        #4
        It would help immensely if you tell me what version of Actinic you are using.

        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Hi Norman, sorry it is 6.1.1

          Comment


            #6
            I think this may be because I couldn't enter one of the alterations to ActinicOrder.pm you listed in your guide:

            ##### Find the line

            foreach $pComponent (@aComponentsSeparated)

            ##### 5 lines below you'll see the fragment

            $sProductLineHTML);

            ##### Replace with the following line.

            $sProductLineHTML, ''); # NorcatImage of Component could go here

            This is because there is no instance of $sProductLineHTML); at line five (or near after).
            It's still there but about 10 lines further down as 6.1.1 has added a few extra lines so you'd need to read the above as:-

            ##### Find the line

            foreach $pComponent (@aComponentsSeparated)

            ##### 5 lines below ( 15 for V6.1.1 ) you'll see the fragment (it may be outdented lots to the right)

            $sProductLineHTML);

            ##### Replace with the following line.

            $sProductLineHTML, ''); # NorcatImage of Component could go here

            I also changed NETQUOTEVAR:PRODUCTREFERENCE to NETQUOTEVAR:PRODUCTREF, because I was getting a javascript error saying no such object.
            Don't know what you're doing here. NETQUOTEVAR:PRODUCTREFERENCE is correct (or was when I last looked). Perhaps you made a spelling error elsewhere on that line. One possibility is that you have the double quote character ( " ) in your product references. This might break things. If you do use double quotes (but not single quotes) you could use the alternative line:-

            <script language=JavaScript>var ThisProd = 'NETQUOTEVAR:PRODUCTREFERENCE';</script>

            in your Product Template(s).


            Norman
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Hi Norman,

              Thanks for your help. I have made the changes.

              Unfortunately I have a script error; ca000052.pl produces no output and I can't check to see if its worked. I think this could be a problem with my host and I have just rang them now to try and sort out the problem.

              Comment


                #8
                ca000052.pl produces no output..
                This is the ShoppingCart.pl script - perhaps you've made a mistake there. Try using the original and see if it works.

                Norman
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Hi Norman,

                  I've got everything working now. Thanks again for all your help.

                  Best Regards

                  Richard.

                  Comment


                    #10
                    P.S.

                    Norman.

                    I'd just like to say another big thank you for the help you have given me with both the image in search results and image in check out.

                    I'd like to send you a case of wine to show my appreciation. Do you have a preference as to which type?

                    Comment


                      #11
                      dith

                      I have jus been browsing you site and noticed

                      NETQUOTEVAR:SHIPPINGEXTRAINFO

                      appearing in plain text on checkout stage three - address details, just under the class of service heading.....

                      Comment


                        #12
                        NETQUOTEVAR:SHIPPINGEXTRAINFO

                        This sometimes gets left over after an upgrade from v4/v5.

                        Comment

                        Working...
                        X