Slayem
Members-
Posts
15 -
Joined
-
Last visited
Contact Methods
- Website
Profile Information
-
Activity
Freelancer
Developer
Module Developer
Recent Profile Visitors
206 profile views
Slayem's Achievements
-
Thank you for your answers, After 4 months of setting up the shop for my client, we received +500 orders and +200 registered customers. In this time, the owner has created physical shops (stores) and he wants a unique management of his stocks. I wanted to know if there is a temporary solution to put in place for the management of its warehouses. Indeed s4lvozesta, the description you detailed is similar to my client's situation. there are online sales and offline sales with a single stock management system. I tried the prestashop multi-store to differentiate product sales in retail and wholesale, but I have abandoned this solution since it requires two different front-store and more management .. it's not recommended to use. In fact, it is planned with my client to set up an ERP system to manage its activities and which integrates a WMS according to its specific needs. Thank you Ali Sami and Nickz for these interesting details.
-
Hello, Have you found a solution for the warehouse configuration in prestashop ? My client needs to configure his stores (or point of sale) and give access to manage the assigned stock for each store manager. Do I have to develop a specific module for a WMS in prestashop ? It was me who chose prestashop for my client's e-commerce. if you have any suggestions for another e-commerce platform that offers a pre-configured warhouse management system, please suggest it .. I will be a taker and I can migrate to this plateforme (I have no constraint or obligation to work with prestashop ! ) Another question: how to configure employee as a commercial to manage the stock he is assigned to in prestashop ? Thanks for you
-
Hello, Thank you for sharing the module. But, the count of ordersList after use the filter of carrier column not change in the table There are 5 orders in my list after filtering by carrier, but the count display 14 items How we can change the count of orders information after using the added filter ? Thanks
- 16 replies
-
- carrier
- admin orders
-
(and 1 more)
Tagged with:
-
Prestashop customers groups
Slayem replied to Interstella5555's topic in Addons, modules and themes developers
Yes, I see and understand your constraint. but note that in prestashop, a customer can have one or more groups. You can do whatever you want with the development of a specific module. -
Prestashop customers groups
Slayem replied to Interstella5555's topic in Addons, modules and themes developers
maybe you can define products accessible only for a group of customers. That is, when the customer who belongs to that specific group logs into the website the specific products appear in the main product catalog. I think, this is possible through a specific development since prestashop does not offer this possibility. I find it unnecessary to force the customer to find these specific products from the my account menu ! -
Hello, finaly, I find a solution : i forgot to declare the right identifier of my data list $this->identifier = 'id_customer'; in methode "displayNewactionLink($token, $id, $name) ", the $id param is filled with the id_customer value Then, when action is called, I find the current values of the row stored in $this->id_object var : public function processNewaction() { $currentRow = $this->id_object; //Do My Actions } I did this quickly by copying lots of code from various forums....I don't understand the prestashop framework yet. I'm really thinking of offering my customers the possibility of migrating to another more flexible and easy-to-use e-commerce framework.
-
Hello, I create a new module. I create a custom admin controller to display a list of data, i create new query and the data is displayed correctly in the page. Then I created a custom button, but when i click in the button the $ID variable to get the current row is null how can I retrieve information from the current row of my table when the user clicks on the button I do many research but the documentation of prestashop is limited ! The columns fields definition --> It's OK , data is diplayed : $this->fields_list = [ 'id_customer' => [ 'title' => $this->module->l('ID Revendeur'), //Titre 'align' => 'center', // Alignement 'class' => 'fixed-width-xs' //classe css de l'élément ], 'code_revendeur' => [ 'title' => $this->module->l('Code Revendeur'), 'align' => 'left', 'class' => 'fixed-width-xs' ], 'phone' => [ 'title' => $this->module->l('Téléphone'), 'align' => 'left', 'class' => 'fixed-width-xs' ], 'firstname' => [ 'title' => $this->module->l('Prénom'), 'align' => 'left', 'class' => 'fixed-width-xs' ], 'lastname' => [ 'title' => $this->module->l('Nom'), 'align' => 'left', 'class' => 'fixed-width-xs' ], 'email' => [ 'title' => $this->module->l('E-mail'), 'align' => 'left', 'class' => 'fixed-width-xs' ] ]; The definition of mu custom button public function renderList() { $this->addRowAction('newaction'); return parent::renderList(); } Display the button in my table data -> it's OK, But the $id and $name vars are null, only $token is with data public function displayNewactionLink($token, $id, $name) { $this->context->smarty->assign(array( 'href' => self::$currentIndex.'&'.$this->identifier.'='.(int)$id .'&action=newaction&token='.($token != null ? $token : $this->token), 'action' => $this->l('Payer la commission du revendeur'), 'icon' => 'icon-mail-forward', )); return $this->context->smarty->fetch($this->module->getLocalPath().'views/templates/admin/list_action_payer.tpl'); } process action methode : public function processNewaction() { // do actions } when i debug my code, the methode processNewaction is called, but I have no information about the row of the table that the user has selected. Thanks for you
-
I named the class_name another timeof my module AdminCustomers as followin--> $tab->class_name = 'AdminCustomers'; and I install the model There is the content in ps_tabs in my data base : ==> the tab customer is work and display the list of customer I deleted the second row, the commission tab is deleted from the BO interface and the tab customer is worked fine. But why if i desactivate my module the sub-tab customer in the BO not working ? Is there a problem in the redirection of the class_name="adminCustomers" and the routes in prestashop BO ? Did the fact that I added a module with an existing class_name affect the core of redirection pages of prestashop? There is the result : Thanks; Salem
-
Hello, I create new sub-menu in BO customer menu as -- Customers -- Customers -- Addresses -- MySubmenu I displayed when user click in "MySubmenu" the same page as Customers, I put in the class_name of the tab : $tab->class_name = 'AdminCustomers'; IT's OK, The list of customer appears when user click on MySubmenu But then i modify my code to assign in "MySubmenu" new class name , but the Origin sub menu "Customers" of BO not workin and display The page is not redirected correctly -- Customers -- Customers --> display error The page is not redirected correctly -- Addresses -- MySubmenu any one have an Idea to resolved this regression in service customers BO page. My Module code : <?php if (!defined('_PS_VERSION_')) { exit; } class commission extends Module { public function __construct() { $this->name = 'myModule'; $this->tab = 'administration'; $this->version = '1.0.0'; $this->author = 'Developpers'; $this->need_instance = 0; $this->ps_versions_compliancy = [ 'min' => '1.7.1', 'max' => '1.7.9', ]; $this->bootstrap = true; parent::__construct(); $this->displayName = $this->l('MyModule'); $this->description = $this->l('My Model description'); $this->confirmUninstall = $this->l('Are you sure you want to uninstall?'); if (!Configuration::get('MYMODULE_NAME')) { $this->warning = $this->l('No name provided'); } } public function install() { $this->installTab(); return parent::install(); } public function uninstall() { $this->uninstallTab(); return parent::uninstall(); } private function installTab() { $tabId = (int) Tab::getIdFromClassName('AdminMyModule'); if (!$tabId) { $tabId = null; } $tab = new Tab($tabId); $tab->active = 1; //$tab->class_name = 'AdminMyModule'; $tab->class_name = 'AdminCustomers'; // I changed it to AdminMyModule // Only since 1.7.7, you can define a route name //$tab->route_name = 'admin_my_symfony_routing'; $tab->name = array(); foreach (Language::getLanguages() as $lang) { $tab->name[$lang['id_lang']] = $this->trans('Commission', array(), 'Modules.Commission.Admin', $lang['locale']); } $tab->id_parent = Tab::getIdFromClassName('AdminParentCustomer'); $tab->module = $this->name; return $tab->save(); } private function uninstallTab() { $tabId = (int) Tab::getIdFromClassName('AdminMyModule'); if (!$tabId) { return true; } $tab = new Tab($tabId); return $tab->delete(); } } I used prestashop 1.7.7.2 Thanks in advance
-
Hello, this is my first installation of prestashop E-commerce web Site. in the setup of "Configure your database by filling out the following fields" :I put the correcte information of server and Login / passwor and database name. but the buttom "Test your data base connect" don't not work, there are no action. also after click on the button "Next", the next page is opened but but nothing is happened. I tried in FireFox and chrome Browser : ajax probleme . Any help to fix this probleme ? Thx