Announcement

Collapse
No announcement yet.

Component Display

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

    #16
    James M (or other Actinic genius ).

    Originally posted by James M
    Hi Dave

    Right then, ive re-done the pm file for you and tested it out, it removes the component name, and the quantity from the shopping cart...

    If you save the pm file into your site1 folder, then in Actinic go to Web | Refresh website - then have a look.

    Hope you like it!
    Will the files you modified for Dave Finlayson work in v7.02 ? It's just that I am a little wary of editing the files!

    Cheers,
    Richard

    Comment


      #17
      Originally posted by James M
      Hello Dave

      This is what I did to remove the componant name from the checkout, I edited actinicorder.pm with notepad, the searched for the following lines...

      if ($Res{text})
      {
      $Res{text} = $component->[$::CBIDX_NAME] . " - " .
      $Res{text};
      }
      else
      {
      $Res{text} = $component->[$::CBIDX_NAME];
      }

      And changed it to read...

      if ($Res{text})
      {
      # do nothing
      }
      else
      {
      $Res{text} = $component->[$::CBIDX_NAME];
      }


      Hope that helps
      Hi there

      This change will work in 7.0.2 also...

      Hope that helps

      Comment


        #18
        Thanks James,

        I am going to be lazy of course and use your order.zip file rather than do any hard work myself! I assume this is OK.

        Cheers,
        Richard

        Comment


          #19
          Hi there

          Just tried this out on 7.0.2 and it works fine.

          Comment


            #20
            James,

            I've just tried it myself - copied your file, refreshed the web, perfect!
            Just what I wanted. Thanks very much.

            Cheers
            Richard

            Comment


              #21
              No problem

              Comment


                #22
                Pm file

                James

                I've been trying to extract your .pm file out of the zipped file (in Winzip 8) from the original thread and it comes up with 'invalid compressed data to inflate'. Am I doing something wrong?

                Comment


                  #23
                  You are not doing anything wrong - there is a problem with the file.

                  I am wary about re-posting it as the Perl file is Actinic version-specific (7.0.1) and it would be better to see if you can edit the perl file within your copy of Actinic according to the above instructions. It is quite a simple change, and if there are any problems there will always be an untouched copy of the file in the 'Original' folder.

                  Comment


                    #24
                    Suppressing component counters

                    Hi,

                    Would this fix apply equally to v8 ?

                    I too would like to supress the component item count appearing. Why not have a 'tick box' on the component ? (v9 ?)
                    Thanks

                    Anthony Kudzin

                    Comment


                      #25
                      Hi Anthony

                      v8 still requires the same perl change I'm afraid. The operation of the shopping cart is basically the same as it is in v7.

                      Comment


                        #26
                        Great stuff, perfectly works in v9.04 aswell.

                        Comment

                        Working...
                        X