more work on products with no permalink
more complete code for permalink fallback
better comment
Merge pull request #479 from loadedcommerce/B2767

B2767