Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. lorsque j'ajoute le champ location les erreurs sont disparu et un autre erreur apparu
  3. 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.
  4. Hola. Alguien ha tenido el problema de que cuando pagan con redsys no se refleja la venta en el backoffice ?
  5. 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
  6. Surement dans cette methode : https://github.com/PrestaShop/blocklayered/blob/master/blocklayered.php#L1786
  7. 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 ?
  8. 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.
  9. I masz nie masz tam edytuj kopiuj i usuń ? przy wierszach?
  10. @tuk66 j'ajoute le champ manquant dans le table 1001_stock_available un nouveau erreur s'affiche
  11. As I said, i disabled this option already.
  12. 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_);
  13. 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.
  14. 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?
  15. Je n'utilise pas ce module mais il doit y avoir une requete dans ce module qu'il faut modifier aussi
  16. jestem w phpmyadmin i w tabeli ps_shop_url
  17. Super merci ! Il semblerait que j'avais mal compris le fonctionnement des taxes, maintenant tout est clair. Merci pour ton aide.
  18. tdsoft

    Search Result in Translation

    You must click each links in Left sidebar. 8 results but they are in difference places.
  19. Himanshubishtt

    Setup google analytics in Prestashop 1.7

    @facethefuture sir, that work for me perfectly. In which file do you add that code? Thanks
  20. tuk66

    Why my site is messed up

    Who knows. Do you think a CDN is necessary?
  21. Please try to go to: Advanced Parameters > Administration change Check the cookie's IP address = No
  22. Hola, Manu. De nuevo, muchísimas gracias por la rapidez y por tu dedicación. Ahora mismo me pillas fuera de casa y te respondo desde el móvil, por lo que no puedo echarle un ojo pormenorizadamente a lo que me cuentas, pero en la imagen número 3 (de las primeras), cuando aparece lo de "Indexación por motores de búsqueda" a mí no me sale igual. ¡Un saludo!
  23. Prueba añadiendo a la imagen la clase img-fluid Un saludo.
  24. Himanshubishtt

    Why my site is messed up

    Yes @tuk66 I closed my CDN and then clear the cache from BO. But my question is why that happened. And what precautions should I take so that next time this problem will not occur. Thanks
  1. Load more activity
×

Important Information

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