I would like to change some margins at home page (dont know if it is possible [i am a noob]), tryed some ways in back office but nothing seems to work . Can it be done by modificating html code ? and how ? Would appreciate some guide :S
I am trying to access the html code . Following this video
at 1:26 he oppen a folder named "superfish modified css" but i don know where to find it ... i have looked at prestashop folder that i downloaded from this site , its not there ... if i checked filezilla its not there either. Did i deleted something ?
Pls help me im kinda noob in these stuff.
Thanks for your response dioniz
But I still can not get to that file . Should i write yourdomain\themes\yourtheme\css\modules\blocktopmenu\css\superfish-modified.css in my browser ? It oppens a blank site . The problem is that i dont know the very basics like where to click and how to get there :/ .
I am feeling like my grandma trying facebook now :/ Could you please write down a step by step guide from desktop please ? :S I really don know where to begin , searched the net , the topics (there are too many of them) but havent found anything helpfull .
I have a piece of custom PHP code that I need to place somewhere in the file structure that would be accessible on all pages (cart, cats, cms, etc...). I have done digging around and see all fingers pointed at the controllers directory. I'm not really sure where/how to make the addition. I've tried to create a module, but getting stuck - abandoning this idea due to time crunch. Any help would be extremely appreciated.
Also I should note that I would need to access the output of the custom PHP code via AJAX from the frontend. I have all this hooked up and working on just a simple setup (XAMPP) php.php & js.js just need to know how to integrate it within Prestashop's structure.
If you read my initial post, I did not ask for anyone to teach me how to develop a module or anything. I simply asked where (semantically) can I place custom PHP code that can be accessible on all pages (cart, cats, cms, etc...). Then I said "I've tried to create a module, but getting stuck - abandoning this idea due to time crunch".
The best way is to develop a module. If you use the generator ( ) it should be rather easy - to have your code executed on every page you can add it to diplayHeader hook for example. If you want to use any output on the frontend then assign it to smarty and insert these in the theme template file.
@tdsoft I don't see anybody putting a gun in your head and asking to teach someone to be a developer. If your are no interested in the topic, just close the window. Even more if you are from the buy-addons team, which don't comment their code and when you ask them for a modification the say its too hard to do.. How could you to teach someone if you can't do it by yourself???
Right now ZIP code needs to be like: "XX-1000". If my client type "1000" says "Wrong ZIP code" and many peoples don't know what to do. I would like to completly disable that option. I know many potencial coustumers who don't know where "- minus" is located on keyboard, and so on...
I did this with tech support from my hosting provider with me. There was nothing in the server error log and there were no permissions problems. Every single other module installs correctly with zero issues. The one-click upgrade module fails with response of server with 0 code every single time, so there is clearly a problem with the module archive.
Hi! I was getting same error and in my case it was because of the modSecurity module. I solved it by adding a rule in the .htaccess file adding the ID which was reporting the error in the apache.error.log file:
If I copy/paste my HTML code after the content of the 'index.tpl' file, how will it know where to put the banner? I downloaded the 'html block free', but there's no instructions as to how to install it. Do you have an installation guide? Thanks!
Thanks! I found out how to 'add module', and I added the 'htmlbox', and pasted my code. Banner is now up on my site. Can I use this method to add another banner, or will using 'htmlbox' 'wipe out' the first banner? I've used 'htmlbox' in the 'footer' position, can I use 'htmlbox' again in a different position(but still keep the 'footer' banner), or is 'htmlbox' good only for one insertion?
OK, thanks. Is there a way to add another block of HTML code? I've already used the Home Text Editor module, and the 'htmlbox'. Am I out of 'free' options? Does 'htmlbox' pro allow multiple blocks of code?
First you have to clear LiteSpeed Cache Plugin after update. Secound you have to recreate default and root categories. If you don t have that two categories nothing gona work. Third you have to delate cache in var folder.
first of all go to "Traffic & SEO" section and be sure you have turned on both "Friendly URL" and "Accented URL" then log out and log in again and after that be sure if you have multilingual website enabled even though you have some languages disabled, fill related name for category name
For anyone having problems with the "[PrestaShop\PrestaShop\Core\Domain\Customer\Exception\CustomerException code 0]" error, I've just been experiencing that whilst trying to change customer details, passwords etc on PS 1.7.6.2
I had the same problem, when saving details from a customer in the admin I got this error; [PrestaShop\PrestaShop\Core\Domain\Customer\Exception\CustomerException code 0]. After reading this topic I checked the first name, which had A.B.C. as initials filled in. Customer was already a customer in the shop for years, but now she couldn't change the password. I tried helping from the backend, resulting in the code 0 error.
When trying to enter to modify the categories it failed, it also failed when I entered an imported article and reviewed the associated categories, the product associations appeared to 0, and for any change it forced me to place the product in a category, this was an error given that when importing each product had its category.
Al intentar entrar a modificar las categoras fallaba, tambin fallaba cuando entraba a un artculo de los importados y revisaba las categoras asociadas, me aparecan a 0 las asociaciones del producto, y para cualquier cambio me obligaba a colocar el producto en una categora, esto era un error dado que al importarlos cada producto tena su categora.
Did the transfer of category and _lang as well as the category_product linkage. However in the newer version, there is a "Root" category id = 1, which is not present in older versions of the database. So I had to modify it and create a "Home" category relating to id=1 and mark as root category then update the connections (id_parent) from id=1 to that new home category (for me I had space for id=2) and the depth needs to be managed accordingly (in my case I needed to increase all by one, leaving category 1 to depth of 0). If you are moving form version without category_shop table, you will need copy the content table category into that category_shop with the appropriate shop id (I only have the default =1). Also dont worry about the nleft and nright also position columns, those get updated by the system the moment you make a change to a category position in the Admin UI.
I'm having the same issue after upgrading, but even I've made the same changes you said, my backoffice is still showing the category with id 1 and level_depth = 0 as root and the new one marked a is_root_category as a subcategory (I've also changed the PS_HOME_CATEGORY config to the new ID):
Hello @Coluccini! Sorry - i have completely missed your question - you will also need to assign the parent categories accordingly - so you will need to update the parent items and re-hash the products. One way is to disable and re-enable them, this way you will make Presta refresh all items, and they will show.
In stores that were installed before multi-shop was a thing the "Home" category was category 1. When multi-shop was introduced there was a need to have a "Home" category potentially for each shop (although multiple shops could have the same category tree and therefor the same "Home" I guess).
c80f0f1006