title: How to create Category / Subcategory Friendly URL in PrestaShop?
body: <p>I have a question about formatting the friendly URL for category and subcategory and getting the matching products. I am using PrestaShop 1.5.2.0</p>
  
  <p>Let's say we have a structure like this:</p>
  
  <p><strong>Category 1</strong></p>
  
  <ul>
  <li>Spare Parts</li>
  <li>Accessories</li>
  </ul>
  
  <p><strong>Category 2</strong></p>
  
  <ul>
  <li>Chips</li>
  <li>Accessories</li>
  </ul>
  
  <p>I want to display the link like this: <strong>/category-1/accessories</strong> and to display the products from category 1->accessories. How can I achieve this?</p>
  
  <p>The current behavior is when I click on accessories, being in category 1, the link is <strong>/accessories</strong> and the products that are displayed belong from both /category-1/accessories and /category-2/accessories</p>
  
  <p>Thanks! </p>