Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. facethefuture

    Setup google analytics in Prestashop 1.7

    I placed it in the header.tpl. I have also tried the Prestashop analytics plugin (did not track correctly) and the a paid for module - Google Analytics Pro - which showed all revenue as direct traffic and did not work with campaigns for adwords / mailing lists etc. I'll give it another go and see if it works and let you know.
  3. Buongiorno, grazie per la risposta. Ho ripristinato di nuovo tutto il backup Prestashop 1.7.4.2, ora mi da questo errore: Warning: require_once(/home/qa2xu3n6/public_html/config/../vendor/autoload.php): failed to open stream: No such file or directory in /home/qa2xu3n6/public_html/config/autoload.php on line 33Fatal error: require_once(): Failed opening required '/home/qa2xu3n6/public_html/config/../vendor/autoload.php' (include_path='.:/opt/alt/php70/usr/share/pear') in /home/qa2xu3n6/public_html/config/autoload.php on line 33 Cosa potrebbe essere? Grazie in anticipo.
  4. Il vous manque une colonne dans votre base de données, celle-ci a été ajouté lors de la mise à jour 1.7.5 : https://github.com/PrestaShop/PrestaShop/blob/fbd75202b69460805724201068f162e4e371a997/install-dev/upgrade/sql/1.7.5.0.sql#L13
  5. C'est une chose de serveur. Demandez à votre administrateur de serveur. It is a server thing. Ask your server administrator.
  6. Il vous manque la librairie php-intl sur votre serveur, elle est nécessaire depuis Prestashop 1.7.5
  7. lorsque j'ajoute le champ location les erreurs sont disparu et un autre erreur apparu
  8. Ce problème est dû à l'extension PHP php-intl. Pourriez-vous s'il vous plaît essayer de l'installer, il est nécessaire.
  9. Hola. Alguien ha tenido el problema de que cuando pagan con redsys no se refleja la venta en el backoffice ?
  10. j'ai lancé le mode debug mais rien ne s'affiche pour le premier fois mais lorsque je repete un autre fois ce message s'affiche
  11. Surement dans cette methode : https://github.com/PrestaShop/blocklayered/blob/master/blocklayered.php#L1786
  12. dans blocklayered.php et la function getProductByFilters il y a ces ' LIMIT ' à la fin de la fonction : if (version_compare(_PS_VERSION_, '1.6.1', '>=') === true) { $this->products = Db::getInstance()->executeS(' SELECT p.*, ' . ($alias_where == 'p' ? '' : 'product_shop.*,' ) . ' ' . $alias_where . '.id_category_default, pl.*, image_shop.`id_image` id_image, il.legend, m.name manufacturer_name, ' . (Combination::isFeatureActive() ? 'product_attribute_shop.id_product_attribute id_product_attribute,' : '') . ' DATEDIFF(' . $alias_where . '.`date_add`, DATE_SUB("' . date('Y-m-d') . ' 00:00:00", INTERVAL ' . (int) $nb_day_new_product . ' DAY)) > 0 AS new, stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity' . (Combination::isFeatureActive() ? ', product_attribute_shop.minimal_quantity AS product_attribute_minimal_quantity' : '') . ' FROM ' . _DB_PREFIX_ . 'cat_filter_restriction cp LEFT JOIN `' . _DB_PREFIX_ . 'product` p ON p.`id_product` = cp.`id_product` ' . Shop::addSqlAssociation('product', 'p') . (Combination::isFeatureActive() ? ' LEFT JOIN `' . _DB_PREFIX_ . 'product_attribute_shop` product_attribute_shop ON (p.`id_product` = product_attribute_shop.`id_product` AND product_attribute_shop.`default_on` = 1 AND product_attribute_shop.id_shop=' . (int) $context->shop->id . ')' : '') . ' LEFT JOIN ' . _DB_PREFIX_ . 'product_lang pl ON (pl.id_product = p.id_product' . Shop::addSqlRestrictionOnLang('pl') . ' AND pl.id_lang = ' . (int) $cookie->id_lang . ') LEFT JOIN `' . _DB_PREFIX_ . 'image_shop` image_shop ON (image_shop.`id_product` = p.`id_product` AND image_shop.cover=1 AND image_shop.id_shop=' . (int) $context->shop->id . ') LEFT JOIN `' . _DB_PREFIX_ . 'image_lang` il ON (image_shop.`id_image` = il.`id_image` AND il.`id_lang` = ' . (int) $cookie->id_lang . ') LEFT JOIN ' . _DB_PREFIX_ . 'manufacturer m ON (m.id_manufacturer = p.id_manufacturer) ' . Product::sqlStock('p', 0) . ' WHERE ' . $alias_where . '.`active` = 1 AND ' . $alias_where . '.`visibility` IN ("both", "catalog") ORDER BY ' . Tools::getProductsOrder('by', Tools::getValue('orderby'), true) . ' ' . Tools::getProductsOrder('way', Tools::getValue('orderway')) . ' , cp.id_product' . ' LIMIT ' . (((int) $this->page - 1) * $n . ',' . $n), true, false); } else { $this->products = Db::getInstance()->executeS(' SELECT p.*, ' . ($alias_where == 'p' ? '' : 'product_shop.*,' ) . ' ' . $alias_where . '.id_category_default, pl.*, MAX(image_shop.`id_image`) id_image, il.legend, m.name manufacturer_name, ' . (Combination::isFeatureActive() ? 'MAX(product_attribute_shop.id_product_attribute) id_product_attribute,' : '') . ' DATEDIFF(' . $alias_where . '.`date_add`, DATE_SUB("' . date('Y-m-d') . ' 00:00:00", INTERVAL ' . (int) $nb_day_new_product . ' DAY)) > 0 AS new, stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity' . (Combination::isFeatureActive() ? ', MAX(product_attribute_shop.minimal_quantity) AS product_attribute_minimal_quantity' : '') . ' FROM ' . _DB_PREFIX_ . 'cat_filter_restriction cp LEFT JOIN `' . _DB_PREFIX_ . 'product` p ON p.`id_product` = cp.`id_product` ' . Shop::addSqlAssociation('product', 'p') . (Combination::isFeatureActive() ? 'LEFT JOIN `' . _DB_PREFIX_ . 'product_attribute` pa ON (p.`id_product` = pa.`id_product`) ' . Shop::addSqlAssociation('product_attribute', 'pa', false, 'product_attribute_shop.`default_on` = 1 AND product_attribute_shop.id_shop=' . (int) $context->shop->id) : '') . ' LEFT JOIN ' . _DB_PREFIX_ . 'product_lang pl ON (pl.id_product = p.id_product' . Shop::addSqlRestrictionOnLang('pl') . ' AND pl.id_lang = ' . (int) $cookie->id_lang . ') LEFT JOIN `' . _DB_PREFIX_ . 'image` i ON (i.`id_product` = p.`id_product`)' . Shop::addSqlAssociation('image', 'i', false, 'image_shop.cover=1') . ' LEFT JOIN `' . _DB_PREFIX_ . 'image_lang` il ON (image_shop.`id_image` = il.`id_image` AND il.`id_lang` = ' . (int) $cookie->id_lang . ') LEFT JOIN ' . _DB_PREFIX_ . 'manufacturer m ON (m.id_manufacturer = p.id_manufacturer) ' . Product::sqlStock('p', 0) . ' WHERE ' . $alias_where . '.`active` = 1 AND ' . $alias_where . '.`visibility` IN ("both", "catalog") GROUP BY product_shop.id_product ORDER BY ' . Tools::getProductsOrder('by', Tools::getValue('orderby'), true) . ' ' . Tools::getProductsOrder('way', Tools::getValue('orderway')) . ' , cp.id_product' . ' LIMIT ' . (((int) $this->page - 1) * $n . ',' . $n), true, false); } } if (Tools::getProductsOrder('by', Tools::getValue('orderby'), true) == 'p.price') Tools::orderbyPrice($this->products, Tools::getProductsOrder('way', Tools::getValue('orderway'))); return $this->products; } Est-ce que la modif ne serait pas à faire ici ?
  13. tuk66

    Why my site is messed up

    I saw different issues with CDN when serving dynamic content which was wrongly cached. Nginx for static content, images lazy loading and maybe a page cache module do a similar service.
  14. I masz nie masz tam edytuj kopiuj i usuń ? przy wierszach?
  15. @tuk66 j'ajoute le champ manquant dans le table 1001_stock_available un nouveau erreur s'affiche
  16. As I said, i disabled this option already.
  17. joseantgv

    Módulo Correos incompatible

    Abre el fichero /correos.php y comenta esta línea: $this->ps_versions_compliancy = array('min' => '1.6.0.4', 'max' => _PS_VERSION_);
  18. D'un côté j'aurais répondu exactement la même chose, l'erreur 500 s'affiche sur votre site quand le debug est activé ( possible en xhr ) et sinon on regarde les logs tu souhaites quoi de plus comme réponse.
  19. Himanshubishtt

    Why my site is messed up

    @tuk66 yes absolutely. The site contains a lot of images and static content that I need to cache. Why do you think CDN is the problem?
  20. Je n'utilise pas ce module mais il doit y avoir une requete dans ce module qu'il faut modifier aussi
  21. jestem w phpmyadmin i w tabeli ps_shop_url
  22. Super merci ! Il semblerait que j'avais mal compris le fonctionnement des taxes, maintenant tout est clair. Merci pour ton aide.
  1. Load more activity
×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More