- This topic has 2 replies, 2 voices, and was last updated 12 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore-Admin function-generate encrypted link fails using variation w/ spaces
Hello,
I believe I’ve run all the right tests to weed out user error, but let me know if there’s something else I can check.
I’m trying to manually generate an encrypted link via the Admin Functions menu for an eBook product. However, the generator seems to fail when the variation includes any spaces or symbols. The eBook is available in several file formats, which I accomplished using the Digital Product Variation feature. The variations (exactly as written) are:
Kindle (.mobi)
iPhone/iPad/eReader (.ePub)
All formats (.zip file)
Here is a copy/paste from my digital product variation field in the product settings:
Format|PDF::http://www.mysite.com/file.pdf|Kindle (.mobi)::http://www.mysite.com/file.mobi|iPhone/iPad/eReader (.ePub)::http://www.mysite.com/file.epub|All formats (.zip file)::http://www.mysite.com/file.zip
When generating the links, PDF always works just fine. The others, however, all fail. I tried replacing all of the spaces with dashes, and they still failed. I tried removing the dots, and they still failed. I tried putting quotes around variation name (in the generator menu, not in the product variation settings), and they still failed. Only when I shorten them to a single word with no symbols whatsoever do they work, so that’s the work around I’m using now:
Kindle
eReader
All
But I’d much rather use the above option, because I think it is clearer to specify device compatibility and file extension. Any way to accomplish this?
eStore v6.6.8
Wordpress v3.4.1
The main issue is the “(” character in the variation name. The plugin uses that character in the variation to separate multiple variations.
Change your variation names to something like the following and you won’t have an issue:
PDF
Kindle - .mobi
iPhone/iPad/eReader - .ePub
All formats - .zip file
That’s exactly what I did and it works perfectly. Thanks!