sutho100
1/17/2019 - 11:46 PM

two variations of meta descriptions depending on category name

   if($data['iserp']['category_name'] == 'vic') {
        $meta_description_variations = $data['iserp']['iserp_name'] . ', Insurance covered. Low prices Neighbour car hire, save Borrow neighbours\' ute from $35/day+33c/km. Utes all over ' . 
           $data['iserp']['category_name'] .
           ' rent by hour Borrow utes today, good range in '.
           $data['iserp']['category_name'] 
           .', insurance covered, keys at car';
        $data['meta_description'] = $meta_description_variations;

      } else if ($data['iserp']['category_name'] == 'nsw') {
        $meta_description_variations = $data['iserp']['iserp_name'] . ', Insurance covered, Low prices Keys are Car, Drive Now Borrow neighbours\' ute from $35/day+33c/km, utes all over '. 
          $data['iserp']['category_name'] . 
          ' rent by hour Borrow ute hourly from $7/hr+33c/km, utes all over '.
          $data['iserp']['category_name']
          .' hire now';
          $data['meta_description'] = $meta_description_variations;
      }