{"id":823864,"date":"2024-05-15T12:34:44","date_gmt":"2024-05-15T12:34:44","guid":{"rendered":"https:\/\/www.knowband.com\/blog\/?p=823864\/"},"modified":"2024-05-15T13:15:46","modified_gmt":"2024-05-15T13:15:46","slug":"adding-custom-html-block-in-prestashop","status":"publish","type":"post","link":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/","title":{"rendered":"Step-by-Step Guide for Adding Custom HTML Block in PrestaShop"},"content":{"rendered":"<h2><b>Why should we add a custom HTML block on our PrestaShop Store?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Adding a custom HTML block in PrestaShop website can enhance its functionality or overall style by allowing the store owners to include custom texts, images, links, or other HTML elements to the website and these blocks can be added to showcase different content on different controllers or pages.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The process of adding a custom HTML block in PrestaShop store is similar for all the versions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To add a custom block, we will use a Custom Module in the PrestaShop store.<\/span><\/p>\n<h2><b>Why a Custom Module?<\/b><\/h2>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Why-a-Custom-Module.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-823866 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Why-a-Custom-Module.png\" alt=\"Why a Custom Module - Knowband\" width=\"760\" height=\"300\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Why-a-Custom-Module.png 760w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Why-a-Custom-Module-300x118.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Flexibility and tighter integration within an online store are two major advantages of creating a bespoke HTML block using a specific PrestaShop module and this strategy works especially well when store owners have specific criteria that the pre-existing modules do not meet, or when adding new functionality without modifying the platform&#8217;s core files is desired.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By choosing to create a custom module, PrestaShop store owners can precisely tailor the look and feel of their eCommerce environment to match their marketing objectives and customer interaction strategies and this customization enables further personalization of the user experience, which may increase customer satisfaction and loyalty and along with that it gives business owners the flexibility to swiftly adapt to shifting market trends and maintain a competitive edge by including unique features that raise customer satisfaction and operational efficiency.<\/span><\/p>\n<p><b>Below is a step-by-step guide on how to create and use a custom HTML block in PrestaShop store:-<\/b><\/p>\n<h3><b>Step 1: Make Basic Files and Module Directory<\/b><\/h3>\n<ol>\n<li style=\"font-weight: 400;\"><b>Add a Fresh Directory:<\/b><span style=\"font-weight: 400;\"> Navigate to the PrestaShop installation&#8217;s modules directory and create a new folder named \u2018<\/span><b>myhtmlblock\u2019<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>PHP Main File:<\/b><span style=\"font-weight: 400;\"> Please create a file called \u2018<\/span><b>myhtmlblock.php<\/b><span style=\"font-weight: 400;\">\u2019 inside this directory. This file will contain the main class of your module.<\/span><\/li>\n<\/ol>\n<h3><b>Step 2: Code Your Module<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Open \u2018myhtmlblock.php\u2019 and add the following PHP code to define your module:<\/span><\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-PHP-code.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-823870\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-PHP-code.png\" alt=\"Screenshot of PHP code\" width=\"592\" height=\"598\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-PHP-code.png 592w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-PHP-code-297x300.png 297w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-PHP-code-60x60.png 60w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Also make sure that in each and every folder of the HTML Module, there is a file named \u2018index.php\u2019 having below code:<\/span><\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/custom-HTML-block-in-PrestaShop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-823871\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/custom-HTML-block-in-PrestaShop.png\" alt=\"Screenshot of custom HTML block in PrestaShop\" width=\"592\" height=\"312\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/custom-HTML-block-in-PrestaShop.png 592w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/custom-HTML-block-in-PrestaShop-300x158.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Step 3: Add a Template File<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Create a folder structure within the module directory like this: views\/templates\/hook and inside the hook directory, create a file named \u2018displayHome.tpl\u2019:<\/span><\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-custom-HTML-block-in-PrestaShop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-823872\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-custom-HTML-block-in-PrestaShop.png\" alt=\"Screenshot of custom HTML block in PrestaShop\" width=\"592\" height=\"266\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-custom-HTML-block-in-PrestaShop.png 592w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Screenshot-of-custom-HTML-block-in-PrestaShop-300x135.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Please note that, at the beginning of the Template file, a comment on the file path and its name has been added to show the same in the HTML content of your store.<\/span><\/p>\n<h3><b>Step 4: If desired, include a Configuration Page<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">If the store owner wants to make the HTML content configurable from the admin panel then they will need to implement a configuration form in the \u2018getContent()\u2019 method of your module class and as a result, the admin or store owner will be able to change the HTML text without changing the code.<\/span><\/p>\n<h3><b>Step 5: Installing the Module<\/b><\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Get into the PrestaShop admin panel.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Under Modules choose Module Manager.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click on \u2018Upload a Module\u2019 and select the zip file of your module, or find your module in the module list if it&#8217;s already on the server.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Select \u2018Install\u2019.<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Installing-the-Module.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-823873\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Installing-the-Module.png\" alt=\" Installing the Module\" width=\"830\" height=\"285\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Installing-the-Module.png 830w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Installing-the-Module-300x103.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Installing-the-Module-768x264.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Step 6: Place the Module on Other Hooks (Optional)<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The custom HTML block in Prestashop will need to be displayed in several places throughout the PrestaShop website, thus we will need to change the module&#8217;s \u2018install()\u2019 method to register multiple hooks. Every hook has a designated spot on the website where content can be shown.<\/span><\/p>\n<p><b>Typical hooks include the following:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">displayFooter<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">displayLeftColumn<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">displayRightColumn<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">displayProductAdditionalInfo<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">displayTop<\/span><\/li>\n<\/ul>\n<h3><b>Step 7: Test Your Module<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">After installation, go to the homepage of your site to see your new custom HTML block in action.<\/span><\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/custom-HTML-block.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-823874\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/custom-HTML-block.png\" alt=\"custom HTML block\" width=\"602\" height=\"285\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/custom-HTML-block.png 602w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/custom-HTML-block-300x142.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">If you added a configuration form, try changing the HTML block content through the PrestaShop back office to see if it updates correctly.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This approach gives you full control over what your module does and where it appears within your PrestaShop site, making it a powerful way to customize your store\u2019s functionality and design.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In case you have queries\/suggestions, you can reach out to our technical support portal at our email address support@knowband.com.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Take a look at our bestseller module <\/span><a href=\"https:\/\/www.knowband.com\/prestashop-one-page-supercheckout\"><span style=\"font-weight: 400;\">One Page Supercheckout for Prestashop<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"https:\/\/www.knowband.com\/opencart-mobile-app-builder\"><span style=\"font-weight: 400;\">Opencart Android and iOS Mobile App Builder Plugin<\/span><\/a><span style=\"font-weight: 400;\"> here and you can enhance the product visuals on your store using the <\/span><a href=\"https:\/\/www.knowband.com\/prestashop-product-customization\"><span style=\"font-weight: 400;\">Prestashop Product Designer\/Customizer addon<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Also, you can watch our latest videos here:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/hLZrtgGUy9A?si=I9ZDv-LsacTKqt-P\" width=\"660\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why should we add a custom HTML block on our PrestaShop Store? Adding a custom HTML block in PrestaShop website can enhance its functionality or overall style by allowing the store owners to include custom texts, images, links, or other HTML elements to the website and these blocks can be added to showcase different content [&hellip;]<\/p>\n","protected":false},"author":39,"featured_media":823865,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kbui_enabled":"","footnotes":""},"categories":[1],"tags":[34425,34422,34427,34426,34424,34423],"class_list":["post-823864","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-prestashop-blog","tag-custom-html-block","tag-custom-html-block-in-prestashop","tag-custom-html-code-integration","tag-html-block-in-prestashop","tag-html-block-integration","tag-html-integration"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add Custom HTML Block in PrestaShop | Step-by-Step Guide | Knowband<\/title>\n<meta name=\"description\" content=\"Learn how to enhance your PrestaShop store with custom HTML blocks. Follow our step-by-step guide for easy integration and flexible customization. Get started now with Knowband!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add Custom HTML Block in PrestaShop | Step-by-Step Guide | Knowband\" \/>\n<meta property=\"og:description\" content=\"Learn how to enhance your PrestaShop store with custom HTML blocks. Follow our step-by-step guide for easy integration and flexible customization. Get started now with Knowband!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowband Blog | Ecommerce Modules\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Knowband\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-15T12:34:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-15T13:15:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png\" \/>\n\t<meta property=\"og:image:width\" content=\"760\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Adrienne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:site\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adrienne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/\"},\"author\":{\"name\":\"Adrienne\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/dd9204e7027d2a21deaf2eef93fcbb4d\"},\"headline\":\"Step-by-Step Guide for Adding Custom HTML Block in PrestaShop\",\"datePublished\":\"2024-05-15T12:34:44+00:00\",\"dateModified\":\"2024-05-15T13:15:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/\"},\"wordCount\":733,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png\",\"keywords\":[\"Custom HTML block\",\"Custom HTML Block in PrestaShop\",\"Custom HTML code integration\",\"HTML block in Prestashop\",\"HTML block integration\",\"HTML integration\"],\"articleSection\":[\"Prestashop\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/\",\"name\":\"Add Custom HTML Block in PrestaShop | Step-by-Step Guide | Knowband\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png\",\"datePublished\":\"2024-05-15T12:34:44+00:00\",\"dateModified\":\"2024-05-15T13:15:46+00:00\",\"description\":\"Learn how to enhance your PrestaShop store with custom HTML blocks. Follow our step-by-step guide for easy integration and flexible customization. Get started now with Knowband!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png\",\"width\":760,\"height\":300,\"caption\":\"Add Custom HTML Block in PrestaShop | Step-by-Step Guide by Knowband\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-blog\\\/adding-custom-html-block-in-prestashop\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Step-by-Step Guide for Adding Custom HTML Block in PrestaShop\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"description\":\"Magento, Prestashop, Opencart, Shopify\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"width\":153,\"height\":61,\"caption\":\"Knowband Blog | Ecommerce Modules\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Knowband\",\"https:\\\/\\\/x.com\\\/KnowbandPlugin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/dd9204e7027d2a21deaf2eef93fcbb4d\",\"name\":\"Adrienne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/plugins\\\/wp-user-avatar\\\/deprecated\\\/wp-user-avatar\\\/images\\\/wpua-96x96.png\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/plugins\\\/wp-user-avatar\\\/deprecated\\\/wp-user-avatar\\\/images\\\/wpua-96x96.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/plugins\\\/wp-user-avatar\\\/deprecated\\\/wp-user-avatar\\\/images\\\/wpua-96x96.png\",\"caption\":\"Adrienne\"},\"description\":\"We are professionals in the eCommerce industry, specializing in plugin development. With years of experience, We provide the best plugins for platforms like - Magento, Prestashop, OpenCart and Shopify. We also offer custom module development and customization services for websites and modules. Our team remains at the forefront of industry trends, delivering cutting-edge solutions to enhance eCommerce website functionality. With a customer-centric approach, our company is trusted partner for eCommerce plugin solutions.\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/author\\\/adrienne\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add Custom HTML Block in PrestaShop | Step-by-Step Guide | Knowband","description":"Learn how to enhance your PrestaShop store with custom HTML blocks. Follow our step-by-step guide for easy integration and flexible customization. Get started now with Knowband!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/","og_locale":"en_US","og_type":"article","og_title":"Add Custom HTML Block in PrestaShop | Step-by-Step Guide | Knowband","og_description":"Learn how to enhance your PrestaShop store with custom HTML blocks. Follow our step-by-step guide for easy integration and flexible customization. Get started now with Knowband!","og_url":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/","og_site_name":"Knowband Blog | Ecommerce Modules","article_publisher":"https:\/\/www.facebook.com\/Knowband","article_published_time":"2024-05-15T12:34:44+00:00","article_modified_time":"2024-05-15T13:15:46+00:00","og_image":[{"width":760,"height":300,"url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png","type":"image\/png"}],"author":"Adrienne","twitter_card":"summary_large_image","twitter_creator":"@KnowbandPlugin","twitter_site":"@KnowbandPlugin","twitter_misc":{"Written by":"Adrienne","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/#article","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/"},"author":{"name":"Adrienne","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/dd9204e7027d2a21deaf2eef93fcbb4d"},"headline":"Step-by-Step Guide for Adding Custom HTML Block in PrestaShop","datePublished":"2024-05-15T12:34:44+00:00","dateModified":"2024-05-15T13:15:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/"},"wordCount":733,"commentCount":0,"publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png","keywords":["Custom HTML block","Custom HTML Block in PrestaShop","Custom HTML code integration","HTML block in Prestashop","HTML block integration","HTML integration"],"articleSection":["Prestashop"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/","url":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/","name":"Add Custom HTML Block in PrestaShop | Step-by-Step Guide | Knowband","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/#primaryimage"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png","datePublished":"2024-05-15T12:34:44+00:00","dateModified":"2024-05-15T13:15:46+00:00","description":"Learn how to enhance your PrestaShop store with custom HTML blocks. Follow our step-by-step guide for easy integration and flexible customization. Get started now with Knowband!","breadcrumb":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/#primaryimage","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2024\/05\/Step-by-Step-Guide-for-Adding-Custom-HTML-Block-in-PrestaShop.png","width":760,"height":300,"caption":"Add Custom HTML Block in PrestaShop | Step-by-Step Guide by Knowband"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knowband.com\/blog\/prestashop-blog\/adding-custom-html-block-in-prestashop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knowband.com\/blog\/fr\/"},{"@type":"ListItem","position":2,"name":"Step-by-Step Guide for Adding Custom HTML Block in PrestaShop"}]},{"@type":"WebSite","@id":"https:\/\/www.knowband.com\/blog\/fr\/#website","url":"https:\/\/www.knowband.com\/blog\/fr\/","name":"Knowband Blog | Ecommerce Modules","description":"Magento, Prestashop, Opencart, Shopify","publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knowband.com\/blog\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization","name":"Knowband Blog | Ecommerce Modules","url":"https:\/\/www.knowband.com\/blog\/fr\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","width":153,"height":61,"caption":"Knowband Blog | Ecommerce Modules"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Knowband","https:\/\/x.com\/KnowbandPlugin"]},{"@type":"Person","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/dd9204e7027d2a21deaf2eef93fcbb4d","name":"Adrienne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/wp-content\/plugins\/wp-user-avatar\/deprecated\/wp-user-avatar\/images\/wpua-96x96.png","url":"https:\/\/www.knowband.com\/blog\/wp-content\/plugins\/wp-user-avatar\/deprecated\/wp-user-avatar\/images\/wpua-96x96.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/plugins\/wp-user-avatar\/deprecated\/wp-user-avatar\/images\/wpua-96x96.png","caption":"Adrienne"},"description":"We are professionals in the eCommerce industry, specializing in plugin development. With years of experience, We provide the best plugins for platforms like - Magento, Prestashop, OpenCart and Shopify. We also offer custom module development and customization services for websites and modules. Our team remains at the forefront of industry trends, delivering cutting-edge solutions to enhance eCommerce website functionality. With a customer-centric approach, our company is trusted partner for eCommerce plugin solutions.","url":"https:\/\/www.knowband.com\/blog\/author\/adrienne\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/823864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/comments?post=823864"}],"version-history":[{"count":4,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/823864\/revisions"}],"predecessor-version":[{"id":823876,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/823864\/revisions\/823876"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/media\/823865"}],"wp:attachment":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/media?parent=823864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/categories?post=823864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/tags?post=823864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}