Create friendly URL based on product name in Prestashop using SQL query

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 my-super-product-1

Queries

Continue reading Create friendly URL based on product name in Prestashop using SQL query

Automatic product status and visibility – Prestashop module

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:

https://addons.prestashop.com/en/order-management/26968-automatic-product-status-and-visibility.html

 

 

[Prestashop] Set the deepest category assigned to the product as the default

To set the deepest category assigned to the product as the default you need to do:

  1.  Open your database (for example by phpMyAdmin)
  2.  I suggest you create backup of your database for safety (export data and structure)
  3. Open SQL tab and perform these queries Continue reading [Prestashop] Set the deepest category assigned to the product as the default

[Prestashop] First product image as cover

If you want to mark first image of product as cover you need to do:

  1.  Open your database (for example by phpMyAdmin)
  2. I suggest you create backup of your database for safety (export data and structure)
  3.  Open SQL tab and perform queries from this file (change ‘ps_’ to your prefix):
    prestashop-first_image_as_cover.sql
  4.  Done! 🙂