Fix permalink for products and taxons

This PR includes changes of PR #293 esculse the option values.