[*] classes : new constant Product::PTYPE_SIMPLE /PTYPE_PACK/PTYPE_VIRTUAL

This commit is contained in:
mMarinetti
2012-01-04 11:06:08 +00:00
parent 649837fec6
commit 39f8669fc9
3 changed files with 20 additions and 5 deletions
@@ -67,15 +67,15 @@
<div>
<label>{l s='Type:'}</label>
<label style="font-weight:normal;width:100px;text-align:center;">
<input type="radio" name="type_product" id="simple_product" value="0" />
<input type="radio" name="type_product" id="simple_product" value="{Product::PTYPE_SIMPLE}" />
{l s='Product'}
</label>
<label style="font-weight:normal;width:100px;text-align:center;">
<input type="radio" name="type_product" id="pack_product" value="1" />
<input type="radio" name="type_product" id="pack_product" value="{Product::PTYPE_PACK}" {if $is_pack}checked="checked"{/if} />
{l s='Pack'}
</label>
<label style="font-weight:normal;width:500px;text-align:center;">
<input type="radio" name="type_product" id="virtual_product" value="2" />
<input type="radio" name="type_product" id="virtual_product" value="{Product::PTYPE_VIRTUAL}" />
{l s='Virtual Product (services, booking and downloadable products)'}
</label>
</div>