Fix appending quantity to rel attribute (accounts for variants)
Fix error in url calculation, also account for variants changing the URL
Merge pull request #3 from ddysart/master

Fix appending quantity to rel attribute (accounts for variants)