Jump to content

elisa1212

Members
  • Posts

    37
  • Joined

  • Last visited

1 Follower

Profile Information

  • Activity
    Other

elisa1212's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Ciao! ho trovato questo post https://www.prestashop.com/forums/topic/421596-problem-with-product-packs-on-prestashop-16013/ funziona!!
  2. where can i find pack.php file? thanks in advance ------------------------- OK found! classes/Pack.php
  3. Ciao! questa modifica potrebbe ovviare anche al fatto che creando un pacchetto di prodotti, nel front office, ne si vede solamente uno con versione 1.6.0.13??
  4. Ciao ragazzi uso la versione 1.6.0.13 e ho lo stesso problema :/ avete trovato una soluzione?
  5. how to change special offers module to view special offers related to category?
  6. Nutricao and kyle... have a look to Advanced parameters-->import csv.. there are the example files and the available fields for each type of import
  7. About the first question, you can see the query result in prestashop, or you can download a csv file. For the second, sorry but i don't know :/
  8. Hi Nutricao, go to Advanced Parameters-->Sql manager and create a new query
  9. Ciao lui1969, mi sembra utile per facilitare la ricerca dei prodotti, però vorrei che comparissero solo le categorie attive, non anche quelle che ho disabilitato..
  10. this is my query SELECT p.id_product, pl.name, p.price, p.reference, pl.description_short, pl.description FROM ps_product p LEFT JOIN ps_product_lang pl ON (p.id_product = pl.id_product) LEFT JOIN ps_product_tag pt ON (p.id_product = pt.id_product) WHERE p.active = 1 GROUP BY p.id_product but all description are empty :/
  11. Ciao a tutti, il modulo blocklayered navigation mostra tutte le categorie, anche se sono disattivate. Come posso modificare il codice? Pensavo fosse questo nella pagina blocklayered.php case 'category': $categories = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT cl.name, cl.id_lang, c.id_category FROM '._DB_PREFIX_.'category c INNER JOIN '._DB_PREFIX_.'category_lang cl ON (c.id_category = cl.id_category) WHERE cl.id_lang = '.(int)$filter['id_lang']); foreach ($categories as $category) { if (!isset($attribute_values_by_lang[$category['id_lang']])) $attribute_values_by_lang[$category['id_lang']] = array(); if (!isset($attribute_values_by_lang[$category['id_lang']]['category'])) $attribute_values_by_lang[$category['id_lang']]['category'] = array(); $attribute_values_by_lang[$category['id_lang']]['category'][] = array('name' => $this->translateWord('Categories', $category['id_lang']), 'id_name' => null, 'value' => $category['name'], 'id_value' => $category['id_category'], 'category_name' => $filter['link_rewrite'], 'type' => $filter['type']); } break; e ho tentato di aggiungere WHERE c.active=1 AND... ma non funziona. Inoltre vorrei che le categorie mi comparissero in ordine alfabetico. Qualcuno può aiutarmi? Grazie
  12. hi, my module show all subcategories, even if they're inactive. the code to modify is this on blocklayered.php? case 'category': $categories = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT cl.name, cl.id_lang, c.id_category FROM '._DB_PREFIX_.'category c INNER JOIN '._DB_PREFIX_.'category_lang cl ON (c.id_category = cl.id_category) WHERE cl.id_lang = '.(int)$filter['id_lang']); foreach ($categories as $category) { if (!isset($attribute_values_by_lang[$category['id_lang']])) $attribute_values_by_lang[$category['id_lang']] = array(); if (!isset($attribute_values_by_lang[$category['id_lang']]['category'])) $attribute_values_by_lang[$category['id_lang']]['category'] = array(); $attribute_values_by_lang[$category['id_lang']]['category'][] = array('name' => $this->translateWord('Categories', $category['id_lang']), 'id_name' => null, 'value' => $category['name'], 'id_value' => $category['id_category'], 'category_name' => $filter['link_rewrite'], 'type' => $filter['type']); } break; i tried to add WHERE c.active=1 AND... but it doesn't work. Any help? Also, i would like order subcategories by name. is it possible? Thanks in advance.
×
×
  • Create New...