Forum Replies Created
-
AuthorPosts
-
bobkSpectator
Here’s the code in the field labeled ‘digital product variation’. (I don’t see a field labeled ‘variation control’.)
Choose format|AAC::as3tp://rakbucket1.s3.amazonaws.com/testfolder/8-19-08_Improv_4.m4a|FLAC::0.30::as3tp://rakbucket1.s3.amazonaws.com/testfolder/8-19-08_Improv_4_AAC.zip|Apple Lossless::0.30::as3tp://rakbucket1.s3.amazonaws.com/testfolder/8-19-08_Improv_4.mp3
April 3, 2012 at 7:04 am in reply to: Is it possible to use a text link instead of a button for 'add to cart'? #43692bobkSpectatorGot it!
[http://bobkarty.pairsite.com/listen_and_buy/leader_solo_artist/ ]
The page in the URL has to be the page you want them to end up on after adding to the cart. I’m not sure I’m using it the way it was intended (in my case, the link is on the same page as the cart), but it works.
Does this require any more ‘work’ on the part of the server than using the basic ‘add to cart’ button, and if so, is the difference significant? It seems that when I use the link, the entire page re-loads, but when I use the button, just the body (not the background) re-loads.
Also: how can I move the text closer to the audio player?
Thanks!
April 3, 2012 at 6:36 am in reply to: Is it possible to use a text link instead of a button for 'add to cart'? #43690bobkSpectatorThanks – I did have the correct URL in the attempts described above (post #31743), and it didn’t work.
I tried adding the code in both in the ‘visual editor’ and the ‘html editor,’ and in both cases it just displayed the code rather than a link.
Here’s an example on a test page:
[http://bobkarty.pairsite.com/past-performances-of-note/]
April 3, 2012 at 1:57 am in reply to: Is it possible to use a text link instead of a button for 'add to cart'? #43688bobkSpectatorOne more thing:
My site is currently on a subdomain during development. Does this matter for the purposes of that link?
i.e., the current ULR is sitename.hostserver.com
When it’s ready to go live, it’ll move to sitename.com
Thanks!
April 3, 2012 at 12:48 am in reply to: Is it possible to use a text link instead of a button for 'add to cart'? #43687bobkSpectatorI tried adding that code to my page – first in the page’s Visual editor, then in the HTML editor. In both cases, the full link code just appeared on the page instead of a clickable link.
I checked, and the extra shortcodes plugin is activated.
Do I really just need the domain name, or the actual directory where the plug-in is installed?
April 2, 2012 at 10:28 pm in reply to: Is it possible to use a text link instead of a button for 'add to cart'? #43686bobkSpectatorI don’t understand your answer. (I do have the extra shortcodes package installed.)
In case I wasn’t clear, in the same positions of the ‘add to cart’ button, and the ‘remove’ button, I just want text links (preferably ones which can change color upon hover).
April 1, 2012 at 9:07 pm in reply to: Force a File to Download Instead of Showing Up in the Browser #40746bobkSpectatorGreat! Thanks very much.
Bob
April 1, 2012 at 4:40 am in reply to: Use 'Add to cart' button from 'Stylish Product Display 10' in other styles? #43593bobkSpectatorYes, I could make an image that way – or just make one from scratch in Photoshop Elements.
But I’d much rather do it in CSS, as that would allow me to customize it to my site’s design, and it would retain the rollover effect…
March 31, 2012 at 11:54 pm in reply to: Force a File to Download Instead of Showing Up in the Browser #40744bobkSpectatorYes – you’re exactly right, wzp! Thank you! I figured out what to add based on option 3 above.
For other newbies who have this issue, here’s the workflow:
In the S3 console, select an object (in my case, an audio file), and then click the ‘properties’ button (if the properties window at the bottom isn’t already visible).
Click the ‘metadata’ tab.
In my case, ‘Key’ was by default set to ‘Content-Type’ and ‘Value’ was set to ‘application/octet-stream.’ I left that as-is. (It was an AAC (.m4A) file; for an .mp3 file, the Content-Type was set to audio/mpeg. I left that unchanged too.)
Click the ‘add more metadata’ button, and add:
Key: Content-Disposition Value: attachment
I then ran a test purchase in the PayPal Sandbox, and the files downloaded instead of loading in the browser, which they had previously done. Cool!
Setting each object manually might be a pain for those with large numbers of files, but it’ll be fine for me.
Follow up question:
Previously, when the audio file loaded in the browser (instead of downloading), the URL in the address bar included my S3 Access Key ID – not simply the encrypted link.
Is that a security risk?
Thanks again.
March 31, 2012 at 5:52 pm in reply to: Force a File to Download Instead of Showing Up in the Browser #40742bobkSpectatorIs there any way to accomplish option 3 with files hosted on Amazon S3?
I’m setting up a site to sell audio files.
The sample excerpts are stored at my web site, and I DO want those to play in the browser (via the plugin mp3-jplayer for WordPress).
The full size audio files for purchase will be stored at S3.
I realize option 1 is the easiest (and I’ve heard that zipping also helps prevent file corruption in transit), but it adds an extra step for the customer. Probably not a big deal, but I’d like to know what my options are. Much of the S3 documentation is above my skill level, but I’ll check there as well.
Thanks!
-
AuthorPosts