Announcement

Collapse
No announcement yet.

product refs and availability indicators

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

    product refs and availability indicators

    Hi

    Can anybody help with the following couple of questions

    1. I am displaying the product references in a product template and I currently have a prefix of "ref:" Is there a way of disabling this prefix so that I just have the actual number reference for the product without anything in front?

    2. I am using NETQUOTEVAR:STOCKLEVEL to display the stock on hand for each product. However ideally I would like to replace this with some sort of availability indicator e.g . a traffic light system so if the stock level is below x then a red image is displayed, but if it is above x a green image is displayed. Can this be done in actinic V6 Business?

    Cheers

    Mark
    <a href="http://www.getgeared.co.uk">GetGeared.co.uk</a>

    #2
    1) Is easy. In Actinic Design / Text / Go to enter Pahes -1 ID 65 and remove the "Ref: " bit.

    2) May need some JavaScript. If you had something like

    Code:
    <script language=JavaScript>
    if ( 'NETQUOTEVAR:STOCKLEVEL' < 3 )
      {
      document.write('<img src="red.gif">');
      }
    else
     {
      document.write('<img src="green.gif">');
     }
    </script>
    May do the trick. I've not tested this (I just typed it straight in) so there may be bugs galore but the idea is sound.

    Norman




    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Many thanks Norman

      That worked a treat

      <a href="http://www.getgeared.co.uk">GetGeared.co.uk</a>

      Comment

      Working...
      X