marianokit / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

Preview sharing #210

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We need to add an optional function that can be used in a theme to make
previews easy to share.

The function adds a link to the page once a preview was generated.
Clicking on the link makes a call to Magento, downloads the preview file to
Magento and saves it in a folder accessible from the web (which one?).
Once the file is saved on Magento it displays a direct link to the file in
a text box.

The user will grab the link and share it with others.

Sharing previews from ZP directly is not reliable. They are deleted on a
schedule if not used in orders. So it will be gone pretty quickly.

Original issue reported on code.google.com by zetapri...@gmail.com on 13 May 2010 at 10:55

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 25 May 2010 at 7:49

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 25 May 2010 at 8:11

GoogleCodeExporter commented 8 years ago
We need a mock-up, please.

Original comment by zetapri...@gmail.com on 25 May 2010 at 9:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Add "Share preview" link under "Add to compare" and "Add to wishlist" (D2-1.png)
When a user clicks on "Share preview", the link is replaced with a text box
containing the URL (D2-2.png)

Original comment by agur...@gmail.com on 26 May 2010 at 7:22

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by Anatoly....@gmail.com on 29 May 2010 at 3:50

GoogleCodeExporter commented 8 years ago
Please, test it on magaimage

Original comment by Anatoly....@gmail.com on 30 May 2010 at 4:56

GoogleCodeExporter commented 8 years ago
Tested it on a few products in FF, Chrome and IE.

Sharing works fine, ex:
http://www.zetaprints.com/mageimage/media/tmp/catalog/product/previews/F0C0935B-
8067-61A4-4940-FC1B9D92A077.jpg

Suggestions:
1. Can we make the whole URL select automatically? Ex. They only need to click 
once
in the URL text box and the whole string is selected. Without having to double 
click
or Ctrl+A?
2. Can we make the text box turn back into a link when users click somewhere 
else on
a page? Or at least when they generate a new preview.
3. Maybe we need to gray out the link before a preview is generated. The way it 
is
now, if a user clicks on "Share preview" before updating a preview, they see a 
blank
text box.

Original comment by agur...@gmail.com on 31 May 2010 at 2:18

GoogleCodeExporter commented 8 years ago
Link onclick: The text box should get focus and the contents selected.

Revert the text box to Share preview link on the text box loosing focus.

We need some documentation before doing the final test, please:
a) what folder is used
b) who creates the folder, what permissions
c) file retention / clean-up
d) function involved, theme customisation

Original comment by zetapri...@gmail.com on 31 May 2010 at 11:40

GoogleCodeExporter commented 8 years ago

Original comment by Anatoly....@gmail.com on 2 Jun 2010 at 7:13

GoogleCodeExporter commented 8 years ago
See template/catalog/product/view/addto.phtml paragraph on CustomThemeNative 
page.

Original comment by Anatoly....@gmail.com on 2 Jun 2010 at 8:42

GoogleCodeExporter commented 8 years ago
Test it on new dev server.

Original comment by Anatoly....@gmail.com on 2 Jun 2010 at 11:50

GoogleCodeExporter commented 8 years ago
Tested on a few single page and multipage products in FF, IE and Chrome. 
Link is grayed out prior to preview generation, Lit up when a preview is 
generated,
grays out when I click somewhere else.
Sharing link works fine ex:
http://ec2-174-129-95-130.compute-1.amazonaws.com/magento/media/tmp/catalog/prod
uct/previews/44037909-D49C-B724-E919-99C84F1A6503.png

If the "Image uploading" bug has nothing to do with issue, change status to 
Test OK.
If it does have sometihing to do, leave as "More work" and comment after it is 
fixed,
so that I can test this again.

Original comment by agur...@gmail.com on 3 Jun 2010 at 12:52

GoogleCodeExporter commented 8 years ago
No, uploading problem is not relative. There's some problems with M. 
installation.

Original comment by Anatoly....@gmail.com on 3 Jun 2010 at 2:51

GoogleCodeExporter commented 8 years ago
Re-test now or after you figure it out? Unless this is another issue, in which 
case
this one is Test OK.

Original comment by agur...@gmail.com on 3 Jun 2010 at 5:27

GoogleCodeExporter commented 8 years ago
Well, what about 2-step theme ? :)

I tried it on 
http://ec2-174-129-95-130.compute-1.amazonaws.com/magento/index.php/email-signat
ures/email-signature-01-detailed-300-x-100-px.html

Let's get the wiki done and see if it's worth the bother with the 2-step theme 
for us.
Users should be able to insert that function wherever they want.

Original comment by zetapri...@gmail.com on 3 Jun 2010 at 11:07

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 3 Jun 2010 at 11:08

GoogleCodeExporter commented 8 years ago
I fixed problem with 2step theme and uploaded changed files to magento on dev 
for
testing purposes, so that's why it works there :-)

Original comment by Anatoly....@gmail.com on 4 Jun 2010 at 4:50

GoogleCodeExporter commented 8 years ago
Confusing.
Can we make Select on Click ?
At the moment it is Select on Show. I looked it and it wasn't clear what to do 
with it.

Original comment by zetapri...@gmail.com on 4 Jun 2010 at 5:00

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 4 Jun 2010 at 5:44

GoogleCodeExporter commented 8 years ago
The user needs to click on the text box for the text to be selected.
When the user clicks on it and the text is selected there should be a request 
going
to Magento to download the file.
The file name is the same as the preview on ZP.

We don't need to worry about the response so much. Assume it was successful. 
Maybe
pop an error msg if you have to handle the response anyway.

Reflect the change in the wiki.

Original comment by zetapri...@gmail.com on 4 Jun 2010 at 6:01

GoogleCodeExporter commented 8 years ago
New behaviour was implemented. Test it on dev server.

Original comment by Anatoly....@gmail.com on 4 Jun 2010 at 11:40

GoogleCodeExporter commented 8 years ago
Since we're leaving the "Preview sharing" out of the 2steptheme, there's no 
need to
show the link in the 1 step either. Remove it.

http://ec2-174-129-95-130.compute-1.amazonaws.com/magento/index.php/realestate-s
igns/cent21-signs/century21-square-sign-01-3-photos-24-x-24.html?SID=mqel16oorrj
ajnvc4qvijjpjr2

Minor issue:
Tested this in FF, IE and Chrome. Not a big issue but still, IE and Chrome show 
the
sharing link selected on first click after it was already open. Ex:
1. Go here in IE or Chrome:
http://ec2-174-129-95-130.compute-1.amazonaws.com/magedev/index.php/zetaprints-t
heme/image-options.html?SID=fi9tibirvamkahd61dl64ecji7
2. Generate a preview
3. Open sharing link... behavior is as it should be (URL is selected after the 
user
clicks in the text box)
4. Click somewhere else on the page
5. Click sharing link again. The URL is selected on open, like in the previous 
behavior.

Original comment by agur...@gmail.com on 7 Jun 2010 at 8:44

GoogleCodeExporter commented 8 years ago
We decided to leave this behaviour as is. Link was removed from 2-step theme.
Wiki page was edited.

See template/catalog/product/view/addto.phtml paragraph on CustomThemeNative 
page.

Original comment by Anatoly....@gmail.com on 8 Jun 2010 at 6:51

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 8 Jun 2010 at 7:34

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 8 Jun 2010 at 7:34

GoogleCodeExporter commented 8 years ago
Added a row on the subject on this page:
http://ec2-174-129-95-130.compute-1.amazonaws.com/magento-web-to-print/features

Note. Only on DEV root till approved.

Original comment by agur...@gmail.com on 13 Oct 2010 at 3:34

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 6 Nov 2010 at 9:16