[ic] ordering an option has me stumped

Scott Andreas interchange-users@icdevgroup.org
Mon Sep 23 19:59:02 2002


He is my code. Th option ( from options db ) does not want to be placed into
the cart for some reason and I've been racking my brain on this proble

As you can see the first row contains the primary data and the loop contains
the options data

It works if I use the standard [options] tag but it doesn't if I bread out
from it

Any help would be greateful

No info in the error.log file



<TBODY><form action="[process-target]" method="post">
               <input type="hidden" name="mv_todo" value="refresh">
               <input type="hidden" name="mv_order_item"
value="[item-code]">
                  [set color][item-alternate
2]#CCCCCC[else]#CCCC99[/else][/item-alternate][/set]
                  <tr bgcolor="[scratch color]">
                    <td vAlign="top" align="center"><input type=checkbox
name="mv_sku" value="[item-code]"></td>
                    <td vAlign="top" align="center"><input size="3"
name="mv_order_quantity" value=" "></td>
                    <td vAlign="top" align=center><font face="Verdana,
Arial, Helvetica, sans-serif" size="1">[if-item-field version][item-field
version][/if-item-field]&nbsp;[if-item-field platform]-&nbsp;[item-field
platform][/if-item-field]</font></td>
                    <td vAlign="top" align=left><font face="Verdana, Arial,
Helvetica, sans-serif" size="1">[item-price]</font></td>
                  </tr>
[if-item-data options o_enable]
       [loop
               search="
                      st=db
                      fi=options
                      co=1
                      sf=sku
                      se=[item-code]
                      nu=0
                      tf=price
                      to=n
                      rf=code,price,description
                    "
        ]
	[list]
                    <tr bgcolor="[scratch color]">
                      <td vAlign="top" align="center"><input type=checkbox
name="mv_sku" value="[loop-data options code]"></td>
                      <td vAlign="top" align="center"><input size="3"
name="mv_order_quantity" value=" "></td>
                      <td vAlign="top" align=center><font face="Verdana,
Arial, Helvetica, sans-serif" size="1">[loop-data options description]
&nbsp;[if-item-field platform]-&nbsp;[item-field
platform][/if-item-field]</font></td>
                      <td vAlign="top" align=left><font face="Verdana,
Arial, Helvetica, sans-serif" size="1">$[loop-data options
price]</font></td>
                    </tr>
	[/list]
       [/loop]
  [/if-item-data]
                           </TBODY>
                  </table>
                </td>
              </tr>

            </table>
<table>
<tr>
            <td><p align="center"><br>
            <input type="submit" value="Place into Cart!" name="submit">
</td>
          </tr>

        </table>
        </form>

Thanks in Advanced


J. Scott Andreas :)
IS/Programmer/WebDevelopement
Learning Services, Inc.
e-mail: sandreas@learningservicesinc.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
      ---    __o
     ---   _-\<,_
      --- (_)/ (_)