Prestashop tweaks, tips and tricks?

Prestashop tweaks, tips and tricks?

How to disable the 70% top banner?

Go to admin > modules > type “banner”, there is an option to disable it.

Edit the contact us text from the header?

Admin > modules > type “contact”, contact block > edit it. You can only edit the phone number, not the call us text.


Edit / replace the default logo

Admin > preferences > themes > header logo.

Disable / change English to not be the default language.

From admin, languages, at status, switch to no / yes. This will delete the cache and reset the default language, also if you want to remove english for good.
To set the default language, go to localisation.

How to remove the categories from bottom / footer?

Go to admin > modules > type to search “categories”. Disable “categories block”.

How to edit the contact information from the front page?

Admin > modules > type “contact”, contact information block is what you need to configure.

Remove / edit the Prestashop copyright from the footer?

Admin > modules > type “cms”. CMS block is what you need to configure.

How to edit the top menu with categories?

Admin > modules > type “menu”.

How to remove compare?

Admin > from preferences > products. Set “product comparizon” to 0 (zero). That is all.

How to remove / edit the social network buttons from the front page? Facebook, Twitter etc.

Admin > modules > type “social”. Social networking block.

How newsletter works in Prestashop?

The user can enter his e-mail address from the front page.
To manage the newsletter module, go to admin, modules, search for “newsletter”. Newsletter block is what you need. Click on configure. You will see all the e-mails that are subscribed. You can export the list in csv format.

How to manage the slideshow images?

Admin, modules, type “slideshow”.

How to manage, delete the images from the front page. Images like “Top trends” etc.

Admin, modules, search for “theme”. What you need is called “theme configurator”.

Configure, then scroll down. Disable the images that you don’t like. How to disable them? Click on edit and uncheck “enable”.

How to disable, edit the custom text, lorem ipsum from the front page?

Admin, modules, type “custom”. Custom information cms is what you need.

How to edit, remove the follow us on Facebook widget?

Admin, modules, type “facebook”. “Facebook Like Box block” is what you need.

How to install / add a module in Prestashop?

You go to admin, modules, click on the top icon called “Add a new module”. There will be an option from where you can upload the zip file that is the module.
After that, search by typing the name of the module in the search field.

How to edit, delete the slideshow from the front page?

Admin, modules, type “homeslider” in the search field.

How to disable VAT?

Admin, localisation, taxes. See the bottom. You can disable there.

How to set shipping in Prestashop?

Admin, shipping tab. From there, you just edit the “My carrier” option.

How to set payment in Prestashop?

Admin, Modules and Services. You can disable, enable and edit whatever you like.
You need to install “cash on delivery”, the customer will pay when he receives the goods.

How to edit cash on delivery text / module?

Go to modules/cashondelivery/translations.

How to receive e-mail when someone orders in Prestashop (in your store)?

Admin, modules, search for “mail”. The module might not be installed. It is called “Mail alerts”. Install it and then you can configure it.
Set “yes” to new order and add more e-mail addresses on the bottom if you like.
I’ve noticed that it works to receive e-mails on gmail and yahoo but didn’t received on dedicated domain like domain.com. You can eventually just create a gmail account and forward it to your domain e-mail address.

How to remove “Our stores” from categories?

Admin, modules, store locator block. Disable it.

How to remove the information area from categories, from the left side?

This is a bit complicated. You go to modules and services, positions. From there, select from “show”, “CMS Block”.

From there, it should be listed on “Displayleftcolumn”. Unhook it.
If you don’t see any “Displayleftcolumn”, then go to “Transplant a module” (top page).
From there, at “module”, select CMS block, transplant to: Displayleftcolumn. And click Save. Ingore the bottom options.

Also, use the above method to enable the information area if you like so. After you have disabled it.

How to display all the categories in the category page, on the left side?

Make sure that the category module is hooked from position > leftcolumn.
And from the category module configuration, set “root category”, the third option there.
You can also sort them from the configuration page.
To display the categories on the product pages, go to preferences > themes > advanced settings > and check “left column” for where is saying “product”.
You actually need to do the same for the category page.
If you see more stuff on the left side, like for example: “my account tab”, “producers” and so on, you can go to positions, select a module like this and unhook it from leftcolumn.

Search doesn’t work, what to do?

