Search the Community
Showing results for tags 'if'.
-
Salve, ho necessità di far sì che il logo nelle fatture PDF cambi in base al gruppo cliente di default dell'utente a cui è attribuita. Nello specifico, se il gruppo clienti è il 4, mostra il mio logo alternativo, altrimenti mostra quello di default. Ho usato la stessa logica che ho usato per...
-
Hallo, ich möchte alle Produkte auf eine bestimmte Kategorie prüfen. Also eine if Abfrage, leider hab ich aktuell keinen Plan davon.
-
Hello, Does anynone know how to write it down in a shorter way? Tu put those ID into arrays or something? {if $product->id|intval == 1478 OR $product->id|intval == 2063 OR $product->id|intval == 3608 OR $product->id|intval == 3511 OR $product->id|intval == 5644 OR $product->id|intval == 5655 O...
-
Witam, Mam pewien problem, troszkę leniwy ale nie mogę znaleźć szybko rozwiązania, a może ktoś potem w Google odnajdzie ten temat. Jak krócej zapisać w Smarty taki warunek? {if $product->id|intval == 1478 OR $product->id|intval == 2063 OR $product->id|intval == 3608 OR $product...
-
Hi, I would like to add my own options inside CONDITION variable as illustrated in the image attached but I dont know where I can change core files. I have added 'fair' and 'great' condition options without success. {if !$product->is_virtual && $product->condition} <p id="product_co...
-
Hi, Here is the situation. I created a employee profile which can only add and edit product. But i want to stop that profile of being able to enable/disable product on the "edit product page". I managed to do it on the product list page. The way i see it, is that i want to hide the html bloc...
-
- controler
- profile_id
-
(and 1 more)
Tagged with:
-
Hi all, I'm working on a website where some products have attributes which will vary in price. So for example, a bag of dog food at 1kg may be £10. A 2kg bag may be £18. These would be variations/attributes of one product. So as not to mislead customers, on the product list, we'd like to int...
- 5 replies
-
- attributes
- if
-
(and 5 more)
Tagged with:
-
Hi all, I have 'small' problem. I am new with doing some advanced functions in presta, and I wanted to create function {if} for product.name truncate. But this one doesn`t work. Below is the code: {if $product.name|truncate >20} <h2 class="featured-product-title"> <a href="{$product.link}...
-
hey all, if anyone could help me, what is lacking in my online store? please help me and give your opinion http://www.empireshop.uni.me
-
Hola, estoy probando a cambiar el css en header.tpl con los parámetros {if} {/if} porque quiero que un div sólo me aparezca en la index. Mi código es el siguiente: {if $page_name == 'index'} <style> #columns {margin-top: 0px;} .bx-wrapper {display:block;} </style> {else} {/i...
-
Hi all, I have downloaded a module that works perfect on my 1.5.3.1 but I have a problem to show only in a concrete category , I can use the exception but it doesnt help in this case...for example is a sizechart module that appear in product description and I would like to show only on t-shirt...
-
Hola, tengo una duda. Existe algun condicional, el cual me identifique si un $group.name existe o no? Gracias!
- 5 replies
-
- condicionales
- if
-
(and 2 more)
Tagged with:
-
Hallo, ich habe ein Problem mit einem Prestashop. Ich verwende den Shop in der rechten alten Version 1.4.4, allerdings mit einem noch älteren Template, weshalb ich immer Smarty2 verwendet habe, damit es noch läuft. Nun musste ich allerdings auf Smarty3 umstellen und mein Template daraufhin anpassen...
-
Hola a todos!! Tengo una duda con mi web y os pido ayuda si es posible, quedaría muy agradecido si me guiais un poco. Os cuento, quiero hacer un condicional IF en product-list.tpl, es simplemente que en la vista de las categorías tipo lista (list), si que quiero que aparezca el botón del ca...
-
- product list
- if
-
(and 2 more)
Tagged with:
-
Bonjour à tous, Je suis novice en ce qui concerne la modification des tpl et je souhaiterais que lorsqu'une de mes catégories contient plus 24 produits la disposition de mes produits soit différentes. Pour disposer mes produits différemment je me débrouille mais c'est la condition que je n'a...