Have you tried removing the reference under 166?
Announcement
Collapse
No announcement yet.
Products in compact rows
Collapse
X
-
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)
Comment
-
having removed the %s (after NAME because that's what the book says) I now get a quantity value of 400000
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
-
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
-
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...
Comment
Comment