Announcement

Collapse
No announcement yet.

Oh Dear - I think i broke it

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

    Oh Dear - I think i broke it

    Can someone give me some pointers as to what i have done wrong

    I had been messing around with the compact line template in best seller theme and i thought i was getting the hang of it but

    all the prices on my site have diasappered. if you take a look at any of the pages then you will see what mean this page is a good example http://kitesrus.co.uk/acatalog/test/..._spinners.html the first product does not have a price, the second is the template i have been messing with and as you can see not working to well, and if you look at the other products no price.

    I hope some one can let me know what i have done wrong.

    Cheers
    Darren

    #2
    I see NETQUOTEVAR:PRODUCTPRICE which is pre v8, so you will need to change that to the variable for the price.

    Depending on what price layout you are using, it could be (but still getting to grips with it to be honest):

    <actinic:variable name="PreFormattedPrice" value="Compact Tax Inclusive Price"/>
    <actinic:variable name="PreFormattedPrice" value="Product Price Excluding Tax"/>
    <actinic:variable name="PreFormattedPrice" value="Product Price Including Tax"/>
    <actinic:variable name="PreFormattedPrice" value="Standard Tax Exclusive Price"/>
    <actinic:variable name="PreFormattedPrice" value="Standard Tax Inclusive and Exclusive Price"/>
    <actinic:variable name="PreFormattedPrice" value="Standard Tax Inclusive Price"/>

    Assuming that they are layouts available in all themes

    Comment


      #3
      Parse error:

      Thanks For That

      A new day and a fresh look and i am starting to make some sense out of it.

      OK what you gave me makes sense now and have restructered the layouts and they are working to some extent but as soon as i uploaded it my screen refreshed and i now have a new error you can see it on the site here
      http://kitesrus.co.uk/acatalog/test/...ort_Kites.html

      anyone have any ideas what
      Parse error: parse error in main on line 1 iceformat('%s','

      Cheers
      Darren

      Comment


        #4
        Ok, take a look at a product template which you have not amended that includes a price element, i.e. see it in design view and click on the price you see so that the correct template comes up.. Nav up or down in the layouts to see the bit which is the actinic variable and then place that into your altered product template.

        Barring that, check with further navigation up the layouts to see if you have removed the container around the price.

        Only other solution can suggest is to revert the template back to its factory defaults and then apply your modifications again.

        Comment


          #5
          OK

          I am now completely lost

          simple question, how can i revert back to the original template that came with V8. I am happy to work with the originals until i get a better understanding of modifying them

          Cheers
          Darren

          Comment


            #6
            library|layouts|

            there is a revert to factory default

            or thereabouts (haven't opened v8 for a few weeks!)

            Comment


              #7
              Hi Jo

              Tried that but still got the problem, Really am stuck with what this parse error actually means

              Cheers
              Darren

              Comment


                #8
                OK sorted it now,

                The revert to default settings does absolutly nothing, I found the correct code in the library layout by going to prices | standard tax inclusive, copied the code into my layout as this had somehow managed to break the code up. iceformat should have been priceformat at the start of the code but ended up in the middle of the string.

                Anyway big question, why when i reverted to the default settings did this not fix my template. The one with the problem was the standard image on left

                Cheers
                Darren

                Comment


                  #9
                  In the good old days of V7 we would just email you a new template and job done

                  Comment


                    #10
                    I know it was much easier or is it just that we got used to it.

                    I have been trying to insert another button into my top menu bar using the AUG and i can not get it to work so i just stuck the html in next to the other buttons and he presto it works. If anyone has managed to get page 31 to work i would like to know, i created the layout as per instructions yet i can not find it when i want to insert it into my layout next to all the other buttons. I guess i am missing something here?

                    I am not totaly convinced that V8 does what you ask it to and if you get it wrong it just does not do it

                    Cheers
                    Darren

                    Comment

                    Working...
                    X