How to show configurable product with preselected options if requested url is for simple product?
For example:
Simple product #1 has:
Color: Red
URL: /simple-red.html
Simple product #2 has:
Color: Green
URL: /simple-green.html
Configurable product has:
URL: /config.html
If user visits /simple-red.html
it should be loaded configurable product with pre-selected option Color: Red
If user visits /simple-green.html
it should be loaded configurable product with pre-selected option Color: Green