Announcement

Collapse
No announcement yet.

showing free delivery

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

    showing free delivery

    I'd like to be able to show £0.00 under shipping in the shopping cart. If the delivery is free then it simply doesn't show it, but i think it would be preferable to show free delivery. Is this poss ?
    Richard Gosler
    Phoenix Digital Media Ltd
    Dorset, UK

    #2
    Look for the conditional statement that stops it from showing. If you can find it, you can remove it, so that shipping is always shown.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      That's the problem: I can't see any conditional statement in design view. I assume it is buried in one on the perl scripts.
      Richard Gosler
      Phoenix Digital Media Ltd
      Dorset, UK

      Comment


        #4
        Found it!!!
        Richard Gosler
        Phoenix Digital Media Ltd
        Dorset, UK

        Comment


          #5
          I tried removing <ACTINIC: REMOVE TAG="ShippingRow"> but it didn't like that. Does anyone know if there is another way ?
          Richard Gosler
          Phoenix Digital Media Ltd
          Dorset, UK

          Comment


            #6
            Richard,

            Is delivery always free? Or is it only free over £x.xx amount?
            Cheers

            David
            Located in Edinburgh UK

            http://twitter.com/mcfinster

            Comment


              #7
              It's free over £x.xx. Actinic seems to comment it out if the figure is £0. Just need to override that somehow.
              Richard Gosler
              Phoenix Digital Media Ltd
              Dorset, UK

              Comment


                #8
                I think that will be a Perl change then, can't think of any way to do it without as all the cart values are generated online and therefore conditional statements won't work (feel free to correct me there Bill if I am speaking out my rear end)
                Cheers

                David
                Located in Edinburgh UK

                http://twitter.com/mcfinster

                Comment


                  #9
                  It shows when there is a value and does not show when there is no value - the condition *must* be is greater than 0

                  I removed the <ACTINIC: REMOVE TAG="ShippingRow"> from line 1 of the layout and also the closing tag </ACTINIC: REMOVE> from the last line - did you leave that one in place?
                  Bill
                  www.egyptianwonders.co.uk
                  Text directoryWorldwide Actinic(TM) shops
                  BC Ness Solutions Support services, custom software
                  Registered Microsoft™ Partner (ISV)
                  VoIP UK: 0131 208 0605
                  Located: Alexandria, EGYPT

                  Comment


                    #10
                    I removed both the 'Actinic Remove tags' but this resulted in NETQUOTEVAR appearing in the shipping amount box if the value was £0. When the shipping value was higher than £0 it displayed correctly.
                    Richard Gosler
                    Phoenix Digital Media Ltd
                    Dorset, UK

                    Comment


                      #11
                      Hi,

                      Try the following:

                      - undo any changes that you have already made
                      - browse to 'c:\program files\actinic v8\sites\<site name>\OrderScript.pl' and take a backup of the file
                      - open the file in a text editor such as notepad and search for:

                      sub DisplayShipChargePhase

                      - within this sub routine, comment out the following code by putting a '#' at the beginning of each line:

                      Code:
                      if (ActinicOrder::IsPhaseComplete($::SHIPCHARGEPHASE) || # the shipping is 
                                                                      already completed or          -
                        
                       ActinicOrder::IsPhaseHidden($::SHIPCHARGEPHASE)) # is hidden 
                              {
                              push (@::s_DeleteDelimiters, 'SHIPANDHANDLEPHASE'); # hide the 
                                                                      shipping stuff
                              return ($::SUCCESS, '', \%::s_VariableTable, 
                      \@::s_DeleteDelimiters, \@::s_KeepDelimiters);
                                      }
                              else
                      - close and save the file and update your site.
                      ********************
                      Tracey
                      SellerDeck

                      Comment


                        #12
                        trying to do this but cant find the code in my orderscript.pl file

                        theres lines similar to these but instead of

                        - ($::SHIPCHARGEPHASE)

                        i'm finding

                        ($::BILLCONTACTPHASE) ;
                        ($::SHIPCONTACTPHASE) or
                        ($::PAYMENTPHASE)

                        do i use one of these???
                        Cheap Printers

                        Printer Toner
                        Printer Ink
                        Ink Cartridges

                        Comment


                          #13
                          Hi,

                          Sorry, it was in OrderScript.pl in v7, in v8 it is in ActinicOrder.pm.
                          ********************
                          Tracey
                          SellerDeck

                          Comment


                            #14
                            just checked and still doesnt seem to be working.
                            when shipping is free its still deleting the entire row.

                            this is what the code now reads:

                            Code:
                            	#
                            	# if the phase is done, don't display it
                            	#
                            	#if (ActinicOrder::IsPhaseComplete($::SHIPCHARGEPHASE)	||	# the shipping is already completed or
                            	#	ActinicOrder::IsPhaseHidden($::SHIPCHARGEPHASE))	# is hidden
                            	#	{
                            	#	push (@::s_DeleteDelimiters, 'SHIPANDHANDLEPHASE'); # hide the shipping stuff
                            	#	return ($::SUCCESS, '', \%::s_VariableTable, \@::s_DeleteDelimiters, \@::s_KeepDelimiters);
                            	#	}
                            	#else
                            		{
                            		push (@::s_KeepDelimiters, 'SHIPANDHANDLEPHASE');
                            		}

                            any ideas???
                            Last edited by DavidPrintkit; 07-Apr-2008, 10:27 AM. Reason: Edit
                            Cheap Printers

                            Printer Toner
                            Printer Ink
                            Ink Cartridges

                            Comment


                              #15
                              Did you get any resolution on this issue? I'm having the same problem myself in V9.

                              I've tried the steps above but to no avail. Any suggestions?

                              Thanks in advance for any help.

                              Comment

                              Working...
                              X