Search the Community
Showing results for tags 'custom module'.
-
Hi, Do you have nay idea how to create different registration form for each multistore shop? What happend... ? I have a Prestashop with multistore feature active. Both shops are different and I need custom registration for each of them. Each registration page will contain...
- 4 replies
-
- css
- javascript
-
(and 6 more)
Tagged with:
-
I've create a parent tab and 3 child tabs on my module with controllers for every tab. But when I click to a tab appears an error: Warning: Attempt to read property "smarty" on null. it seems that context is null This is my install function: public function install() {...
-
I'm trying to add a customer to a group but it doesn't work, I have tried these two things obviously separately, but doesn't do nothing $customer->updateGroup([4]); $customer->addGroups([4]);
- 6 replies
-
- groups
- groups customer
-
(and 2 more)
Tagged with:
-
for the first time, i work on existent custom modules developed by old web developer on prestashop 1.6. My problem is about a custom module used to manage status for new publications. I work on two controllers class in /controller/admin who manage two admin views. I have done some modifications...
-
- controllers admin
- custom module
-
(and 1 more)
Tagged with:
-
I add the product to cart from my custom module by using the following code. It's working. My Javascript file var pid = $('#product_id').val(); $.ajax({ url : url+'&action=savecustomdataAction', type : "POST", data : { customdata : customdata, qty : 1, pid : pid }, success : fun...
- 1 reply
-
- 2
-
-
- custom module
- add to cart
-
(and 1 more)
Tagged with:
-
Hello community, I'm trying to create a custom module, which creates a new text field in the product's edit-page and then get that information on the frontend. This is my current state: https://github.com/sebastian-marinescu/pconconfiguratorurl I initially forked: https://github.com/Pul...
- 1 reply
-
- custom module
- extend
-
(and 1 more)
Tagged with:
-
Hi, I created a module and I want to override an admin controller from an existing module. I created the override folder using the path modules/mymodule/override/modules/marketplace/controllers/admin/AdminSellerProductDetailController.php following https://devdocs.prestashop.com/1.7/modules/con...
- 10 replies
-
- override
- admin controller
-
(and 2 more)
Tagged with:
-
Hello, I've got an issue that I'm trying to solve for several hours now and I'm no closer to figuring it out than when I started. I've created a custom module to add additional product field to product page in BO and subsequently show it on product page at front office. The module adds a column...
- 2 replies
-
- 1.7.5.2
- custom module
-
(and 1 more)
Tagged with:
-
Hi , I developed a module on prestashop 1.7, the file back.js is not called . I added it through the function addJS at the level hookBackOfficeHeader but it doesn't work . public function hookBackOfficeHeader() { if (Tools::getValue('module_name') == $this->name) {...
- 2 replies
-
- custom module
- back.js
-
(and 1 more)
Tagged with:
-
Hi all, I am looking for someone to create a PrestaShop module and I am willing to pay £50. I think this is a fair price as I am experienced with PHP / SQL myself, the only issue for me to not make it myself is I cannot figure out PrestaShop's module/api, and I no longer code regularly s...
- 4 replies
-
- 1
-
-
- create admin module
- create module
-
(and 7 more)
Tagged with:
-
Hello all, I'm struggling with the validation of a configuration form for a custom module, I'm trying to keep the code as neat as possible. I use the helperform class to generate the form, I added the required => true, but a novalidate attribute on the <form> make it useless (apart from disp...
-
Cześć, chcałbym się dopytać co robię źle. Utworzyłem moduł i w funkcji getContent() chciałem wyświetlić produkty które mają przecenę , do tego użyłem $products = Product::getPricesDrop((int)$this->context->language->id, 0, 10); Problem polega na tym ze dostaje komunikat Notice w linii 2376 w...
-
Hi All, I call this hook from a custom module and it's not executed when I add a product. ActionProductSave is OK and also ActionProductUpdate, but Add is not OK. I saw the bug is reported here: http://forge.prestashop.com/browse/BOOM-5337 But I don't find any solution... C...
-
Hi, I'm writing a custom module in Prestashop 1.7.5.2 and need to have a form. I've created a separate tab for my module and on the new page I have a table. When I want to add a new record I have a form and it shows correctly. Unfortunately, when I submit filled/blank form I get an error: access to...
-
- prestashop1.7
- form
-
(and 1 more)
Tagged with:
-
[Résolu]Champ date dans un helper form
renaud2263 posted a topic in PrestaShop pour les développeurs
Bonjour à tous, Dans un module perso j'ai besoin que l'admin puisse saisir une date grâce à un datePicker Donc mon helper : array( 'type' => 'date', 'label' => 'Date de début', 'name' => 'date_debut', 'required' => true, 'col' => 4 ), A l'affi... -
Hello, i am searching but with no luck, some kind of documentation on creating my own cronjobs for my custom module. That is to say, i want to run periodically a function which i have built up in a custom module. What should i do in my module's code to create this functionality ?
- 3 replies
-
- module
- custom module
-
(and 1 more)
Tagged with:
-
¡Hola a todos! Primero que todo, gracias por el espacio, mi nombre es Juan Pablo, y requiero un poco de ayuda con un modulo de método de pago que estoy desarrollando, actualmente estoy trabajando en un modulo para la versión 1.7, para la versión 1.6 tenemos uno desarrollado hace un tiempo que fun...
- 4 replies
-
- prestashop 1.7
- payment methods
-
(and 3 more)
Tagged with:
-
¡Hola a todos! Primero que todo, gracias por el espacio, mi nombre es Juan Pablo, y requiero un poco de ayuda con un modulo de método de pago que estoy desarrollando, actualmente estoy trabajando en un modulo para la versión 1.7, para la versión 1.6 tenemos uno desarrollado hace un tiempo que fun...
-
- prestashop17
- payment getway
-
(and 3 more)
Tagged with:
-
Hi everybody, In my __construct() I have this request: $this->_select = 'a.*, DATE(a.dlc) AS dlc, pl.name AS pname'; $this->_join = ' INNER JOIN `'._DB_PREFIX_.'product_lang` pl ON (pl.`id_product` = a.`id_product` AND pl.`id_lang` = '.(int)$this->context->language->id.')'; $this->...
-
Hi Everybody, I Built a small BO module which has to allow of updater some tables when the admin modifies or adds a product. In this particular case when a product crosses it dematerialized, it is necessary to put fields minimal_quantity in 0 and available_for_order to 1 (because PS does not do...
- 2 replies
-
- back office
- custom module
-
(and 1 more)
Tagged with: