Announcement

Collapse
No announcement yet.

Products in compact rows

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

    #16
    Have you tried removing the reference under 166?


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #17
      Yes, but then I don't get Quantity on ordinary pages. Am trying to implement the CUSTOMVAR thing again... it looks as though the error message was because the variable had not been added in the first place! Dunno why, more tea... (I'm too old for all this - I should be playing golf or something ancient)
      Anf
      New Year - new YOU!
      (remove that cellulite before the summer comes - www.treatmentgels.co.uk)

      Comment


        #18
        having removed the %s (after NAME because that's what the book says) I now get a quantity value of 400000
        You have to be careful with these Design / Text settings that contain %s or %d fragments. You can't remove one as this will shift the replacement parameters about with undesired effects. You can remove the last %s or %d however, without problems.

        So if you had a string like <img src=%s width=%s height=%s> and you wanted to fudge the width to be fixed to 100 but the height to be as before, you would need to do <img src=%s width=100 dummy=%s height=%s> which would work OK as HTML ignores unknown tags (or parts of tags).
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #19
          As I read this thread, you want to remove the Quantity: text on certain condensed product templates, but not on all.

          Here's what works for me (I think John has already confirmed some of this).

          Go to Design / Text / Phase -1, ID 2173 and replace the line

          %s<INPUT TYPE=text NAME="%s" SIZE="4" VALUE="%d">

          with

          <!--%s--><INPUT TYPE=text NAME="%s" SIZE="4" VALUE="%d">

          Now test a page and you should have no Quantity: appearing.

          For those templates that you require the prompt to be shown replace

          NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY<br>

          with

          NETQUOTEVAR:CARTERRORXML<SPAN CLASS="actrequiredcolor"><BR>Quantity:</SPAN>NETQUOTEVAR:PRODUCTQUANTITY<br>

          Or (using Johns suggestion)

          NETQUOTEVAR:CARTERRORXML<SPAN CLASS="actrequiredcolor"><BR>CUSTOMVAR:QTY</SPAN> NETQUOTEVAR:PRODUCTQUANTITY<br>

          PS You may also want to reduce the SIZE=4 if you only sell in modest quantities.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #20
            Grovelling apologies to all for inadvertantly wasting your time. I have now, thanks to Norman writing out the relevant code, realised that Actinic does not default to the extreme left of code. So what I was looking at (and selecting the "first" %s) was actually several characters along - missing the %s at the very beginning. It just never occurred to me to scroll backwards on the initial screen!!! Sorry guys...
            Anf
            New Year - new YOU!
            (remove that cellulite before the summer comes - www.treatmentgels.co.uk)

            Comment

            Working...
            X