Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 04/26/2019 in all areas

  1. 1 point
    I switched to Ubuntu 18.04 from Windows 10 on my main computer a couple of years back and haven't looked back. Now with Ubuntu's minimal installation option too I have my computer running just the software I want with no annoying desktop apps being pushed on me or that nasty new start menu. Which operating system do you use, and why?
  2. 1 point
    Welcome TimB! Glad to see you made it to the forums. The top Navigation bar contains three language specific links: Sale Items, Gift Certificates, and Home (Home being visible on mobile devices). The rest are the names of Categories that you have created -- in English. Now that you have another language installed and enabled, you can now use the Translate function. In admin, Categories, click the Edit icon for a category. On the editing screen, click the Translate tab. Click "Add Translation". On the page that is shown, choose the language for this translation and enter new data to be shown for this category when the storefront is showing that language. Once finished and Saved, be sure to Clear the Cache.
  3. 1 point
    Please make this edit. In /classes/catalogue.class.php: Lines 1835-1849: From: if (isset($search_data['featured'])) { $where[] = "I.featured = '1'"; } // Only look for items that are in stock if (isset($search_data['inStock'])) { $where[] = $this->outOfStockWhere(); } $whereString = (isset($where) && is_array($where)) ? implode(' AND ', $where) : ''; if (!empty($whereString)) { $whereString = ' AND '.$whereString; } $whereString .= $this->_where_live_from; $joinString = (isset($joins) && is_array($joins)) ? implode(' JOIN ', $joins) : ''; To: if (isset($search_data['featured'])) { $where[] = "I.featured = '1'"; } $whereString = (isset($where) && is_array($where)) ? implode(' AND ', $where) : ''; // Only look for items that are in stock if (true || isset($search_data['inStock'])) { // Forcing a filter for only in-stock items. Includes _where_live_from. $whereString .= $this->outOfStockWhere(false,'I'); // BUG!! Using this method at this location requires using the table alias. } else { $whereString .= $this->_where_live_from; // Adding the _where_live_from to the $whereString. } if (!empty($whereString)) { $whereString = ' AND '.$whereString; $whereString = str_replace('AND AND', 'AND', $whereString); // Hack to kill double verb from empty $where[] causing _where_live_from being first. Note two spaces between verbs. } $joinString = (isset($joins) && is_array($joins)) ? implode(' JOIN ', $joins) : '';


  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up
×
×
  • Create New...