News:

Looking for documentation? Take a look on our wiki

Main Menu

Change selectbox value to default

Started by CyComodo, October 12, 2012, 12:37:06 PM

Previous topic - Next topic

CyComodo

Hi!

I have one extra program connected with Virtuemart and there is dropdown genericlist where I must choose is that product Pending or Shipped. How can I determine for this field default value so there is always "Shipped"  ?
If this is right line,maybe I can change that somehow:
<td><?php echo JHTML::_('select.genericlist', $this->orderStatus, 'order_status[]', null, 'id', 'name', $product->order_status,'status_'.$i); ?></td>



[attachment cleanup by admin]