If you search for anything and nothing returns, go to admin > preferences > search and click on “Re-build the entire index”. This will take a few minutes to finish.
Be sure to have a backup of your sql data and files.

What to do if you see your store as blank page, the index and all the other pages?

Login to ftp, locate cache/class_index.php. Delete that file, it will auto-recreate itself. And the website will show up again. This might happen if you delete your website and try to restore it from a backup.

Products appear distorted with no padding left and right on the front page and all the other pages?

It happens if you set no from admin, preferences, choose to not display the number of products. So don’t tweak those settings. If you want to remove the info from there, edit the file from themes/product.tpl.
It also happens if you delete the cache from Admin.
How to fix it? I’ve noticed that if you visit a page for example: contact or about us, those pages have normal padding. And then if you visit the front page of the store, the padding is back.

How to edit terms and conditions page?

Admin > preferences > cms.

How to add a translation for anything?

Usually you go to themes/your theme/lang/ and edit the file you need. En (english), Ro (romanian) etc.
You can add even lines that are missing. For example.

$_LANG[‘product-sort_7f284e119af971a952e4b29f0875fc60’] = ‘Pret: Crescator’;
$_LANG[‘product-sort_03590cca8220917788b5a6c25fa39a15’] = ‘Pret: Descrescator’;

Is missing from Ro (Romanian language). Add those lines.

How to remove condition, used, new product etc?

You need to edit product.tpl from /themes/. Search for the code related to conditions.

How to manually edit blocktopmenu, the module? Add manual links, remove them etc.

The file you need to modify is in themes/your theme/modules/blocktopmenu.tpl.

An example where I added manual links that have drop down menu.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html>
{if $MENU != ''}
	<!-- Menu -->
	<div id="block_top_menu" class="sf-contener clearfix col-lg-12">
		<div class="cat-title">{l s="Menu" mod="blocktopmenu"}</div>
		<ul class="sf-menu clearfix menu-content">
 
 
				<li class=""><a class="sf-with-ul" href="#">Link 1</a>
 
                <ul class="submenu-container clearfix first-in-line-xs" style="display: none;">
 
                <li><a href="#" title="">Link 1 submenu</a></li>
                <li><a href="#" title="">Link 1 submenu</a></li>
                <li><a href="#" title="">Link 1 submenu</a></li>
 
 
 
                </ul></li>
 
<li><a href="#">Link 2</a></li>
 
		</ul>
	</div>
	<!--/ Menu -->
{/if}

How to manually edit and change the links from the left menu (the categories)?

First of, head to modules/blockcategories. Rename blockcategories.tpl into blockcategories.tpl2 (to disable it).
Now, the blockcategories.tpl will work from themes/your theme/modules/blockcategories/blockcategories.tpl.

Edit blockcategories.tpl from there. Just add whatever you like, usually li html elements between the default ul elements.
This way, you can add your own links, no need to display the default ones from categories/subcategories.

How to edit the css of the top menu, from the default Prestashop theme?

Go to themes/your theme/css/modules/blocktopmenu/css/superfish-modified.css.

For example, if you want to modify the font size of the drop down menu items, search for “.sf-menu > li > ul > li > a {“.

If you want to add circles to the drop down menu links, because they are html li, search for “.sf-menu ul li {” and add “list-style-type: circle;”.

How to disable quick view in Prestashop?

Admin, modules, theme configurator > disable quick view. It’s listed in the first options there.

How to hide the products that are out of stock from all the store?

It’s not hard, open from themes/product-list.tpl and do the following tweaks:

After:
{foreach from=$products item=product name=products}

add

{if ($product.allow_oosp || $product.quantity > 0)}

Second thing:

Before:
{/foreach}

add

{/if}

How to modify the bestsellers module from the front page?

Go to modules/blockbestsellers. There, you can modify views/templates/hook/blockbestsellers-home.tpl.

Add you own code, it will be added manually. You can replace the text that is saying “best seller” with whatever you want (from translations). This way, you can transform bestsellers into recommendations or whatever you like.

Be sure to delete the cache after every tweak.

How to add stuff in the product category pages and in the product pages?

Go to themes/category.tpl. Edit the file, you can add stuff at the bottom. Be sure to delete the cache from admin to see the changes.

For product pages, do the same thing but for themes/product.tpl.

If you have questions, ask anything, I might be able to help you.

Add a comment: