You can create a router function on your application.
On 'http:///myapp/index.html', create a javascript function called 'getSlug'. This function get the path url and split string based on '/', the result will be:
[0] store
[1] [product-slug]
Create a function to router the content. You need to have column in product table with slug.
The router function will receive an array of slugs. On this function you need to implement the structure of your app.
For example, every time that fisrt item is 'store', load html of products into the div.
This is a kind o single page application. Every time that load this page, call this function:
$(document).on('load', function(){
router();
)