Free Android CakePHP GMaps Articles by Bali Web Design

May 21, 2012

Prestashop – How to remove shop name from meta title

Filed under: prestashop — admin @ 9:22 pm

Default setting for meta title on prestashop are display at the end. Even if you set meta title on each CMS page or categories product page using SEO options, the shop name still display at the end of meta title. This make the title are too long and not sufficient for SEO.

To remove shop name from meta title is by editing file classes/Tools.php. And then search to function getMetaTags and getHomeMetaTags.If you want to change only homepage, then change only getHomeMetaTags function. But if you want to change other pages also, please change on getMetaTags.

You will need to remove all the dashes and PS_SHOP_NAME parts of the functions of classes/Tools.php. Save the file and upload to ftp server. Now you have a good meta title for your prestashop website.

How to change order id running number on prestashop

Filed under: prestashop — admin @ 8:41 pm

Sometime we need to change the order id running number for new installed prestashop. The reason probably to make transaction on our website shop is more trusted for new customer. For new online shop, it is hard to get trust at the beginning except we do branding a lot at launch. There is probably another reason to change order id running number, one that come to my mind is hiding our statistic data from competitor.

In my opinion we need to change order id running number and customer id running number. This way the customer are trust us as a popular web shop. So how do i change running number for order id on prestashop?

It is easy, but you need to have access to database, specifically phpmyadmin interface. And then run this query on prestashop database

ALTER TABLE  `ps_orders` AUTO_INCREMENT =255344;

255344 is the next order id.

And then for customer running number also same. Change through phpmyadmin by running this query

ALTER TABLE  `ps_customer` AUTO_INCREMENT =104;

104 is the next customer id

Please make sure to backup database first before running query and after query run please test once again the website order flow.

I recommend to use new logical running number, nowdays people are able to check if your website new or not.

March 7, 2012

How to optimize prestashop

Filed under: prestashop — admin @ 12:58 am

Debugging mode and deploy mode must have different handling. When developing we need to enable debug mode to see warning or problem on our website before ready to launch. When all function are tested without error, we are ready to launch it and put it to deploy mode. This article is about how to optimize prestashop on deploy mode.

There are several setting that you can use to maximize page load on prestashop, such as

  1. Enable Smarty Cache File
    Set force compile to off will make page load are faster. Always Force compile will slow down the page load, only enable when you do template changes
  2. Enabled CCC Setting
    Enable this to CSS, Javascript, and HTML without touching your template will improve your website performance. It decrease server load by combine all CSS files into one file. Also this setting compress the file so the filesize is smaller make it faster to load.
  3. Enable Cache System
    This is important, if you dont have memcached feature on your hosting, just use File system cache. This caching system significantly improve page load speed.

Where you can find this setting to optimize prestashop? Just go to admin area, open menu Preferences > Performance

How to edit seo title keyword description metatag homepage prestashop

Filed under: prestashop — admin @ 12:34 am

SEO is important when we want to optimize our website to gain more visitor from search engine result page. It is important to have unique title, keyword and description metatag for all your web pages. This way the search engine crawler will index better using this information. It is also important for prestashop to have seo for homepage, however probably it is a bit confusing to set it on admin area.

I will tell you how to edit seo parameter for title, keyword and description metatag for your homepage or your other pages except products and categories. Please follow this step

  1. Go to admin area
  2. Open Menu Preferences > SEO & URLs
  3. And then edit index.php from the page list (url lists)
  4. On next interface you will see input field for title, keyword and description metatag

Using this way, you could change seo parameter for another pages, just find on the list and then edit it.

March 6, 2012

Strange error when configure module Module uninstalled successfully Prestashop

Filed under: prestashop — admin @ 3:44 am

I got strange error when Configure any module on prestashop Module menu. If i click Configure to any module that are installed, i will get this error message “Module uninstalled successfully“. I try to reset the module, and it work for a while when i click configure, but then when i save the configuration, it showing that error again.

So i explore about this problem and found there is a bug that when we enable cache system, the system will showing that error message. So i do this step

  1. Go to Preferences > Performance, and turn off Caching. I also turn off smarty cache and force to compile.
  2. And then i configure the modules, and never get that strange message anymore

I think the caching system need to fixed, because this caching system on prestashop often making strange behavior on the interface. If you find case like this just turn of caching system first. If everything has been setup then we can enable the caching system again for better performance on frontend

How to set confirmation email order prestashop

Filed under: prestashop — admin @ 3:36 am

By default prestashop will not send confirmation email order to sales or admin email. So we need to set first before we can get confirmation email order using prestashop. We know prestashop is quit complex CMS for ecommerce, that make setting much harder than others CMS.

I use this procedure to get confirmation email order send to sales or admin email :

  1. Install Maill Alerts by Prestashop Module, and then configure. Place target confirmation email address on Send to these e-mail addresses
  2. Go to Employess > Contacts, set email for Customer Service
  3. Go to Preferences > E-mail, set email to Customer Service

By using that procedure my prestashop now can send confirmation email order to sales or admin email.