Announcement

Collapse
No announcement yet.

NETQUOTEVAR:TOTAL Doesnt Work???

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

    NETQUOTEVAR:TOTAL Doesnt Work???

    Hi

    Need to display total of order on a page - NETQUOTEVAR:TOTAL doesnt work, if I echo this it just says NETQUOTEVAR:TOTAL

    Also tried NETQUOTEVAR:FORMATTEDORDERTOTALHTML - nearly right, but puts £ sign at front - ahhhhh! lol

    Need a NETQUOTEVAR that puts the correct value on screen, with pounds and pence for exaple 14.94 and no currency symbol.

    Anyone know which one to use?

    Have tried the cgi ones as well, put they are incorrect format.

    Thanks folks.
    http://www.movie-stuff.co.uk
    http://www.zonzab.co.uk

    #2
    Show where?

    Comment


      #3
      FORMATTEDORDERTOTALHTML probably puts commas after every third digit as well. So watch out for e.g. £1,234.56.

      You could use JavaScript to strip everything but 0-9 and the period.

      Something like (untested):
      Code:
      <script type="text/javascript">
      document.write('NETQUOTEVAR:FORMATTEDORDERTOTALHTML'.replace(/[^\d\.]/g, ''));
      </script>
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment

      Working...
      X