Announcement

Collapse
No announcement yet.

Modified layout different after login!

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

    Modified layout different after login!

    Hi

    I've modified the way the pricing appears which looks like this:
    £13.64 (1 - 5) Inc. VAT
    £12.28 (6 - 29) Inc. VAT
    £10.23 (30 - 99) Inc. VAT
    £9.55 (100 +) Inc. VAT

    After login its back to the default display:
    (5 or fewer items) £13.64 (Including: VAT at 17.5%)
    (6 to 29 items) £12.28 (Including: VAT at 17.5%)
    (30 to 99 items) £10.23 (Including: VAT at 17.5%)
    (100 or more items) £9.55 (Including: VAT at 17.5%)

    Why does it revert back to this when logged in?
    How do I keep it looking the same whether logged in or not?

    Many thanks

    J

    #2
    I would imagine this is something to do with a "block if" statement that comes into force when a customer is logged in. You should see the condition in the product layout. Once that condition is met, it will show in the way it is told to.

    Id suggest putting whetever you have changed for the non logged in customers into the logged in condition also.

    Snapshot or backup the layout before you try though.

    If that isn't the case, then perhaps you have to define a layout for when customers are logged in and when they are not within the site options menu.

    I'd be surprised if it isn't either one of these options or a combination of them both, i may be wrong though.

    Comment


      #3
      I had just edited the 'Design | Library | Prices | Standard tax Inclusive Price' code... I can't see where theres a similar one for when you login!

      ...there is:
      block if <Actinic:NOTINB2B> (which i presume is the login prompt) but there is no reference to the "PriceListRetail" within it!

      Comment


        #4
        Hi Elton

        I'm talking from an educated guess rather than a definitive answer. I know that loggen in customers can see different prices to unlogged in customers if desired and im sure this is driven by a block if. It just seemed sensible that the layout may be controlled somewhat similar.

        Are there any site layouts for logged in customers defined in the site options menu? Just throwing ideas in the pot, no real direction i'm afraid. I'm sure if what i am mentioning is incorrect, that someone who has done this will be able to jump in the morning and let you know.

        Common sense tells me it has to be driven by some kind of IF statement, it;s finding the thing that could be the problem.

        Sorry i cant be of more help.

        Comment


          #5
          If you search for "logged in price layout" on the forum you should find your answer. Its not a layout its within the "ActinicPXML.pm" file, which effectively grabs the price layout and then reformats it as programmed.

          You may need to know Perl or contact Norman "the PHP and Perl" King for some help.

          Comment


            #6
            I appriciate your help Leehack
            I'll look into it.

            Comment


              #7
              Any other suggestions would be welcome! Any ideas?

              Comment


                #8
                Any other suggestions would be welcome! Any ideas?

                Comment


                  #9
                  Elton, i dont think there will be any other ideas, that definitely seems to be the answer from what ive read.

                  Comment


                    #10
                    Originally posted by leehack
                    Elton, i dont think there will be any other ideas, that definitely seems to be the answer from what ive read.
                    Hi Lee
                    Sorry if I seemed a bit untrusting! I only asked for other ideas as I am unable to upload the site myself to test!
                    The site is a friends that I have modified for him and he needs to make the changes his end - but I would need to tell him what to do (or send him a file to paste in)! I just wanted to be sure!
                    Sorry if I offended.

                    Jay

                    Comment


                      #11
                      No offence taken at all, i think the lack of responses is because nothing can really be added. According to that main post from the search, that is the answer and it works. I can quite grasp why the file is parsed, rather than some kind of IF statement, however thats how it seems it is designed. Maybe other clevel things are going on also in that script.

                      If customer is logged in, use this layout, if they are not then use this one, seems the logical path for me, however im a simple thinking chap.

                      Comment

                      Working...
                      X