This post shows how to save server disk space using images compression. The following commands do not loss the picture quality, but only remove unnecessary data from them.
If you want to search products by category using
blocksearch module you need to override module and one Prestashop class.
How to do this
Below you will find simple SQL queries which creates product friendly url from product’s name and saves them in the database SEO section.
You can run this i.e. in phpmyadmin or MySQL Workbench.
Example of action
From product name
$ My super product 1 !!! it will create friendly url
Module allows to automatically update product status and visibility based on stock available with multistore and attribute combinations support included.
- You will save a lot of time. Products will be automatically turned on and off when manually updating product quantities and sales
- The module automatically turns on or off newly imported or updated products
- Multistore support. You can configure the module individually for each store
- Product attribute combinations support
- Since version 1.1 you can choose what you want to do:
- change product visibility (show/hide)
- change product status (enable/disable)
For More details and download go to:
Using SSH you can setup correct permissions for Prestashop using one command.
My simple script: Continue reading Simple setup correct permissions for Prestashop
Module ‘blocknewproducts’ shows new products by the selected number of days from the addition.
With my modification, the module will display products sorted by date added, despite the time that has passed since the product was added to our store.
By default reference code contains only random uppercase letters – like this:
ABCDEFGHI, BCDEFGHIJ, CDEFGHIJK etc.
By my module your new order references will be numeric – like this:
000000001, 000000002, … 000000129 etc.
Just upload my module to your PrestaShop and install it – it’s all 🙂
In this entry I describe how to override PrestaShop controller, class or main class of the module.
How to override PrestaShop controller: /controllers/front/AddressController.php (this is just an example of the file)
Create file: /override/controllers/front/AddressController.php with content:
class AddressController extends AddressControllerCore
// your code here
How to override PrestaShop class: /classes/Address.php (this is just an example of the file)
Create file: /override/classes/Address.php with content: Continue reading [PrestaShop] How to override PrestaShop controller, class or main class of the module
This entry shows how to easily copy product translations from one lang to others by PHP script.
Make a backup of the database before running this script! Continue reading [PrestaShop] Copy product translations from one lang to others
When we turn on Friendly URL in PrestaShop, shop home page url looks like this:
This entry shows trick how to change this url to:
http://example.com/en/shop Continue reading [PrestaShop][1.6] Add friendly URL to shop home page