Jump to content

Search the Community

Showing results for tags 'Smarty'.

  • Search By Tags

    • smarty ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


  1. Hello, In PrestaShop 1.7 this smarty code not work: {convertPrice price=$product.price} Appears this message: unknown tag "convertPrice" How use "convertPrice" in template for PrestaShop 1.7? Regards
  2. Hi: I'm trying to setup a custom message both in my product page and product list page for product backorders, but I'm having a bit of an issue. In the product page it works as intended. Shows In Stock when theres stock for the combination selected, returns Backorder message when $product.quant...
  3. Bonjour, Je rencontre un souci avec le format de la date de disponibilité qui s'affiche toujours dans le format yyyy-mm-dd malgré le changement de configuration dans le backoffice. La seule langue sélectionnée est le français. Quelqu'un saurait quel fichier php modifier...
  4. This is my shop and on some products the price is not been visible, I comproved that the products are configured correctly, and the price should been visible. (1st photo) On the template I've tried to var_dump the $product.price variable every line to see how far this variable goes (2nd photo)...
  5. I'm encountering a problem with my Prestashop 1.7 website, specifically when the TM Mega Menu module v1.7.2 (by Alexander Grosul from TemplateMonster) is enabled. The error I receive is: (1/1) SmartyException Source: Missing name in smarty_template_source.php line 169 at Smarty_T...
  6. I have created my first custom prestashop(v8) module. For some reason the tpl file is getting html encoded in the website frontend. I inspected the site code and noticed the tpl file content is getting added to the site as follow <div class="product-additional-info"> &lt;label for=&quot;custom_in...
  7. Hi, I'm asking for help cause I'm out of ideas. Since December 2021, my Prestashop 1.6.1.9 started to crash and return blank pages until the website was not responding at all. I found out that there are new folders created in /cache/smarty/compile & /cache/smarty/cache, as 'root' user...
  8. Hola, tengo un problema con la cache activada de Smarty, por ejemplo con el módulo de Powerful Form Generator si está activado no me guarda ninguno de los formularios que hay, desactivado funciona. Otro caso es, por ejemplo, si modificamos algún tpl o css de un módulo sobrescribiendo en el th...
  9. Hi all, How can i get the customer group id in smarty (Product list page and product detail page)? Now i have the customer ID but i dont wanna know how to change it to the group id. The customer code i have: {if $cookie->id_customer == 3} Thanks in advance
  10. Hi guys, we use Prestashop 1.6.1.10 and we have a strange problem hapenning. When i activate APCu or Memcache(-d) Cache, we have very fast frontend, but we can't work in the backend. For example, i go into one product and change the Meta Title. After i click save in the input field stand...
  11. I want to show certain menu item with an id only for certain language versions. How do I achieve this with Smarty? Can someone please explain or provide an example? Thanks
  12. Hello Guys Can anybody help me with this problem? A module i bought for a shop makes this call in one of its TPLs: href="{$link->getModuleLink('b2bregistration', 'b2b', array(), true)|escape:'htmlall':'UTF-8'}" The result if the following error: This issue happens i...
  13. Hi, I’m trying to get and display a product’s position within a category. The position that you can find in the backend on the right side by filtering products by category. I can’t find anything about this on the internet, can anyone help? I’m using Prestashop 1.7.8.7
  14. Hello community, I'm facing an issue i'm having trouble to fix (on PS 1.7.3, php 7.1) Whoops, looks like something went wrong. 1/1 ContextErrorException in 1c00f78dace25d509ec3a1f54176b7ae2000accf.module.ps_languageselector.tpl.php line 74: Notice: Undefined index: current_currency in...
  15. Dear Team, I have installed 'Prestashop' software on my website. Backend seems to be working fine, however while trying to access the frontend store I get the following error: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/vhosts/solar...
  16. Bonjour à tous, Voilà j'essaye de récupérer en js les variables $order.totals et $order.products dans mon fichier order-confirmation.tpl pour le tracking microsoft Mais impossible de récupérer les valeurs qui existent bien sur cette page, car elles sont utilisées quelques lignes plus haut...
  17. Site: https://locomotif-shop.com/ Version Prestashop: 17.7.0 Bonjour, j'ai un soucis avec les permissions de mes répertoires, en particulier ceux du répertoires smarty: var->cache->prod->smarty Je n'arrive pas a mettre tous les dossiers en 755, il se remettent automatiquement...
  18. Hallo Zusammen Seit dem Upgrade auf PS 1.7.8.3 und mittlerweile PS 1.7.8.5 habe ich von Zeit zu Zeit eine Blank Page nach dem Cache löschen. Neu habe ich es auch auf im Front Office, wenn ich von der Startseite auf die Produktseite klicke. Der Fehler ist: mod_fcgid: stderr: PHP Fatal error:...
  19. Hi, I have a multistore with 2 stores: Store 1 : theme use is "at_auros Version 2.2.0 Leotheme Team" Store 2 : theme use is "leo_nom Version 1.0.1 Leotheme Team" When i am on store 1, the user icon and cart icon are display: But when i go to the store 2 and return on s...
  20. Buenas, En los mails de aviso de producto con stock bajo, necesito incluir la referencia de la combinación del producto. (PS 1.7.6) Modificando algunos archivos he conseguido como máximo añadir el dato de la referencia del producto, siguiendo este hilo (https://www.prestashop.com/forums/to...
  21. Hello, I'm using Prestashop 1.7.5.0. I am trying to display the minimum amount to reach in the cart to benefit from a voucher code. By default, when you indicate a promo code, the following text is displayed "Your order does not reach the amount...". Is there a smarty variable th...
  22. In multistore mode, different shops have same template, but slightly different settings like colors, logos, etc. This is easily accomplished by adding shop-specific classes to the templates. Like when adding a shop id to the class-names in layout-both-columns.tpl. However only the shop-name, sh...
  23. Good morning to everyone, I'm experiencing problems with my Prestashop 1.7.6.1 back office. The problem is when I stay a little longer in the administration and then I try to load some other page, for example, the orders page, it logs me out of my account and I can't log back in, I'm stuck i...
  24. My controller file inside my module (modules\individualpackaging\controllers\front\task.php) :- class IndividualpackagingTaskModuleFrontController extends ModuleFrontController { public function __contruct() { parent::__contruct(); } public function init() { p...
  25. SELECT ROUND(AVG(p.price) ,0), c.id_category FROM psup_product p INNER JOIN psup_category_product pc ON p.id_product = pc.id_product INNER JOIN psup_category_product c ON pc.id_category = c.id_category GROUP BY c.id_category want to use this command on php and assign smarty variable to use on cat...
×
×
  • Create New...