Pretty much everything is in the title of my question.
What is the difference between the columns url_path and url_key in the flat products tables - like catalog_product_flat_(store_id) - of Magento ?
Thanks !
Pretty much everything is in the title of my question.
What is the difference between the columns url_path and url_key in the flat products tables - like catalog_product_flat_(store_id) - of Magento ?
Thanks !
url_key is the field you fill in the admin as is. (If there is nothing specified it create one by using the name of the product by lowercasing it and replace blank in it with hyphen).
url_path will be a concatenation of url_key and the Product URL Suffix defined under System > configuration > Catalog > Search Engine Optimization. It will also ensure that you do not have duplicate url_path by suffixing your url_key with an hyphen and the entity_id of the product if the same url_key already exists.