public function getFullPath($product_id) { $query = $this->db->query("SELECT COUNT(product_id) AS total, category_id as catid FROM " . DB_PREFIX . "product_to_category WHERE product_id = '" . (int)$product_id . "'"); if ($query->row['total'] >= 1) { $path = array(); $path[0] = $query->row['catid']; $query = $this->db->query("SELECT parent_id AS pid FROM " . DB_PREFIX . "category WHERE category_id = '" . (int)$path[0] . "'"); $parent_id = $query->row['pid']; $i = 1; while($parent_id > 0) { $path[$i] = $parent_id; $query = $this->db->query("SELECT parent_id AS pid FROM " . DB_PREFIX . "category WHERE category_id = '" . (int)$parent_id . "'"); $parent_id = $query->row['pid']; $i++; } $path = array_reverse($path); $fullpath = ''; foreach($path as $val){ $fullpath .= '_'.$val; } return ltrim($fullpath, '_'); } else { return false; } } Danby
  • Miami:(786) 565-9359 / (786) 565-9368
  •   (786) 955-6027 / (786) 955-6147
  •   (786) 955-6198 / (305) 816-6181
  •   (305) 816-6239
  • Phoenix: (623) 849-1338
  • Address: 16725 NW 20th Ave,
    Miami Gardens, FL 33056

Danby

Display:
Show:
Sort By:
Danby 7 Cu Ft Chest Freezer White
Danby 7 Cu Ft Chest Freezer White Our 7 cu. ft. chest freezer is always a popular option. It feat..
$274.28
Danby 4.4 Cu Ft All Refrigeratory Black
Danby 4.4 Cu Ft All Refrigeratory Black Forget running to the kitchen, enjoy the convenience of c..
$202.86
Danby 11 Cu Ft All Refrigeratory White
Danby 11 Cu Ft All Refrigeratory White The Danby Designer® 11 cu. ft. Energy Star®..
$475.71
Danfoss Electronic Control Unit..
$321.43