Jump to content

siomosp

Members
  • Posts

    138
  • Joined

  • Last visited

4 Followers

About siomosp

  • Birthday 03/31/1970

Contact Methods

Profile Information

  • Location
    Greece

Recent Profile Visitors

6,900,895 profile views

siomosp's Achievements

Explorer

Explorer (4/14)

  • Reacting Well Rare
  • Dedicated Rare
  • Conversation Starter Rare
  • First Post Rare
  • Collaborator Rare

Recent Badges

21

Reputation

  1. Καλημέρα! Ασχετο με το post αλλά είδα ότι εχεις directadmin kai nginx Μηπως μπορεις να παραθεσεις το nginx.conf
  2. I'm looking for a developer to help me with API integration between Freepik and Prestashop. I want to display, at product page a block, similar with default prestashop, related products, based on a specific search at Freepik The module will be enabled for each product, and the search string will be different for each product The search string will be saved by shop admin Freepik API https://support.freepik.com/s/article/Accessing-the-API?language=en_US&Id=ka03V000000kdZmQAI Panagiotis
  3. Hello, have you managed to solve this, using warehouse theme ?
  4. Hi! Until PS 1.7.5X it was simple to get the mobile phone At view .tpl , {$addresses.delivery->phone_mobile} and voila At PS 1.7.8.1, I am trying to get phone_mobile from {{ orderForViewing.shippingAddressFormatted }} at /src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/customer.html.twig Any ideas how? Thanks
  5. Hi @sampsonzak Can you post the code for getting only part of shippingAddressFormatted For example , delivery address phone_mobile; Thanks Panagiotis
  6. Hi! PS 1.7.5.2 Anybody knows how I can disable the automatic update of Friendly URL for categories, when editing existing category name? (PS_FORCE_FRIENDLY_PRODUCT at ps_configuration affects only products)
  7. Well, I had to do a lot of research for my poor mysql knowledge. But this query works. It generates product url for the given shop, product id , language SET @site = "https://www.stickit.gr/el"; SET @id_lang = 2; SET @id_prod = 18077; SELECT CONCAT_WS("/",@site,GROUP_CONCAT(ps_category_lang.link_rewrite ORDER BY ps_category.level_depth ASC SEPARATOR "/"), (SELECT ps_product_lang.link_rewrite FROM ps_product_lang INNER JOIN ps_product ON ps_product.id_product = ps_product_lang.id_product INNER JOIN ps_category_lang ON ps_category_lang.id_category = ps_product.id_category_default WHERE ps_product_lang.id_lang = @id_lang AND ps_category_lang.id_lang = @id_lang AND ps_product.id_product = @id_prod)) as product FROM ps_category_lang INNER JOIN ps_category on ps_category_lang.id_category = ps_category.id_category WHERE ps_category.nleft <= (SELECT ps_category.nleft FROM ps_category JOIN ps_product ON ps_product.id_category_default = ps_category.id_category WHERE ps_product.id_product = @id_prod) AND ps_category.nright >= (SELECT ps_category.nright FROM ps_category JOIN ps_product ON ps_product.id_category_default = ps_category.id_category WHERE ps_product.id_product = @id_prod) AND ps_category_lang.id_lang = @id_lang AND ps_category.id_category > @id_lang Result https://www.stickit.gr/el/pinakes-se-kamva/pinakes-zografikis/pinakas-zografikis-elia
  8. Hello! I want to use SQL Query to get a full path of a product The following is not working if the default category is a subcategory Can someone help ? Actual url https://www.stickit.gr/en/Posters/series/nothing-worth-having-comes-easy-aesthetic-poster Query result (Missing "Posters" from url) https://www.stickit.gr/en/series/nothing-worth-having-comes-easy-aesthetic-poster I cannot write my sql here, see the screenshot, the code is blocked from prestahop!
  9. Solved... My mistake... /src/PrestaShopBundle/Twig/HookExtension.php renamed by mistake. So many hours for a simple ( and if you pay attention to logs) and easy to solve reason...
  10. After reverting to original php files, the new error at logs is request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: "Attempted to load class "HookExtension" from namespace "PrestaShopBundle\Twig". Did you forget a "use" statement for another namespace?"
  11. Hi! Deleting folders var/cache have no effect, they are generated , same error 500 at BO Deleting app , crashes all site
  12. Prestahop 1.7.5.2 After replacing this files, for fixing vulnerability https://www.cvedetails.com/cve/CVE-2022-21686/ https://github.com/PrestaShop/PrestaShop/commit/6482b9ddc9dcebf7588dbfd616d2d635218408d6 and this https://github.com/advisories/GHSA-mrq4-7ch7-2465 at back office product page, preferences page , modules manager page, and some others i have error 500 . Front office , and most of others BO pages are ok CRITICAL 01:17:04 php Type error: Too few arguments to function PrestaShopBundle\Twig\LayoutExtension::__construct(), 2 passed in /home/stickit/public_html/var/cache/dev/ContainerAzegc1p/appDevDebugProjectContainer.php on line 1770 and exactly 4 expected Any ideas how i can fix it? The error at appDevDebugProjectContainer.php line 1770 is this // admin_international_translations_copy_language if ('/improve/international/translations/copy' === $pathinfo) { $ret = array ( '_controller' => 'PrestaShopBundle\\Controller\\Admin\\TranslationsController::copyLanguageAction', '_legacy_controller' => 'AdminTranslations', '_route' => 'admin_international_translations_copy_language',); if (!in_array($requestMethod, ['POST'])) { $allow = array_merge($allow, ['POST']); goto not_admin_international_translations_copy_language; }
  13. Hi, i want to check zip / postal code against a table at prestashop database , eg ps_retricted_zips ( manually added) If the entered code exists at database , a message* is displayed at customer If not exist, no action Any ideas if/ how it can be done? PS version 1.7.5 "The Checkout" one page checkout module installed *example message Info! Your address considered distant, please select cod payment , or you have to receive the parcel from the nearest city
×
×
  • Create New...