Jump to content

haunter

Members
  • Posts

    80
  • Joined

  • Last visited

Recent Profile Visitors

3,120,977 profile views

haunter's Achievements

Newbie

Newbie (1/14)

  • Reacting Well Rare
  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

12

Reputation

  1. Complete Syncrhonization is still in progress - https://github.com/PrestaShop/PrestaShop/issues/19035
  2. It's working, just clear cache after implementation.
  3. For those looking for it in v1.7: $page.page_name
  4. In our case problem was in Block Layered module, try to disable it. We removed few country->id sql from this module
  5. You saved me lot of time! In my case, I had in form for add to cart this: <form action="{$urls.pages.cart}" method="post" class="hiaddtocart"> <input type="hidden" name="token" value="{$token}"> <input type="hidden" name="id_product" value="{$product.id}" class="product_page_product_id"> <input type="hidden" name="id_customization" value="0" class="product_customization_id"> <button class="btn btn-primary fa-shopping-basket" {if ($product.quantity == 0)}disabled{/if} data-button-action="add-to-cart" type="submit"> Add to cart </button> </form> And just replaced $token with $static_token Thank you very much stek. !
  6. //$formattedNumber .= self::DECIMAL_SEPARATOR_PLACEHOLDER . $minorDigits; Formatter.php in PS 1.7.6 row 125. But I didn't tested all side effects which it can have yet.
  7. I did some hotfix, will be resolving this in few weeks, I I'll remember, will put fix here. Hotfix for now - replace in .htaccess: Replace "localhost:8080" with your url. RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^localhost:8080$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] Problem is, that in <img> is empty src - like "something/.jpg" If you like it, Like my post pls.
  8. Die is bad solution. Use Symfony\Component\HttpFoundation\JsonResponse; in your Symfony based controller.
  9. That's really bad solution. In new PrestaShop you should use JsonResponse in your Symfony type controller. use Symfony\Component\HttpFoundation\JsonResponse; return new JsonResponse([ "1" => [ "ID" => "123-265", "ID eshop"=> "System Architect", "Kategorie"=> "$320,800", "Počet položek"=> "2011/04/25", "Kategorie"=> "Edinburgh", "Podkategorie_1"=> "5421", "Podkategorie_2"=> "5421", "Podkategorie_3"=> "5421", "Počet položek eshop"=> "5421" ] ] );
  10. But this is not solving copying image from URL.
  11. For me <Directory /var/www/html> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> Helped
  12. Hi, It is due to: Missing theme configuration file which should be in located in /config/theme.yml You should look into that .zip file and search there for another .zip inside - sometimes there are folders like prestashop1.6 and prestashop1.7. In this child zip should be congig/theme.yml
×
×
  • Create New...