Announcement

Collapse
No announcement yet.

Listing components vertically

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

    Listing components vertically

    At the moment all the components are being listed horizontally on the order page once you have clicked the order button. They are delimited with a "," .
    I would like these to be listed vertically.

    Where in the perl code is this constructed?
    SSL Linux Actinic Hosting

    #2
    Mike,

    This is done in ActinicOrder.pm, open with an notepad and search for

    sub FindComponent
    You should see this code
    sub FindComponent
    {
    my $component = shift;
    my $selection = shift;
    my $separator = shift || ',';
    Replace the ',' to read '<br>'
    sub FindComponent
    {
    my $component = shift;
    my $selection = shift;
    my $separator = shift || '<br>';
    Save and update the site. The usual disclaimers are effective so make a backup , an original copy of the script is available in the 'Original' folder within the Actinic installation file.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      That seems to just put <br> in the page. It reads it as text not as HTML

      It looks like this

      Modell 5058
      Färg/Storlek - Färg/Storlek: Antikblå
      Recept - SF - höger: 0<BR> CYL - höger: 0<BR> AX - höger: 0 grader<BR> SF - vänster : 0<BR> CYL - vänster: 0<BR> AX - vänster: 0 grader<BR> PD: 40 mm
      Extra - Tillägg: inget tillägg
      SSL Linux Actinic Hosting

      Comment


        #4
        The code on my script looks like this..

        sub FindComponent
        {
        my $component = shift;
        my $selection = shift;
        my $separator = shift || '<br>';

        and the cart display is attached. Can you try refreshing the site please. Replace the script with teh original, redo the change and then refresh.

        Kind regards,
        Attached Files
        Bruce King
        SellerDeck

        Comment


          #5
          It's made no difference.

          Modell 5058b
          Recept - SF - höger: 0<BR> CYL - höger: 0<BR> AX - höger: 0 grader<BR> SF - vänster : 0<BR> CYL - vänster: 0<BR> AX - vänster: 0 grader<BR> PD: 40 mm
          Extra - Tillägg: inget tillägg
          SSL Linux Actinic Hosting

          Comment


            #6
            Mike,

            Can you mail me the script offline please? Also do let me know what exact version you are on.

            Kind regards,
            Bruce King
            SellerDeck

            Comment

            Working...
            X