Search the Community
Showing results for tags 'TABS'.
-
Tutorial: product tabs in 1.6 As you probably noticed - in prestashop 1.6 tabs on product page are displayed as a wide horizontal bars. These sections don't look like real tabs (like it was in prestashop 1.5 and in other old releases of prestashop). In this guide i want to show you how to change the way of how these tabs are displayed. full step by step guide you can find here: product tabs in 1.6
- 88 replies
-
- 11
-
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() { Configuration::updateValue('AGORACONECTION_LIVE_MODE', false); $languages = Language::getLanguages(false); // Main Parent menu if (!(int) Tab::getIdFromClassName('AdminConexionAgora')) { $parentTab = new Tab(); $parentTab->active = 1; $parentTab->name = array(); $parentTab->class_name = "AdminConexionAgora"; foreach ($languages as $language) { $parentTab->name[$language['id_lang']] = 'Conexion a Agora'; } $parentTab->id_parent = 0; $parentTab->module = ''; $parentTab->add(); } // Sub menu for Clientes if (!(int) Tab::getIdFromClassName('AdminAgoraClientes')) { $parentTabID = Tab::getIdFromClassName('AdminConexionAgora'); $parentTab = new Tab($parentTabID); $tab = new Tab(); $tab->active = 1; $tab->class_name = "AdminAgoraClientes"; $tab->name = array(); foreach ($languages as $language) { $tab->name[$language['id_lang']] = $this->l('Clientes'); } $tab->id_parent = $parentTab->id; $tab->module = $this->name; $tab->add(); } // Sub menu for Productos if (!(int) Tab::getIdFromClassName('AdminAgoraProductos')) { $parentTabID = Tab::getIdFromClassName('AdminConexionAgora'); $parentTab = new Tab($parentTabID); $tab = new Tab(); $tab->active = 1; $tab->class_name = "AdminAgoraProductos"; $tab->name = array(); foreach ($languages as $language) { $tab->name[$language['id_lang']] = $this->l('Productos'); } $tab->id_parent = $parentTab->id; $tab->module = $this->name; $tab->add(); } // Sub menu for Pedidos if (!(int) Tab::getIdFromClassName('AdminAgoraPedidos')) { $parentTabID = Tab::getIdFromClassName('AdminConexionAgora'); $parentTab = new Tab($parentTabID); $tab = new Tab(); $tab->active = 1; $tab->class_name = "AdminAgoraPedidos"; $tab->name = array(); foreach ($languages as $language) { $tab->name[$language['id_lang']] = $this->l('Pedidos'); } $tab->id_parent = $parentTab->id; $tab->module = $this->name; $tab->add(); } return parent::install() && $this->registerHook('header') && $this->registerHook('displayBackOfficeHeader'); } And this is a controller for a tab, I have the same other controllers: <?php class AdminAgoraClientesController extends AdminController { public function __construct() { $this->context->smarty->assign(array( 'example_variable' => 'example', )); // Cargar la plantilla Smarty $this->setTemplate('clientes.tpl'); } } the controllers are in the ModuleDir/controllers/admin folder and the tpls are in ModuleDir/views/tempates/admin folder
-
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
-
Hi All, Greetings of the day. The prestashop addon helps to add extra unlimited tabs on the product details page. We can add YouTube videos and useful content with the image using the HTML editor in the extra tabs Optimize product content for buyers to more easily find your products and the information they need. Good product information management is essential due to the current dynamic business environment As the business grows, there’ll be many new products coming in. As such, it can become difficult to keep track of all that product information. This leads to disorganization, which, in turn, affects the customer experience. The product information is to be regarded as a document that contains information sufficient to ensure the safe and effective use of the product. Make the purchase convenient and faster for the customers by providing them with additional information in easy-to-click tabs with the Product Tabs module. You can quickly and easily create custom product tabs on the product page. It will help you in maximizing your purchase. The product detail page of your website is considered one of the most powerful tools used for sales as it includes detailed information about products. Customers can’t purchase without visiting the product detail page and looking at each piece of information about products, from images, videos, and content. To increase the number of purchases and enhance user experience, use product tabs to create and add unlimited product tabs to the product page for product specifications and details. Features - Facility to add YouTube videos and useful information related to the product using HTML editor. - Geolocation support to show tabs for selected country visitors like selected products options. - Tabbed content enhances the user experience - Customized product info tab - With dynamic content, it creates a custom tab - Mobile-friendly tabs - Assign tabs to specific products - Addition of informative tab content - Product Tabs Extension helps to customize the tabs according to your needs. - Admin gets the easy-to-access grid interface to easily see all the created tabs. Admin can delete, enable or disable the product tabs as well. - Facility to add an unlimited number of Tabs. - Search facility in the back office. - Products offers and promotions in the front office in an interactive way. - Showcase products, services, store & Company Information in Video. - Visibility. One obvious advantage is its visibility. It’s the first thing that visitors see when they go to your site. It immediately catches their attention. - SEO friendly. - Support all browsers: Firefox, Chrome, IE, Safari, etc. - Lightweight. (Smaller file size which loads faster.) - Increase sales, conversion rates, and product promotions. - Maintain existing customers & Attract new customers. - Lower marketing expenses, exposure to potential customers, and reach targeted audiences. - Compatible with PrestaShop 1.6.x,1.7.x,8.x.x. - Multiple browser compatibility(IE, Firefox, Opera, Safari, Chrome, and Edge). - Mobile, Tablet, and all devices compatible. - Multi-language and Multi Store compatible. - Module works without doing any change in existing files on PrestaShop store versions. - 24*7 Support - Good Documentation Benefits to Customers - Helps to increase customer understanding and knowledge about the products and store. - Drawing a customer's attention to your relevant result. - Providing instant information as related to their query. - Customer trust online store and feel comfortable. - Helps in support and communication in the customer's native language. - Customer queries and clarifications get a fast solution. Benefits to Merchants - Higher Chances of Ranking on SERPs - Better Click through Rates - Better Marketing Opportunity - More Qualified Leads - More Credibility - Reduce expenses - Increase sales - Improve customer service and loyalty - Customer convenience - Competitive advantages - Expand market reach - Proactive outreach - Reports and analytics - Real-Time Convenience to Customers - Cost-Efficient - Stand out Among Competitors - Eye-catching results => drawing a search user’s attention from your competitors’ listings to your own result. - Potential CTR increase => Possibly increasing click-through rates and lowering the chance of the user ‘bouncing’ as they see more information about the page before clicking through (there is also the potential to deter users if the additional rich snippets of information show something they were not looking for). - Providing ‘quality’ results => offering results that could match the user’s intent more closely. On the downside, if the informational benefit of the rich snippet satisfies the user's search query, it might eliminate the need to click through for further engagement. - Develop Deeper Customer Relationships - Increase in Conversions and Average Order Values Installation : Step 1: Upload the module zip file from the back-office Module & Services menu tab. Module Manager area using the upload button. After the successful installation module menu, the link will appear in the left menu or top menu in the back-office MORE area. Step 2: Install the module using the install button. Step 3: Visit the module management page from the back-office "More" area (section) in the left menu in the back-office. Step 4: The module installation process is very easy, how module configuration works can be seen in the demo instance. Step 5: Please visit our demo instance for module configuration and usage demo. Step 6: Please watch our module demo videos on our YouTube Channel. - Module works without making any change in the existing PrestaShop file so that existing customization and theme change do not affect. - We provide free technical and feature support in installation, and configuration, as well as access to updates available for this product. - Free support on installation, configuration, and customization as per store requirements, for example, new hook addition to your store. For a demo on version 1.7.x visit the below links Front-office Demo URL => https://www.hrms-systems.com/presta-addons/en/ Back-office Demo URL => https://www.hrms-systems.com/presta-addons/admin619j6kpbb/index.php For a demo on version 1.6.x visit below links Front-office Demo URL => https://www.hrms-systems.com/presta-apps/en/ Back-office Demo URL => https://www.hrms-systems.com/presta-apps/admin539fyipwq/index.php OUR PRESTASHOP ADDONS MARKETPLACE URL PrestaShop Marketplace URL => https://addons.prestashop.com/en/2_community-developer?contributor=301729 Alternate module download URL => https://www.presta-addons-modules.com
-
Hola Gente, Estoy teniendo un problema con las pestañas de la página del producto, adjunto foto. Al hacer clic por encima de estas pestañas se queda mostrando la descripción por defecto. no cambia quedan bloqueadas. Solo ocurre si estoy iniciado como cliente, si cierro la sesión entonces funciona. En el módulo de caché de JPresta tengo el cache desactivado para clientes cuando inician la sesión, porque no me funciona el enlace de iniciar la sesión. Llevo dando muchas vueltas pero no encuentro la solución. A lo mejor alguien ha tenido el mismo problema y sepa como solucionarlo. Versión prestashop: 1.7.6.8 Versión módulo JPresta - Page Cache Ultimate: v7.4.3 Muchas gracias SALUDOS.
- 7 replies
-
- 1.7.6.8
- jpresta - page cache ultimate
-
(and 3 more)
Tagged with:
-
Is it possible to add just some text to the product details tab? I have put the info in the "description field", but it feels wrong. For example when you have food, it should be logical that you put some ingrediant-info. This shoudl be under the 'product details'-tab, and not in the "description". I tried already with the 'features", but that is too small I'm using the default template
-
Hi, I am new to prestashop. I want to set specific prices for a customer group in the catalog. I always set prices with tax included, but when I try to set a specific price for a product, I need to manually calculate the tax excluded price. Then the system calculates the tax included price. Is there a way to write the price included? Now I have to manually calculate the price excluded for all items. Attached is a screenshot. Here is my business model: I have B2C customers and B2B customers. Each have their own price: For example: An item for B2C is 10 Euro (tax excluded) and 12 euro (Tax included) Same item for B2B is 8 Euro (tax excluded) and 9.6 euro (tax included) Some of the items are on Sale now and I make 25% discount from the base price of each: B2C: 12 - 25%=9 (tax included) B2B: 9.6-25%=7.2 (tax included) In the best case scenario, I would like the customer to see the following: B2C: 12 euro scratched out and 9 euro next to it B2B: 12 euro scratched out, 9.6 euro scratched out, 7.2 euro visible as final price. If its not possible from Prestashop default options, are there any add-ons to do that?
-
- tax included
- specific price
-
(and 1 more)
Tagged with:
-
Hi, would you help me solve a problem with the administration panel? There are no tabs in my admin panel. Please look at attachment. This view was happend two weeks after using PrestaShop.
-
Hi ! I am creating a module for Prestashop 1.7.6 I would like to : _create an Admin page with my own html code, _and have a tab registered on the left pannel to access that Admin page. I have to use these ressources : https://devdocs.prestashop.com/1.7/modules/concepts/controllers/admin-controllers/ https://devdocs.prestashop.com/1.7/modules/concepts/controllers/admin-controllers/tabs/ But I don't understand and need your help. Shall my class in controllers/admin/MyController extends ModuleAdminController and FrameworkBundleAdminController ? In which funtion can I ask for $this->render or $this->display ? Thank you for helping me to understand..
-
Witam serdecznie! Wstawiłem pole input do strony dodawania/modyfikacji produktu oraz dodałem kolumnę do ps_product, lecz nie mam pojęcia co zrobić by po kliknięciu 'zapisz' wywołać funkcję, która zapisze dane do bazy. Formularz dodałem przez views/templates/hook/ <div class="m-b-1 m-t-1"> <fieldset class="form-group"> <div class="col-lg-12 col-xl-4"> <label class="form-control-label">{l s='Przykladowe pole' mod='dodatkoweZakladki'}</label> <input class="form-control" name="custom_field" type="text"> </div> </fieldset> <div class="clearfix"></div> </div> Będę wdzięczny za choćby nakierowanie
- 2 replies
-
- tabs
- additional
-
(and 2 more)
Tagged with:
-
Hello, I added to product page an input field and I added a column to ps_product in database, but I don't have any idea to save the value of this input to database. Where I can do the SQL query to add this value to databse? I added a form by views/templates/hook/ <div class="m-b-1 m-t-1"> <fieldset class="form-group"> <div class="col-lg-12 col-xl-4"> <label class="form-control-label">{l s='Przykladowe pole' mod='dodatkoweZakladki'}</label> <input class="form-control" name="custom_field" type="text"> </div> </fieldset> <div class="clearfix"></div> </div> I'll be grateful for any responce.
-
- additional
- tabs
-
(and 1 more)
Tagged with:
-
hi i migrate product from 1.6 to 1.7.5 for some products a really strange tabs appears in the footer, online only. What does it mean? How can i remove it? please see attached screenshot
- 7 replies
-
- online only
- product listing
-
(and 2 more)
Tagged with:
-
Hello! I want to modify a little bit the backend. I have a lot of information describing the products - as given by the manufacturer, and i want to split this information in 5 tabs. I have looked everywhere for the description and short_description tabs which are already available when you edit a product -- but with no success. As close i got - was the adminproductscontroller.php where - surprisingly i didn't found any update sql clause. What i am trying to do is to have multiple tabs available when you edit a product and to enter my data there as you can already do in description and short description tabs... I have already modified the table in phpmyadmin on the server, so the fields do exist. I could just enter the data manually in the database, and see this data in frontend using with tpl. But where to look for the admin backend? I appreciate any guidance. So where to look please? Thank you very much.
-
Prestashop module de Youtube Tabs + dernier bloc vidéo YouTube Les images sont ennuyeux, laissez vos clients regardent vos produits en cours d'utilisation. Ajouter vidéo Youtube vidéos hébergées localement et facilement sur vos pages de produits. Caractéristiques: - Admin pouvez ajouter un nouvel onglet YouTube - L'administrateur peut modifier les onglets YouTube - L'administrateur peut supprimer les onglets YouTube - L'administrateur peut définir l'état de l'onglet YouTube - Ajout d'onglets à la page du produit - MultiStore Bloquer Dernière vidéo YouTube: - Admin peut changer de position "Dernière vidéo YouTube" (Gauche, Droite, None) - L'administrateur peut modifier le nombre de pièces dans le "YouTube Video Last" (par défaut 5) - Admin peut changer montrer la vidéo dans le bloc vidéo YouTube à jour (par défaut Oui) - Admin peut changer de couleur schéma YouTube Video (Light, Dark) - Admin peut changer de couleur Largeur YouTube Video (par défaut 176px) - Admin peut changer de couleur Hauteur YouTube Video (par défaut 80px) YouTube Tab: - Admin peut changer de couleur schéma YouTube Video (Light, Dark) - Admin peut changer de couleur Largeur YouTube Video (par défaut 450px) - Admin peut changer de couleur Hauteur YouTube Video (par défaut 200px) Compatibilité: PrestaShop v1.6.x.x - v1.7.x.x Plus d'informations: https://addons.prestashop.com/en/product.php?id_product=42013 Demo FrontOffice: https://demostoreprestashop.com/demo/youtubetabs/en/tshirts/1-1-faded-short-sleeves-tshirt.html Demo BackOffice: https://demostoreprestashop.com/demo/youtubetabs/admin1/
- 5 replies
-
- responsive
- video
-
(and 4 more)
Tagged with:
-
Hello, I am trying to install multiple tabs to the Backoffice of Prestashop. The main tab with the id_parent = 0 appears in the database. The other tabs aren't even installed. Here is my code: In install() method of the module: // Install admin tab if (!$this->installTab('AdminKonfiguratorTab', 'Konfigurator', null, true) && !$this->installTab('AdminKonfiguratorTabOverview', 'Konfigurator Overview', 'AdminKonfiguratorTab') && !$this->installTab('AdminKonfiguratorTabOrders', 'Konfigurator Orders', 'AdminKonfiguratorTab')) return false; the installTab() function: public function installTab($class_name, $name, $parent, $parent_tab_isZero = false) { // Create new admin tab $tab = new Tab(); if($parent_tab_isZero) { $tab->id_parent = 0; } else { $tab->id_parent = (int)Tab::getIdFromClassName($parent); } $tab->name = array(); foreach (Language::getLanguages(true) as $lang) $tab->name[$lang['id_lang']] = $name; $tab->class_name = $class_name; $tab->module = $this->name; $tab->active = 1; return $tab->add(); }
-
Witajcie, chciałbym się dowiedzieć jak mozna rozszerzyć panel/sekcję z zakładkami opis i szczegóły w domyślnym szablonie? Oto strona ja wygląda to teraz - link, a mogło by być na całej szerokości strony. Btw - mozna jakoś rozszerzyć funkcje std edytora czy trzeba klepać większość z palca w html?
-
Bonjour à tous, je suis en train de développer plusieurs modules pour un projet prestashop 1.7. Ceux ci sont regroupés dans un tab que j'ai développé sur le back office. J'ai créé un profil d'employé avec des permissions sur ces différents tabs. Lorsque je me loggue sur le BO avec ce compte employé je ne vois pas le tab en question. Si je donnes des permissions à cet emplotyé sur des tab "natifs" de prestashop aucun problème il y a bien accès. J'ai vérifié en base de données le profil correspondant à cet employé à bien l'authorization_role correspondant. Je ne comprends pas d'ou peut venir le problème. Merci beaucoup pour vos réponses. Bien cordialement, Guilhem
-
- permissions
- tabs
-
(and 1 more)
Tagged with:
-
How to make Sales & Specials products show up as a 1st thing when customer loads the page? It's easy to change TABs order but it still shows New products 1st , if I turn off module New products, ti shows Popular first :-( How to change the priorities of those tabs / categories? ( no the TAB order! ) PS1.6.1.18 addition, ..it works ok when I set New product for 1 day , so it turns off automatically New Product Tab ( because have no new product there less 1 day don't have set option "always show the tab" ) . In this case tabs working fine, but if all tabs ON, the order is not working properly,
-
Hey, how can i remove the tabs in product page. I want just display my text and blocks, one below the other. I want to do this without module, if it's not too much cumbersome. I use prestashop 1.7.2.4, classic theme. thank you for reading larrson
- 5 replies
-
- tabs
- product page
-
(and 1 more)
Tagged with:
-
hello i'd like to remove some unnecessary tabs in admin product edit page. i want to remove customization, attachment, supplier tabs , but was unable to detect which file to edit. if anyone knows please help. Thanks
-
Please help! It was working properly but then this error appeared when I try to modify any product on the backend: " A server error occurred while loading the tabs: some tabs could not be loaded. Please try again by refreshing the page. If you are still encountering this problem, please check your server logs or contact your hosting provider for assistance. " The logs on the browser shows the following: jquery-1.11.0.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. send @ jquery-1.11.0.min.js:4 /adminerCVI/undefined&ajax=1&rand=1510276292839?_=1510276287874 Failed to load resource: the server responded with a status of 404 (Not Found) /adminerCVI/undefined&ajax=1&rand=1510276293620?_=1510276287875 Failed to load resource: the server responded with a status of 404 (Not Found) /adminerCVI/undefined&ajax=1&rand=1510276294335?_=1510276287876 Failed to load resource: the server responded with a status of 404 (Not Found) en-default-cart_default.jpg Failed to load resource: the server responded with a status of 404 (Not Found) /adminerCVI/undefined&ajax=1&rand=1510276297872?_=1510276287880 Failed to load resource: the server responded with a status of 404 (Not Found) /adminerCVI/undefined&ajax=1&rand=1510276298438?_=1510276287881 Failed to load resource: the server responded with a status of 404 (Not Found) /adminerCVI/undefined&ajax=1&rand=1510276299056?_=1510276287882 Failed to load resource: the server responded with a status of 404 (Not Found) Anyone has experimented something like this?
-
- product
- prestashop
-
(and 5 more)
Tagged with:
-
PS Version - 1.6.0.9 Theme - Default Bootstrap 1.0 Website - www.totalfancydress.com ----- Searched and searched for this but can't seem to find an answer. On the Homepage, I'm already using the Theme Configurator above my Featured/New/Bestsellers product tabs to display 3 boxes. I would also like to use it under my Featured/New/Bestsellers product tabs because it looks a bit odd at the moment. Directly below the products, is the footer. I'd like to place something there to break it up a bit. But I'm unable to place anything there. My 'Theme Configurator' and 'HTMLBox' modules are hooked into the right places but I can't move them in Live Edit to where I want them. I get the dreaded red instead of green! Ideally (if it's possible), I'd like to place content the full width of the page underneath the Featured/New/Bestsellers because I feel if I just place a few more boxes there, it would leave a large white space in the left column. Any ideas?
- 3 replies
-
- theme configurator
- move
- (and 7 more)
-
I have made a shop and translated all the tabs. Now I want to export the file to import it to another shop. Is this possible? SOLUTION: As vekia mentioned, translation file is in tab_lang table. You have to extract it then truncate the other table and then import the file. Thanx Vekia!
- 2 replies
-
- file
- translation
- (and 4 more)
-
Hello, I want to hire a writer who will be responsible for quality descriptions of products in my store. This person should see only product catalog and be able to modify: - product description (short & long), - seo fields. Other tabs should be hidden. I don't want this person to know what are wholesale prices for example. More importantly, I don't want him to spoil anything by accidentally modifying other settings on product. I see that it is impossible to restrict profile priviledges (ritghts) to selected product tabs. Are you aware if there is any module which allows you set specific user/profile priviledges to product tabs? Many thanks all hints!
- 2 replies
-
- grants
- priviledges
- (and 4 more)