Announcement

Collapse
No announcement yet.

Removing the component quantities from email

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

    Removing the component quantities from email

    I have followed the instructions from this Knowledgebase article How can I remove the component quantities from the customer's emailed receipt? which has worked but the component description is now squashed to one side (See attached image of the before and after).

    Is there a workaround or have I done something wrong?
    Has anybody else managed to remove the component quantities from the email without the squashed effect?
    Attached Files
    Last edited by KB2; 23-Mar-2010, 10:12 AM. Reason: Updating kb links
    Darren Guppy
    Golf Tee Warehouse
    Golf Tees and Golf Accessories.

    #2
    Hi,

    I've just tested it and my email displayed as:


    Shopping Cart (Prices in British Pounds)
    DESCRIPTION QUANTITY PRICE COST
    ----------------------------------------------------------------------
    Starter Computer Bundle 1 £300.00 £300.00
    17 inch Monitor
    Hard Disk - Size: 40GB

    I'd suggest you restore the original OrderScript.pl file from 'c:\program files\Actinic v9\Original\' and re-apply the hack.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Hi Tracey

      On checking again I find there are two instances of
      Code:
      $pComponent->{'QUANTITY'},
      On line 7152
      Code:
      MailOrderLine( $pComponent->{'REFERENCE'},
      			$pComponent->{'NAME'},
      			$pComponent->{'QUANTITY'},
      			$sPrice,
      			$sCost,
      			$nDescriptionColumnWidth,
      			@TableFormat
      			);
      and on line 7216
      Code:
      MailOrderLine( $pComponent->{'REFERENCE'},
      				$pComponent->{'NAME'},
      				$pComponent->{'QUANTITY'},
      				$pComponent->{'PRICE'},
      				$pComponent->{'COST'},
      				$nDescriptionColumnWidth,
      				@TableFormat
      				);
      Should I be changing both or just one instance
      Darren Guppy
      Golf Tee Warehouse
      Golf Tees and Golf Accessories.

      Comment


        #4
        Hi,

        You should only need to change the first instance, however, instead of commenting the whole row out can you try just removing the word 'QUANTITY' so it will look like:

        Code:
        $pComponent->{''},
        ********************
        Tracey
        SellerDeck

        Comment


          #5
          Thanks Tracey,

          I can confirm that your last suggestion fixed the problem.

          I then commented out the line completely and uploaded again and the problem returned.
          So for me personally the published hack in the Knowldgebase/AUG didn't working properly, but your suggestion is perfect.
          Whether the problem is general or particular to me I don't know.
          Darren Guppy
          Golf Tee Warehouse
          Golf Tees and Golf Accessories.

          Comment


            #6
            So for me personally the published hack in the Knowldgebase/AUG didn't working properly, but your suggestion is perfect.
            Whether the problem is general or particular to me I don't know.
            Did the same for me so I'll update the kb article - something must have changed as I'm sure this used to work ok.
            ********************
            Tracey
            SellerDeck

            Comment


              #7
              That's two kb articles I've broken in one day.
              Darren Guppy
              Golf Tee Warehouse
              Golf Tees and Golf Accessories.

              Comment

              Working...
              X