Announcement

Collapse
No announcement yet.

Price structures and discounting

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

    #16
    Not really as the same code is used for the product lines as is used for the component lines.

    I will ask the development team if they can suggest anything.

    Comment


      #17
      Thank you.
      Mash

      Comment


        #18
        There is a fix for this that involves editing the Perl within the file called 'ActinicOrder.pm' within your Site1 folder.

        Open this file in Notepad and search for the phrase:

        'Check components in this order line'

        You should come across the following code:

        #
        # Check components in this order line
        #
        foreach $pComponent (@aComponentsIncluded)
        {
        $ProdTable .= ProductLineHTML($pComponent->{'REFERENCE'},
        $pComponent->{'NAME'} . $pComponent->{'DDLINK'},
        $pComponent->{'QUANTITY'},
        $sProductLineHTML);
        }

        Change this to read:

        #
        # Check components in this order line
        #
        foreach $pComponent (@aComponentsIncluded)
        {
        $ProdTable .= ProductLineHTML($pComponent->{'REFERENCE'},
        $pComponent->{'NAME'} . $pComponent->{'DDLINK'},
        $pComponent->{' '},
        $sProductLineHTML); # QUANTITY
        }

        Note that this forum strips out all the tabs at the beginning of these lines so the actual appearence might look different in the actual file. Actinic is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.

        Comment


          #19
          Tried and tested and it works great, thanks for that Chris.

          If I remove 'NAME' and replaced it with ' ' from the stament below

          $pComponent->{'NAME'} . $pComponent->{'DDLINK'},

          I assume that it would remove the component name? Just out of interest as at the moment it is not required.

          Anyway thanks for your help.

          Kind regards Mash
          Mash

          Comment


            #20
            Sounds about right. You can always put it back if it doesn't look right.

            Comment


              #21
              Solve one problem, just moves some whereelse!

              The email generated for the customer has the quantity against the hidden product.

              Email Example:


              Shopping Cart (Prices in British Pounds)
              DESCRIPTION QUANTITY PRICE COST
              ----------------------------------------------------------------------
              Oriental Selection 1 £14.00 £14.00
              Pack Price 1
              ======================================================================
              Subtotal: £14.00
              Total: £14.00

              Is it possible to edit this so either second quantity is not shown, or the second quantity and the compent description (Pack Price) is not shown?

              Any suggestions are appreciated, thank you Mash
              Mash

              Comment


                #22
                I've been looking at the Perl on this one, but it all looks really odd. The cart display in the email seems to be work differently than online, so I have not been able to make any headway on trying to adjust it.

                Sorry about that.

                Comment


                  #23
                  No worries, at some point I will tidy it up.

                  Regards, Mash
                  Mash

                  Comment

                  Working...
                  X