Jump to content

Search the Community

Showing results for tags 'Thème'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


  1. Bonjour, plutôt que le bouton panier en entête affiche le panier en menu déroulant (cart-dropdown), je voudrais qu'il affiche la même boîte modale que celle affichée lorsqu'on y ajoute un produit. Sur le bouton panier j'ai essayé de changer data-toggle="dropdown" pour data-toggle="blockcart-modal" sans succès... Une tentative javaScript comme onclick="prestashop.blockcart.showModal()" ne donne rien non plus, sans retourner d'erreur. Quelqu'un saurait quel serait le code pour afficher cette boîte modale ? Merci !
  2. What's the best way to update a theme that has a child theme? In my understanding, updating a theme that's not included in Prestashop needs deleting & installing. But if I delete the theme, a critical error happens. I reported this, but the dev ignored it. horrible https://github.com/PrestaShop/PrestaShop/issues/37043 I overwrote the theme files but the theme(Hummingbird) still has the same version v0.1.5, not v0.2.0 I installed.
  3. Czy ktoś wie jak przywrócić poprzedni wygląd (ten z ciemnym tłem pod menu) w panelu administratora Prestashop 8? Nowy wygląd z białym menu jest bardzo nieczytelny.
  4. Bonjour, (désolé par avance si je n'ai pas mis mon sujet dans la bonne catégorie ) Je suis actuellement en train de créer une nouvelle boutique sauf qu'il m'est impossible d'utiliser des thèmes enfants. Il s'affiche sur la page "Thème et logo", je clique sur utiliser, puis je suis redirigé sur le tableau de bord et le thème enfant n'est pas chargé. J'ai essayé avec un nouveau thème enfant de classic sans aucune modif, avec des modifications, j'ai également essayé un thème enfant de classic que j'utilise sur une autre boutique (même version de PrestaShop) et également en modifiant ce thème. Rien ne fonctionne, c'est toujours la même chose. Il n'y a pas d'erreur dans la console. Si j'active le mode debug, je n'arrive pas à accéder à la page "Thème et logo", j'ai cette erreur : ddcp theme est le nom de mon thème (en réalité c'est "ddcp-theme"). Et cette erreur arrive pour chaque thème enfant. Autre chose ; sur la page "Thème et logo", peut importe le thème enfant qui est présent dans mes fichiers, c'est toujours le même nom qui est affiché "Thème enfant de Classic par Arnaud Laborde" (c'est mon nom), Version 1.1.0 et avec la preview du thème classic.
  5. Hi I have a small problem with the Image_slider module. I wanted to rework it a bit to display some recently purchased items in the store. However, there is a problem. adding a new value to 'getWidgetVariables' returns 1 public function getWidgetVariables($hookName = null, array $configuration = []) { $testData = [ ['name' => 'P 1', 'description' => 'desc 1', 'image' => 'url1.jpg', 'link' => 'link1'], ['name' => 'P 2', 'description' => 'desc 2', 'image' => 'url2.jpg', 'link' => 'link2'], ]; return [ 'lastPurchasedProducts' => $testData, 'test' => 'Test' ]; // $slides = $this->getSlides(true); // if (is_array($slides)) { // foreach ($slides as &$slide) { // $slide['sizes'] = @getimagesize((__DIR__ . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . $slide['image'])); // if (isset($slide['sizes'][3]) && $slide['sizes'][3]) { // $slide['size'] = $slide['sizes'][3]; // } // } // } // // $config = $this->getConfigFieldsValues(); // return [ // 'homeslider' => [ // 'speed' => $config['HOMESLIDER_SPEED'], // 'pause' => $config['HOMESLIDER_PAUSE_ON_HOVER'] ? 'hover' : '', // 'wrap' => $config['HOMESLIDER_WRAP'] ? 'true' : 'false', // 'slides' => $slides, // ], // ]; } ps_imageslider.php <h1>test</h1> <div class="last-purchased-products"> <h1>{$test}</h1> <pre>{$lastPurchasedProducts|@print_r}</pre> <ul> {foreach from=$lastPurchasedProducts item=product} <li> {$product.name} {* <a href="{$product.product_link}">*} {* <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.product_title}">*} {* <strong>{$product.product_title}</strong>*} {* </a>*} {* <p>{$product.product_description|truncate:100}</p>*} {* Ilość: {$product.product_quantity} <br>*} {* Zakupiono: {$product.date_add|date_format:"%Y-%m-%d %H:%M"}*} </li> {/foreach} </ul> </div> ps_imageslider.php public function renderWidget($hookName = null, array $configuration = []) { if (!$this->isCached($this->templateFile, $this->getCacheId())) { $this->smarty->assign($this->getWidgetVariables($hookName, $configuration)); } return $this->fetch($this->templateFile, $this->getCacheId()); } I tried to combine this also in array_merge(...) and in it add these new variables, but still nothing Have any of you encountered this problem?
  6. 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
  7. Hi, We are introducing the best free PrestaShop theme for you. MyShop Multipurpose best free prestashop theme is a perfect choice for any type of web store. It doesn't matter what kind of products you want to sell. We don't have enough words to describe the premium feature rich free theme for PrestaShop. It is simple but we paid great attention to the details. “The theme will assist you in promoting your product and increasing sales in ways you've never seen before.” You will be amazed that you are getting Crazy Elements PrestaShop Page Builder with MyShop theme for FREE! 😃 Let’s see some cool features included with Crazy Elements Page Builder Live Editor Included: Crazy Elements is the elementor based PrestaShop drag & drop page builder. Crazy Elements allows you to simply manage your layout instantly through drag and drop with a live front-end editor. No coding knowledge is required! 30+ Crazy Elements Free Widgets 15+ MyShop Premade Widgets With 15+ MyShop premade widgets, you can add additional interactive and customisable elements to your PrestaShop store. You will also be able to design attractive any kind of sales banners, countdown banners, sales pop ups to allure your customers. Responsive Editor Switch to smartphone and tablet mode, then fine-tune each element to appear great on any device. Smart Blog Included: No #1 Powerful PrestaShop blog publishing module that will help you publish your blog instantly. Create the full value of a blog, share product news, offer and others to your customers. You can easily design and customize your blog by using crazy elements free prestashop page builder. Advance Color Swatch MyShop Key Features Crazy Elements Page Builder Editor (FREE) 30+ Crazy Elements Free Widgets 15+ Premade MyShop Product Widgets Smart Blog Included 3+ Stunning Home Pages 20+ Inner Pages Quick Installation Pixel Perfect Design HTML5/CSS3 Bootstrap Semantic Coding 100% Responsive Cross-Browser Compatible Optimized for Fast Speed Retina Ready Fully Customizable Powerful Admin Panel Carousel Slider Product Category Slider Brand Slider Image Slider Product Layout Switcher Product Sorting Option Product Color/size Swatch Look Book Quick Product View Multiple Product Filter Options LightBox Gallery Motion Effect Sales Popup Typography Option Newsletter Subscription Form Social Share Button Google Webfont SEO Optimized Multi-Language Multi-Currency Extensive Documentation Lifetime Updates Free Support & Much More. Compatible With Popular Modules Slider Revolution 6 for PrestaShop Classy Product Extra Tab Classy Custom CSS & JS Installation Requirements: PHP Version 7.2 or Higher Prestashop Version 1.7.x MyShop is a best free prestashop theme equipped with tons of premium features, and incorporating various customisation abilities. Feel free to use it to build an amazing web store for selling varieties of products. 👇👇 Download Now! your best free PrestaShop 1.7 theme myshop-1.1.4.zip Live Demo: https://myshop.classydevs.net/en/ Documentation NB: Please mind that you can use this free PrestaShop theme for your personal project. Reselling the theme is highly restricted. If you have any suggestions and need improvement to this theme, please feel free to give your feedback in the comment box below. We are eagerly waiting for your feedback. 😃 Cheers, ClassyDevs Team
  8. Hello, I created my shop on prestashop as it looks cool. my only concern is how can I change the home page layout in mobile view only ( displaying 2 products in on row instead of one)
  9. Best Selling Prestashop Template was created for shops in many different categories, such as Hi-Tech Electronic, Watches, Supermarket, Automotive & Cars, Fashion & Shoes. You can choose one of our beautiful skin and change store layout really easy! This template can fit your business needs and help you to grow sales. Various features help you create a usable popular store, which will attract a large number of buyers. The category page has useful grid layouts with the different number of products in columns. Sticky header and sticky footer improve the experience of navigation at your site. Best modules of the Elextra Template: Sticky Shopping Cart, Menu & Navigation with Custom Font Icons, Google Pay - 1 Click Checkout, Wishlists & Favorites Customer Products List, Advanced Ajax Live Search Product help your customers to find, save and buy many products. You can add promotional banners easily to promote your products with Promotion Discount Countdown Banner and Product Discounts with Countdown Modules. Buy Theme
  10. Hi, Need advices: I hesitate between the Warehouse and Alysum theme for my shop. I have had Panda theme for quite a while it is full of functionality but I find it way too complicated and time consuming for a newbie like me, I spend too much time figuring out how to tweak things. I had think about Warehouse because of Elementor and this facility to modify the pages etc ... but I hesitate with Alysum because Warehouse does not have a lot of updates per year, is Alysum as complex as Panda ? I'm a little confused, looking for something easily editable without searching for hours and hours ... not too heavy for SEO and page speed. Thank you for yours advice
  11. The leading drag and drop page builder on the market. Users are able to control every aspect of the website in one place, reduce the web building time and help your online store to load and perform faster. The theme includes powerful modules and innovative design with many features: Professional Blog, Advanced Filter, Product Labels and Stickers, Email Newsletter Popup, Facebook & Google Login, Product Video Youtube - мake your store look professional and modern. Huge collection of premium modules Mega Menu, Awesome Slider, Product Quick View, Ajax Search, Infinite Scroll, Easy One Click Order, Instagram Feed, Google Maps that save them tons of money. Cosmetics theme is optimised for SEO, responsive & retina display ready, has outstanding design, one year support is included. Mobile version is specially designed to provide the best UX and indexing. All information about your content is automatically marked for search engines with no action required. We developed the template using the latest technologies CSS 3 + HTML 5, Bootstrap 4.X, Font Awesome 4, Svg, Shortcodes, also full compatibility and support for RTL, Multi-Language on all pages, Multi-Store. Why Should You Choose Our Template? Modules Sticky Ajax Shopping Cart, Product Compare, Wishlist, Advanced Ajax Live Search Product allow you to realize the main UI/UX design goal - convenience for customers and increase sales. Added the ability to add YouTube or mp4 videos to a slider, blog, home page, product page, and custom page. Theme includes such important features as Multilanguage, Multistore, RTL Google Map on Home and Contact Us Pages The template contains many modules for flexible customization of your store Good page Speed Template optimized for Google’s Rich Snippets Extended product attributes on Home and Category Pages Simple One-Click Import of Demo Content. Preview Buy Theme
  12. Hi All, I'm trying to find modern and updated themes that are made for companies with very few, if not a single product. We are coming from Magento 1.9 with a custom theme and we are thinking of moving to PrestaShop but can't seem to find a theme that is responsive, amp, seo optimized and most importantly made for single or few products. I know there are some very nice themes out there but most are made for and assume, 50 if not 500 products are going to be sold. Shopify seems to get it, many shopify stores are selling less than 20 items, yet all the other ecoms think, "if we ONLY cater to 1,000+ companies, we will be rich!" yet Shopify is kicking their butts... why because they understand there is power in those single product companies. They even have a dedicated section for "Small Inventory"... where is that for Magento or PrestaShop? So, where can I find themes for "small inventory"???
  13. The leading drag and drop page builder on the market. Users are able to control every aspect of the website in one place, reduce the web building time and help your online store to load and perform faster. The theme includes powerful modules and innovative design with many features: Professional Blog, Advanced Filter, Product Labels and Stickers, Email Newsletter Popup, Facebook & Google Login, Product Video Youtube - мake your store look professional and modern. Huge collection of premium modules Mega Menu, Awesome Slider, Product Quick View, Ajax Search, Infinite Scroll, Easy One Click Order, Instagram Feed, Google Maps that save them tons of money. Cosmetics theme is optimised for SEO, responsive & retina display ready, has outstanding design, one year support is included. Mobile version is specially designed to provide the best UX and indexing. All information about your content is automatically marked for search engines with no action required. We developed the template using the latest technologies CSS 3 + HTML 5, Bootstrap 4.X, Font Awesome 4, Svg, Shortcodes, also full compatibility and support for RTL, Multi-Language on all pages, Multi-Store. Why Should You Choose Our Template? Modules Sticky Ajax Shopping Cart, Product Compare, Wishlist, Advanced Ajax Live Search Product allow you to realize the main UI/UX design goal - convenience for customers and increase sales. Added the ability to add YouTube or mp4 videos to a slider, blog, home page, product page, and custom page. Theme includes such important features as Multilanguage, Multistore, RTL Google Map on Home and Contact Us Pages The template contains many modules for flexible customization of your store Good page Speed Template optimized for Google’s Rich Snippets Extended product attributes on Home and Category Pages Simple One-Click Import of Demo Content. Preview Buy Theme
  14. Amazing Theme with multiple layouts and styles allows you to create different structures and satisfies any specific requirements as well as provide you numerous Child Themes for different kind of business. The leading drag and drop page builder on the market. Users are able to control every aspect of the website in one place, reduce the web building time and help your online store to load and perform faster. The theme includes powerful modules and innovative design with many features: Professional Blog, Advanced Filter, Product Labels and Stickers, Email Newsletter Popup, Facebook & Google Login, Product Video Youtube - мake your store look professional and modern. Huge collection of top modules Mega Menu, Awesome Slider, Product Quick View, Ajax Search, Infinite Scroll, Easy One Click Order, Instagram Feed, Google Maps that save them tons of money. Nastya theme is optimized for SEO, responsive & retina display ready, has outstanding design, one year of support is included. The Mobile version is specially designed to provide the best UX and indexing. All information about your content is automatically marked for search engines with no action required. We developed the template using the latest technologies CSS 3 + HTML 5, Bootstrap 4.X, Font Awesome 4, Svg, Shortcodes, also full compatibility and support for RTL, Multi-Language on all pages, Multi-Store. Buy Theme
  15. I recently reset my prestashop website , I used Creative elements module to make the header , the footer , the homepage and also the product page . But the footer is hiding my cookies plugin and the product page hiding the product review . How can I manage to fix that ? J'ai récemment réinitialisé mon site Prestashop. J'ai utilisé le module Creative Elements pour créer l'en-tête, le pied de page, la page d'accueil et également la page des produits. Cependant, le pied de page cache mon plugin de cookies et la page des produits cache les avis sur les produits. Comment puis-je résoudre ce problème ?
  16. Bonjour à tous, J'avais installé avec succès un thème dans le passé, mais à chaque fois que je souhaite en installer un (dont celui que j'avais réussi à installer), le message d'erreur "Fichier de configuration manquant" survient. J'ai essayé par les 3 façons possibles depuis le back office mais sans succès... J'ai essayé en parallèle de créer un site de zéro en local et le même problème survient... Je suis preneur de la moindre solution ! Bonne soirée
  17. Hi everyone, I am using prestashop 1.7.5. Today I purchased and downloaded a new theme. I now want to apply it but cannot. For some reason when I scroll down to "select a theme" I can see my new theme uploaded (v1_electron), but you cannot click on it or do anything with it...(see screenshot attached). Am I missing something really obvious? I don't understand why it is this way, as in online tutorials people were able to change it through here. Many thanks
  18. Hi all, I m new developer on the Prestashop, i haved in past experience with Magento 2, Wordpress + Woocommerce etc.. and now i have some projects in Prestashop and i want to learn this. First Question is : So i maked first setup, next step i created a child-theme... and now, i want to extend / overwrite in my child theme some templates and files: like header.tpl and more..because i want to have classic theme original and changes make in child theme. I copied in my child theme in /templates/_partials/header.tpl but in in front header is gone now. So is here some links some articles to help me?
  19. We based our theme on the 1.7.x.x classic theme. After updating to version 8.0.1, the theme was automatically switched to the new classic v2 theme, while our own theme remained visible in the theme selection screen. When trying to select our old theme, the cursor appears to be disabled and it is not possible to select the theme at all. We understand, that the theme may needs adjustment, but how are we supposed to find the errors, when we cannot activate the theme?
  20. Buenas, tengo el siguiente problema: Cuando voy a traducciones, elijo el idioma y el tema como vemos en la imagen: Hago clic en modificar y me muestra el siguiente error "the theme "4" doesn´t exist" como vemos en la siguiente imagen: Con este error no se despliega las opciones para poder traducir y se queda en blanco, no tengo ni idea de cual puede ser el error.
  21. Hello, I have the following problem: When I go to translations, I choose the language and the theme as we see in the image: I click on modify and it shows me the following error "the theme "4" doesn't exist" as we can see in the following image: With this error it does not display the options to translate and remains blank, I have no idea what could be the error.
  22. Bonjour, Je vous contacte par rapport à un problème sur lequel je bloque depuis vendredi. Pour faire simple, on m'a demandé de créer un thème enfant sur un site prestashop (jusque là pas de problème) sauf qu'en appliquant le thème enfant sur le site, ça a modifié un nombre assez important de module et nécessitez de faire un gros backup. En creusant un peu, je me suis rendu que le problème venait du thème parent: lorsqu'on applique le thème en question (akira) ou un thème enfant, ça fait le bug des modules dont j'ai parlé précédemment et je suis un peu perdu sur la solution à appliquer. Dans un premier temps, j'ai voulu modifié les "to_enable" et "to_disable" en faisant les modifications dans le fichier theme.yml du thème enfant mais je me suis rendu compte que ça ne marchait pas. D'ailleurs je n'ai pas compris où est-ce que l'on récupère les noms des modules à mettre dans le fichier yml dans la partie module (je débute sur prestashop) Ensuite, j'ai pensé à faire les modifications directement dans le fichier theme.yml mais je me suis rendu compte que si je faisait ça, on devrait refaire la manipulation dans le fichier à chaque mise à jour du thème et ce serait pas très productif vu qu'on m'a demandé un thème enfant pour ne plus avoir de manip à faire dans les fichiers du thème à chaque mise à jour. Puis on m'a conseillé de regarder dans les fichiers du répertoire "override" mais je n'arrive pas à comprendre comment cela pourrait résoudre mon problème. Il y avait bien un répertoire concernant un des modules qui pose problème dedans (un formulaire de contact) mais lorsque je regarde dedans, je ne vois que des informations concernant un captcha et dans les commentaires du fichier, on me dit de ne pas le modifier car toutes les modifications seront perdues au moment des prochaines mises à jour. Au niveau des modules qui pose problèmes, j'ai un module de recherche, un module de formulaire de contact, un module de paiement. Lorsque j'applique le thème, les modules deviennent inutilisables mais remarche si on les réinitialise. Le problème étant qu'à chaque réinitialisation, toutes les personnalisations du modules disparaissent. Donc je me demandais quelle méthode serait la plus adapté pour résoudre mon problème? (si possible, une méthode qui ne nécessite pas de refaire de modifications à chaque nouvelle mise à jour du thème svp). Je vous remercie par avance pour vos conseils et je reste disponible si vous avez besoins de plus d'informations!
  23. hello, I am trying to modify the starter theme using only css because it is the only language I know how to use a little. I am trying to set the height equal to the width, which is a persentage. but it is not working, any idea? online I found this code and tried to use it: width: calc(100% - 20px) height: calc((100vw - 20px) * 0.5625) /*16:9 aspect ratio*/ div .product-information{ width: calc(37.5% - 1px); height: calc(37.5vw * (1 / 1)); background-color: thistle; margin: 0 !important; padding: 0 !important; text-align: left; position: absolute; top: 90px; left: calc(-1px + 62.5%); font-size: 3pt; border: solid 1px rgba(0, 0, 255, 1); }
  24. I recently manually upgraded a site from 1.6 to 1.7. There was a laundry list of complications I dealt with (including that the theme work had all been done in default_bootstrap and was thus essentially lost/had to be redone) but only one, at present, that continues to vex me. Specifically, when I attempt to view product categories on the main shop I am presented with a 500 error. So, if I went to https://<shop-url>/<category-name> I would get a 500 error. Turning debug mode on reveals the full extent of the error as: [PrestaShopException] No template found for [PROJECT_WEB_ROOT]/themes/[PROJECT_THEME_DIRECTORY]/category.tpl at line 73 in file classes/Smarty/TemplateFinder.php 68. return $tpl; 69. } 70. } 71. } 72. 73. throw new PrestaShopException('No template found for ' . $template); 74. } 75. 76. private function getTemplateHierarchy($template, $entity, $id) 77. { 78. $entity = basename($entity); TemplateFinderCore->getTemplate - [line 1403 - classes/controller/FrontController.php] - [4 Arguments] FrontControllerCore->getTemplateFile - [line 1294 - classes/controller/FrontController.php] - [3 Arguments] FrontControllerCore->setTemplate - [line 106 - controllers/front/CategoryController.php] - [1 Arguments] CategoryControllerCore->initContent - [line 281 - classes/controller/Controller.php] ControllerCore->run - [line 511 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Now, I went into the Smarty engine and added a few debugging lines to see what's what (hence why the exception isn't being thrown on line 68 as it ordinarily would), and here's where I found out why it can't find the template. It's looking in the following three paths: [PROJECT_WEB_ROOT]/themes/[PROJECT_THEME_DIRECTORY]/templates/en-US/[PROJECT_WEB_ROOT]/themes/[PROJECT_THEME_DIRECTORY]/category.tpl.tpl [PROJECT_WEB_ROOT]/themes/[PROJECT_THEME_DIRECTORY]/templates/[PROJECT_WEB_ROOT]/themes/[PROJECT_THEME_DIRECTORY]/category.tpl.tpl [PROJECT_WEB_ROOT]/public_html/themes/[PROJECT_THEME_DIRECTORY]/templates/[PROJECT_WEB_ROOT]/themes/[PROJECT_THEME_DIRECTORY]/category.tpl Above omitting specific directories in lieu of bracketed placeholders. Essentially, it appears that there's a full superfluous file system path being fed into the template finder. Like, rather than appending something like [templatename].tpl, it appends [full-path-to-template-plus-template-name].tpl, when it ought not. Does anyone know what could cause this and where to look and adjust to correct it? I'm not exactly familiar with Prestashop specifically, so tracing it back and finding a root cause is proving really time-consuming. I hope that someone in this community knows more about the software and can give me pointers as to where to look to find the source of this misbehavior. Additional information if it helps - this only seems to occur (I say "seems" because I haven't done a full accounting, but have definitely found lots of places it doesn't occur) for category view. So Smarty is being fed the correct template file paths under other circumstances.
×
×
  • Create New...