Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Array (
- [0] => Array (
- [parent_geo_zone_id] => 3
- [name] => UK VAT Zone
- [shipping_pool_geo_zone_id] =>
- [email] =>
- )
- [1] => Array (
- [parent_geo_zone_id] => 4
- [name] => UK Shipping
- [shipping_pool_geo_zone_id] =>
- [email] =>
- )
- [2] => Array (
- [parent_geo_zone_id] => 5
- [name] => Texas
- [shipping_pool_geo_zone_id] => 5
- [email] => ammar.instantsoft@gmail.com
- )
- [3] => Array (
- [parent_geo_zone_id] => 6
- [name] => florida
- [shipping_pool_geo_zone_id] => 6
- [email] => ammar_ul_hasan@hotmail.com
- )
- [4] => Array (
- [parent_geo_zone_id] => 7
- [name] => alaska
- [shipping_pool_geo_zone_id] =>
- [email] =>
- )
- )
- 'parent_geo_zone_id' and 'shipping_pool_geo_zone_id '
- if($results->array['parent_geo_zone_id']==$results->array['shipping_pool_geo_zone_id '])
- foreach ($results as $result) {
- $this->data['geo_zones'][] = array(
- 'geo_zone_id' => $result['parent_geo_zone_id'],
- 'name' => $result['name'],
- 'email' => $result['email'],
- 'selected' => isset($this->request->post['selected']) && in_array($result['geo_zone_id'], $this->request->post['selected'])
- );
- if($result['parent_geo_zone_id'] === $result['shipping_pool_geo_zone_id'])
- {
- // any stuff for true
- }
- else
- {
- // any stuff for false
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement