Jump to content

Search the Community

Showing results for tags 'class'.

  • Search By Tags

    • class ×
    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. I need to parse any variable passed to any static page in Prestashop and replace anything that starts with "http" (in plain text) with "a href"s. I already have the regular expression but I need to know how can I do that using a module without modifying the core functions and without using override...
  2. Hola, logré desarrollar una sincronización entre un ERP y Prestashop mediante los webservice, Instalé un módulo de cotizaciones para Prestashop, y quiero desarrollar un webservice que me permita obtener dichas cotizaciones. He visto la documentación oficial, y en los foros,...
  3. Hello everyone, i need some help please. So i initially created a backup of my website to copy my site and create one test environnement etcc ... in another domain i had many error but finally it works but only in debug mode when i disable it it gives me a blank page with nothing, also when it...
  4. Hi everyone, I'm currently trying to override a module to adapt it to the functioning of the site. The goal would be to override a custom class ModuleClass from this module (located in /modules/<module>/classes/ModuleClass.php) which extends ObjectModel. I tried this by putting an override...
  5. Hello, I built up a module which was seeming to work quite fine on product page load, but I'm getting an error when selecting a product variant: ClassNotFoundException Attempted to load class "MyModule" from the global namespace. Did you forget a "use" statement? With the module, I'm ove...
  6. Hi, I overrided Product class, added a new attribute and overrided getproducts function from cart class. I need this attribute in cart-detailed-product-line.tpl. I tried to access it with {$product.my_attribute} but it doesn't work. And when I try {var_dump($product)} I can see my attribute, h...
  7. Hi, i would like visible only on mobile version a link, i try very much possibility like this post https://www.prestashop.com/forums/topic/384777-solved-hide-left-column-on-mobile/ and this table : Available classes Use a single or combination of the available classes for...
  8. Bonjour à tous, Je découvre Prestashop ces derniers jours. Dans le cadre d'un recrutement je dois réaliser un module assez simple. Actuellement j'ai réussi à dockériser un environnement de développement. J'utilise l'outil de génération de module afin de produire une structure de module....
  9. Buenos dias o tardes o noches, buenas para tod@s He intentado actualizar mi Prestashop 1.6.0.6 y como ha fallado he vuelto atrás y resulta que puedo acceder a todo menos a los productos donde me sale el siguiente error: "Fatal error: Class 'TreeCore' not found in /var/www/vhost/bretones.com/home...
  10. Hello, I'm trying to add some variable to the product-list.tpl but I'm not able to achieve this. I have tried some things... First in my tpl file I added: {$product.msolla|var_dump} {$msolla|var_dump} And I updated \controllers\front\ProductController.php, function initConten...
  11. PORTUGUES: Eu crie uma pasta junto com os arquivos do prestashop. Queria saber como eu faço uma requisição para usar como as funcoes de validação de senha fora do ambiente prestashop. ENGLISH: I create a folder along with the prestashop files. I was wondering how I make a request to use as the...
  12. When i was accessing module part in back-end i got this error [PrestaShop] Fatal error in module file /public_html/modules/bankwire/bankwire.php: Cannot redeclare class BankWire can any one help. i am new to coding
  13. Hi all, How can I create a new method in a class? I need a new method in the Link class to get a secundary image. I tried an override but it didn't work. Any help? Cheers!
  14. Hi, we have tried to upgrade our PrestaShop in test from 1.7.1.1 to 1.7.3.0 using the upgrade module. After that the site doesn't work anymore, it displays error 500. We have set the debug mode and we see this: Warning: include(/var/www/html/sito/vendor/composer/../../src/Adapte...
  15. Hi everybody, I just tryed to install prestashop 1.7.4.2 I got this error : Fatal error: Class 'Smarty_Internal_Undefined' not found in /var/www/vhosts/kartal.in/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 164 Can you help m...
  16. en prestashop 1.7 me encontré una clase que esta en src/prestashopbundle/command/UpdateLicensesCommand.php dentro de el viene viene esto me imagino que de aquí es donde toma los archivos para la licencia de prestashop pero si lo modifico y instalo no pasa nada como mando llamar a es...
  17. Buenas he subido mi web de prestashop de local a remoto. La web me va bien pero al entrar en el backoffice me sale el siguiente error. error: Cannot declare class Symfony\Component\HttpFoundation\ParameterBag, because the name is already in use in /var/www/vhosts/43/228619/webspace/http...
  18. Hello Community i am using prestashop 1.7, I have a 30 000 to import in prestashop, so i want to do it automatiquely into Database. The problem is how to resize the images of my product automaticly us the 5 type of images in prestashop. I wanna know witch class is responsible of resizing image...
  19. Hello out there, Prestashop version: 1.6.1.19 I have a problem with allowing orders where products are not in stock. I selected the setting 'displayed text when backordering is allowed' so it is allowed to order products which not are in stock. But heres the problem -...
  20. Hello, i'm starting with prestashop, and however i already scanned the documentation link and made some searchs, i couldn't find the answer for this doubt of mine. So, if anyone could help me i would be really glad. In this first days of contact with prestashop, i have found some el...
  21. Hi, I want to make changes to this file /tools/minify_html/minify_html.class.php Is there a way I can override this file so the changes are permanent even with upgrading prestashop? I'm using version 1.6.1.10. Thanks
  22. Hey everyone, I'll to start by saying that I'm new to Prestashop development. Just downloaded the dev branch So here is my problem. I'm currently working on a project that will allow me to replace the products being displayed in the shop (that are being fetched from Prestashop database) and get t...
  23. Hi, I want to know what will be valiation class for comma separated data saving in table. For example 1,2,5,9 like this. Some of the validation class are isString,isBool,isGenericName,isBool. I tried isInt and isString but both not working and gives invalid values error. Any Ide...
  24. Hi, Version used PS: 1.6.1.17 I notice a strange behavior with the method Group::getCurrent() in core class GroupCore that retrieve the current default group of the user context. To reproduce the issue : Create a category, and assign to only default group (means only users with...
  25. Hi, I have multi-select drop down option and it is working fine. I am storing values in database like "1,2,3". I was having 'validate' => 'isString' validation in class file for field. Since field values now change, so this validation not working. I want to know validation class...
×
×
  • Create New...