Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select class=" input-text custgroup required-entry" name="product[tier_price][<?php echo $i; ?>][cust_group]" id="tier_price_row_<?php echo $i;?>_cust_group">
- <option value=''>Select Customer Group</option>
- <option <?php if($tierPrice['cust_group']=='32000') echo 'selected = "selected"';?> value='32000'>ALL GROUPS</option>
- <?php $customer = Mage::getModel('customer/group')->getCollection();
- foreach($customer as $type) {?>
- <option <?php if($tierPrice['cust_group']== $type['customer_group_id']) {echo 'selected = selected"';}?> value="<?php echo $type->getCustomerGroupId();?>">
- <?php echo $type['customer_group_code']; ?></option>
- <?php } ?>
- </select>
Add Comment
Please, Sign In to add comment