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; } } Xantrex
  • 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

Xantrex

Display:
Show:
Sort By:
Xpower 3000 3000 Watt Mobile Inverter (GFCI, Hardwire and UL458)
Xpower 3000 3000 Watt Mobile Inverter (GFCI, Hardwire and UL458) ..
$416.67
Xantrex XPower Inverter 1000W Off Grid -1000 W 120v 60hz
Xantrex XPower Inverter 1000W Off Grid -1000 W 120v 60hz ..
$115.00
Xantrex XPower 5000 Inverter (Dual GFCI, Hardwire, UL458)
XPower 5000 (Dual GFCI, Hardwire, UL458) ..
$621.43
Xpower Powerpack 1500
Xpower Powerpack 1500 Backup Power for Emergency Preparedness The XPowerâ„¢Powerpack 1500 is a bac..
$479.98
Freedom 458 3012 Single Output & Freedom Remote Control
AC Power Inverter with High Surge Capability, 3-Stage Charger With filtered modified sine wave ou..
$1,319.14
Xantrex AB 5628 160V 60 amp DC Breaker
Xantrex AB 5628 160V 60 amp DC Breaker ..
$32.00
3 - 5 DaysInquire Now
20A DC Circuit Breaker
20 amp circuit breaker for small DC loads. Mounts on the side of the DC250 or DC175 ..
$27.00
3 - 5 DaysInquire Now