Search the Community
Showing results for tags 'new module'.
-
Hello Everyone, We have released prestashop categories on homepage Module. The prestashop 1.7 categories on homepage allows you to display product categories on your PrestaShop homepage. Default PrestaShop doesn’t have a facility to display product categories on the PrestaShop homepage. This module helps to show all your product categories from the homepage. Customers are usually looking for product categories when they enter an e-commerce homepage. Home page category modules give customers a close look at products and give them a glimpse of how many category products are available in your store. You can display your product categories by setting the number of columns in the category. This module has multiple settings and customization options. Configuration: Module > Module Manager > Search (Classy Homepage Category Module) > Configure KEY FEATURES: Show categories as box layout Show categories as tree layout Show Sub Category 2 Different Layouts Allow change color, style, column Set Category image size With or without image Extendable from theme Show product count Fully translatable Easy to Use Lifetime Updates Compatible with any PS Theme Friendly Support Risk Free Guarantee** Installation Requirements: PHP version 7.2 or greater PrestaShop version 1.7 or greater 👇👇 DOWNLOAD MODULE FROM HERE Classy Home Category Module LIVE DEMO We are eagerly waiting to receive your feedback in the comment box below. 😃 Cheers, ClassyDevs Team
-
- prestashop product
- display categories
-
(and 24 more)
Tagged with:
- prestashop product
- display categories
- prestashop homepage
- display categories home
- prestashop homecategories
- prestashop homepage category
- home page
- product categories
- home
- categories
- prestashop addons
- category home
- home categories product
- ps1.7
- addons
- product category modul
- category module
- homecategories
- product category
- homecategory
- categories module
- home product categories pro
- module prestashop 1.7
- prestashop
- new module
- homepage
-
Hi! I am trying to submit a new module about reCaptcha but is refused by Technical team in my seller account. The main problem is that I have never received an email or a comments in seller account page to know why is rejected. Also I did al the checks and run my module in validator page and everything is ok. This is my second module, so I could submit another one without problems and when I was working in the module before I always received an email if my module was rejected. Someone had this experience or know a good and fast way to contact Technical team? Thank you! Sebastián
- 3 replies
-
- validation
- new module
-
(and 2 more)
Tagged with:
-
I am creating a new module that create, read, update and delete a table in the database. Thus, I am creating a new ObjectModel for this module. Below is what I did, appreciate if someone can point out what I am doing wrong that the Controller not reading the classl: I created a classes folder in the module directory, and place the following 'Measurement.php' file in it: <?php class MeasurmentCore extends ObjectModel { public $id_customer = null; public $alias; public $weight; public $height; public $date_add; public $date_upd; public $deleted = 0; public static $definition = array( 'table' => 'measure', 'primary' => 'id_measure', 'fields' => array( 'id_customer' => array('type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false), 'alias' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 32), 'weight' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true), 'height' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true), 'deleted' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'copy_post' => false), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat', 'copy_post' => false), 'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat', 'copy_post' => false), ), ); } Then in the ModuleFrontController 'measurements.php' located in the 'measure/controllers/front/' <?php Class MeasureMeasurementsModuleFrontController extends ModuleFrontController { protected $_measure; public function init() { parent::init(); include_once(_PS_MODULE_DIR_.'measure/classes/measurement.php'); $this->_measure = new Measurement($id_measure); } public function initContent() { parent::initContent(); $this->setTemplate('measure.tpl'); } } When I load the '/index.php?fc=module&module=measure&controller=measurements' page, I get this error: Fatal error: Class 'Measurement' not found in C:\wampn\.*.*\modules\measure\Controllers\front\Measurements.php on line 11 Thanks in advance,
-
I find a custom module in git hub . https://github.com/Web-Wave/ww-custom-module-prestashop what you think about this module. I upload it but i not find this in module list. Please help and give your valuable feed back about this ,module. Thanks
- 4 replies
-
- popup modules
- new module
-
(and 1 more)
Tagged with:
-
Hello, PS version 1.6.1.1 I need some help ; cannot figure out how to solve my problem. Here it is : I have a new customized module called myanimal. Problem description Module works fine when installing (creation of tables, insertion of resources in architecture...). This module has 2 front controllers that work fine too (creating animals). Now I want to add a tab in backoffice so that administrator can see animals created. I plan to use helpers, I just want a basic table list as we have plenty in PS. So I created an AdminAnimalController extending ModuleAdminController and set it in modules/myanimal/controllers/admin/AdminAnimalController.php When installing the module I create the new tab in backoffice right menu, under 'customers'. But when clicking on it I get 'Class 'AdminAnimalController' not found in BASE_DIR/classes/controller/Controller.php on line 134 I checked Controller.php ; it is logically about getController method and in my case the controller is not found. What I tried : Delete index_cache in BASE_DIR/cache Scrutinize database see if I had to save my controller in a routing table... I thought it could very well be a naming convention problem but when I look at other AdminControllers like AdminCarriersController it seems I am going fine...?? But ??? Quid ? Can someone help please ? See below my AdminController file. Alexandre <?php class AdminAnimalControllerCore extends ModuleAdminController { public function __construct() { // INCLUDE NEW OBJECT MODEL FROM MODULE DIRECTORY include_once(__DIR__.'../../../classes/MyAnimal.php'); $this->table = 'my_animal'; $this->className = 'MyAnimal'; $this->lang = false; $this->deleted = false; $this->colorOnBackground = false; $this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'))); $this->context = Context::getContext(); // définition de l'upload, chemin par défaut _PS_IMG_DIR_ $this->fieldImageSettings = array('name' => 'image', 'dir' => 'example'); // This adds a multiple deletion button $this->bulk_actions = array( 'delete' => array( 'text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?') ) ); parent::__construct(); } // This method generates the list of results public function renderList() { // Adds a Delete button for each result $this->addRowAction('delete'); $this->bulk_actions = array( 'delete' => array( 'text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?') ) ); // Building the list of records stored within the "test" table $this->fields_list = array( 'id' => array( 'title' => $this->l('ID'), 'align' => 'center', 'width' => 20 ), 'id_customer' => array( 'title' => $this->l('CLIENT'), 'align' => 'left', 'width' => 25 ), 'name' => array( 'title' => $this->l('Name'), 'align' => 'left', 'width' => 'auto' ), 'date_birth' => array( 'title' => $this->l('Date de naissance'), 'align' => 'left', 'width' => 20 ), 'type' => array( 'title' => $this->l('Espèce'), 'align' => 'left', 'width' => 10 ), 'age_slice' => array( 'title' => $this->l('Tranche d\'âge'), 'align' => 'left', 'width' => 20 ), 'description' => array( 'title' => $this->l('Description'), 'align' => 'left', 'width' => 150 ), 'img_url' => array( 'title' => $this->l('Image'), 'align' => 'left', 'width' => 'auto' ) ); $lists = parent::renderList(); parent::initToolbar(); return $lists; } // This method generates the Add/Edit form public function renderForm() { return parent::renderForm(); } }
- 4 replies
-
- new module
- adminController
-
(and 2 more)
Tagged with:
-
How to check the hook is works? This is my code <?php if (!defined('_PS_VERSION_')) exit; class InagataModule extends Module { public function __construct() { $this->name = 'inagatamodule'; $this->tab = 'billing_invoicing'; $this->version = '1.0.0'; $this->author = "Achmad An'im Fahmy "; $this->need_instance = 0; $this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_); $this->bootstrap = true; parent::__construct(); $this->displayName = $this->l('Inagata Module'); $this->description = $this->l('Mengirim push notification ketika status order berubah.'); $this->confirmUninstall = $this->l('Are you sure you want to uninstall?'); if (!Configuration::get('INAGATAMODULE')) $this->warning = $this->l('No name provided'); } #displayBackOfficeHeader public function install() { if (Shop::isFeatureActive()) Shop::setContext(Shop::CONTEXT_ALL); if (!parent::install() || !$this->registerHook('actionOrderStatusPostUpdate') || !Configuration::updateValue('INAGATAMODULE', 'my friend') ) return false; return true; } public function uninstall() { if (!parent::uninstall() || !Configuration::deleteByName('INAGATAMODULE') ) return false; return true; } public function hookactionOrderStatusPostUpdate($params) { $file = 'coba'; // Open the file to get existing content $current = file_get_contents($params); // Append a new person to the file $current .= "$params\n"; // Write the contents back to the file file_put_contents($file, $current); echo "<pre>".print_r($params)."</pre>";die(); } } in function hookactionOrderStatusPostUpdate not write anything to coba file and not print anything. But, when I use standard hooks, it's showing in website (displayHeader) Thank you
- 3 replies
-
- hook work
- new module
-
(and 2 more)
Tagged with:
-
Hello, I would like to display a Module on a page. I want the page to have No page template and No theme. I.e. a page that only displays the modules HTML and no other Pestashop HTML. How can I do this? Regards, Mark OG.
- 2 replies
-
- Non Themed
- Non Templated
-
(and 3 more)
Tagged with:
-
Hi, I am using prestashop 1.5.4.1 and New Product Module developed by vekia. The question is that, is it possible to hide this module when there is no new product, and show new this module and new products when adding new products to the store? http://www.moodico.com/products Thanks, Mojtaba
-
- hide new module
- hide
-
(and 1 more)
Tagged with:
-
Hi, This is about best practice when you add a custom functionality to the back office. Many of us (I guess) use a fulfilment service/external company. We have to give separate information on how to prepare and to send the orders. There is nothing in the back office for that purpose. To communicate with the logistics (fulfilment) we send CSV files: one about the "ready to go" orders packaging instructions and a second one about the customers addresses (labels). Now, two different elaborated SQL "Select" recorded in the "SQL Manager" make the trick. Problem: While SQL is easy to write and read, PHP looks quite an horrible "write only" code. It would be nice to be able to add those 2 "SQL" in the BO "Orders" menu, thus having 2 new modules/entries like "Prepare Orders" and "Send Orders", I guess. Question: How to do that (in layman's terms please)? Thanks all.
-
How is this possible.. i deleted all categories and products because i wanted to test a integration synch with no products.... BUT... the NEW PRODUCT block is still showing data and i can click on image link to see product details... I emptied cache folders manually and tried even browsing from my phone.... plus i RESET module, editted the qty being shown... to no avail... how the heck is "NEW PRODUCTS" block working? WHere is it pulling data from
-
well... During use prestashop, i found that PS have an confusing method to be understand. When i made a tab page for order-list (my customize only), i was fail to add 'filtered-key' This is part of my modified form :: 'carrier_name' => array('title' => $this->l('Total Price'), 'width' => 50, 'filter_key' => 'pa!carrier_name', 'float' => true,'suffix' => Configuration::get('PS_WEIGHT_UNIT'), 'align' => 'right' ), 'product_quantity_discount' => array('title' => $this->l('QDisc'), 'width' => 86, 'float' => true, 'suffix' => Configuration::get('PS_WEIGHT_UNIT'), 'align' => 'right'), 'discount_quantity_applied' => array('title' => $this->l('VDisc'), 'align' => 'center', 'width' => 50) ); $this->_join = 'LEFT JOIN '._DB_PREFIX_.'product pa ON (pa.`id_product` = a.`product_id`)'; $this->_select = 'pa.`price` AS carrier_name'; $this->_where = 'AND pa.`ACTIVE` = 1 or 0'; --------------------------------------------------------------------- when i stroke with "2" or "d" for example, in the filter kolom at the result page, the tabel fail to list the sorted query requested. -------------------------------------------------- I hope you or a experience prestashop cc, can help me solving this my issue ~chear dear arymasco, indonesia
-
- customize
- new module
-
(and 3 more)
Tagged with:
-
Hi All, I'm trying to develop new search module which needs to override search.php class. Is there any nice way to copy override search.php file to override folder during module installation process, or it has to be done manually after installation? Ps. I spot that some modules have override directory inside of themselves, but this way doesn't work. Regards, Luke