Search the Community
Showing results for tags 'variable'.
-
Undefined variable specific_price_output in Cart override
pl.sabotinov posted a topic in Bug reports
Hello, in Prestashop 8.1.4 i have made an override of the Cart.php file. I have done this override many times in different older versions of PS. So i am overriding the function getPackageShippingCost(). The goal is to add an aditional shipping cost for each product, calculated during cart execu...-
- specific_price
- undefined
-
(and 3 more)
Tagged with:
-
I have a public function in php page like this public function _getProductID($id_product) { return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('SELECT `id_product` FROM `'._DB_PREFIX_.'packing_product` WHERE `id_product` = '.(int)$id_product); } public function hookDisplayProductAddition...
-
Does anybody know how to insert variables (non-html) code into the CMS pages? We are running a multishop with shared CMS-pages, but we want our sitename to be variable in these pages. One of the the variables should be $SHOP_NAME in a standaard CMS page with the privacy policy. Pages like these ofte...
-
Bonjour le forum, avais vous une solution (/customs code / manip / ou module) Prestashop 1.7 Pour créer des variables de mails, comme " Bonjour {firstname} {lastname}". Je voudrais récupérer les délais de livraison de la commande et l'injecter dans l'email de récap. Je vous remer...
-
Good afternoon, I have encountered this problem, when creating a product with variables I have configured so that each one of the variables has its corresponding image, the problem comes when when viewing the product and choosing any of the variables the cover image does not change, if it it do...
-
Hello there. I want to redirect those who enter the site from one country to another site. I have a module that overrides the Address class. But this class only works on the home page. When I enter the home page, I can navigate successfully. But there is no redirection when entering other pages. How...
-
Bonjour, j'ai un client qui est dans le commerce de bouche et il souhaite effectuer le sytème suivant : Le client commande par exemple un bloc de fromage de 1,2kg. Sur la balance, il ne fera pas 1,2kg mais 1,152 ou 1,350. Il prend le risque soit de léser le client soit de perdre de l'...
-
- poids variable
- variable
-
(and 2 more)
Tagged with:
-
Hi, I'd like to add the transaction id right after the payment method in the invoice. to retrieve the data, i think i have to do something like that: $sqltrans = 'SELECT `transaction_id` FROM `'._DB_PREFIX_.'ps_order_payment` WHERE `order_reference` = '.$order_reference; $tran...
-
Hola, quiero saber cómo puedo agregar el número de factura en mi enlace, agregué lo que es la fecha, pero también necesito el número de factura, adjunto una imagen, mi ruta es así, pero no sé cómo poner el número de factura. Hello, I want to know how I can add the invoice number in my link, I a...
-
J'ai ajouté un champ dans la page Commander juste au dessus du champ Commentaire Client (Si vous voulez ajouter un commentaire au sujet de votre commande, etc ... ). Maintenant bien sur, il faut que je puisse récupérer cette info dans le courriel que je reçois (template new_Order). C'est là que l...
- 1 reply
-
- formulaire
- form
-
(and 1 more)
Tagged with:
-
Hola estoy montando una tienda online de imprenta y nos gusta el modulo que tiene esta web https://selfprinting.es/lonas-publicitarias/lona-publicitaria-blockout-opaca.html , para elegir las características del producto, y lo mas importante que cada fecha de entrega tiene un precio diferente y la op...
-
Currently I am modifying the feeder module because my client wants to display a list of certain values. However, one of these values is the name of the supplier(s), but it doesn't seem to display the name. What I have already tried is adding the following smarty variable to rss.tpl: {...
-
- feeder
- feeder prestashop
- (and 8 more)
-
Hi everyone, I have a problem with combinations. I have three parameters to configure my product, the problem is that the variables don't update as they should. For example, the "Red" type of pvc should only have a thickness of 2mm \ 200mm, instead all are displayed. If I purposely se...
-
Jeg søger en liste over prisvariabler som kan bruges i mails med f.eks. ordrebekræftelse. I dag står der f.eks. {products_total} som viser den totale ordre produktpris inkl. moms. Her ville jeg gerne have den uden moms. Det samme gælder på produktlinje niveau, hvor i alt prisen på produktlinjen...
-
Buon di a tutti. Come posso far sì che i prodotti della home cambino continuamente automaticamente per evitare che restino gli stessi e si modifichino solo il usando carico nuovi articoli?!
-
Bonjour, J'ai besoin de vous, car il y a une variable smarty que je voudrais bien récupérer, à savoir id_order_return_state, pour pouvoir mettre une condition dans mon fichier /pdf/order-return.summary-tab.tpl. Je souhaite afficher dans le pdf généré par Prestashop une phrase en fonction de l...
-
- génération pdf
-
(and 3 more)
Tagged with:
-
Hola, Necesito mostrar en la ficha de producto junto a la referencia, el valor asignado a la "Ubicación de stock" de la combinación que se seleccione. ¿Alguien sabe cual es la variable para mostrar esa información? He estado buscando, pero no he sido capaz de encontrarla. Al ser la de...
- 1 reply
-
- combinacion
- producto
-
(and 3 more)
Tagged with:
-
Θέλω να προσθέσω μία μεταβλητή στο $product όπου θα την χρησιμοποιώ και στο product page και στα product listing (category, search, manufacturer κτλ) Την μεταβλητή θα την υπολογίζω στον controller και μετά στο template ανάλογα με την τιμή θα εμφανίζω κάτι. Δοκίμασα να κάνω override το prod...
-
Hi, i used below to get a tracking pixel works fine but after the last update (1.7.5.1) it doesnt work any more, any idea please? $order = new Order((int)$this->id_order); $this->context->smarty->assign('order_total', $order->getTotalProductsWithTaxes()); in overrid...
-
- variable
- {$order_total}
-
(and 1 more)
Tagged with:
-
controller Aide pour Controller dans un Module
Samos posted a topic in PrestaShop pour les développeurs
Bonjour, Je suis en train de faire un module qui affiche un bouton similaire a celui du panier mais pour générer un devis en pdf. On m'a conseillé de faire un controller. Tout fonctionne et j'arrive a accéder a la page tpl demandée. Cependant j'aimerais afficher mon panier sur la page...