prunycb / magento-w2p

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

Optional pages - mage #688

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Use @Multipage attribute to control ADD TO CART button

== @Multipage="include" ==
Allow checking out any time, even with nothing updated.
The checkout should show default previews/thumbs in pace of user 
previews/thumbs, but this data should already be in the XML coming from ZP, so 
no change is required at mage end. Mentioning this because I'm not sure it 
actually is in there at the right time. Double-check.

== @Multipage="" ==
Allow checking out any time, with at least 1 page updated or at least 1 static 
page.
The checkout should show only updated and static previews/thumbs in pace of 
user previews/thumbs. The data should be in the XML, same as above.

== @Multipage="require" ==
Allow checking out only when all pages with variable content got updated. Looks 
like it's the current behavior. 

== Example of @Multipage ==

<TemplateDetails TemplateID="759DE356-DE4E-4131-A3E1-150415290F46" 
CorporateID="66C42C85-5D67-48AC-BD27-2679BDB95971" Comments="" GeneratePdf="1" 
Download="allow" 
AccessURL="http://cname.zetaprints.com/MagentoT-01/2pg-template.htm" 
ProductReference="" VersionLatest="20110707000000" Multipage="include">

Original issue reported on code.google.com by ad...@zetaprints.com on 7 Nov 2011 at 12:58

GoogleCodeExporter commented 9 years ago

Original comment by ad...@zetaprints.com on 7 Nov 2011 at 12:58

GoogleCodeExporter commented 9 years ago
Can we have a quick temporary solution for enabling add to cart from the very 
beginning as if in @Multipage="include"

A proper release will come later.

Original comment by ad...@zetaprints.com on 7 Nov 2011 at 9:55

GoogleCodeExporter commented 9 years ago
It's not possible as a quick temporary solution. ZP requires updated image 
names for all non-static pages.

Original comment by Anatoly....@gmail.com on 7 Nov 2011 at 5:34

GoogleCodeExporter commented 9 years ago
@3 - I'll double check, but it shouldn't. Did you try to send ,,,,, ?

Original comment by ad...@zetaprints.com on 7 Nov 2011 at 6:04

GoogleCodeExporter commented 9 years ago
Yes, I did. No luck

Original comment by Anatoly....@gmail.com on 7 Nov 2011 at 6:20

GoogleCodeExporter commented 9 years ago
OK, here are some changes to ZP end.
Now it's way more flexible. 
Read http://www.zetaprints.com/help/orders-api-save-order/ under PREVIEWS 
section

You can send a list of previews with or without empty ones like ,,,, and you 
can include or exclude previews for static pages. The order of the previews is 
not important either.
Hope it makes your life difficult.

The thing is it hasn't been deployed yet. Give us a few hrs. Will update you 
here when it's ready.

Original comment by ad...@zetaprints.com on 9 Nov 2011 at 3:16

GoogleCodeExporter commented 9 years ago
Deployed. Please, action ASAP. We have a long suffering customer in need of 
this.

Original comment by ad...@zetaprints.com on 9 Nov 2011 at 9:01

GoogleCodeExporter commented 9 years ago
Attribute Multipage was renamed to MissedPages. The values are the same.

Original comment by ad...@zetaprints.com on 9 Nov 2011 at 10:44

GoogleCodeExporter commented 9 years ago
Diffs: http://code.google.com/p/magento-w2p/source/detail?r=1830

Original comment by Anatoly....@gmail.com on 9 Nov 2011 at 4:28

GoogleCodeExporter commented 9 years ago
Please, test with 1.9.2.0beta15 release

Original comment by Anatoly....@gmail.com on 9 Nov 2011 at 7:25

GoogleCodeExporter commented 9 years ago
Tested on /mageimage/
web_to_print_store_incl_theme   1.9.2.0beta15 (beta)

http://d1.zetaprints.com/mageimage/index.php/magentot-02/static-page.html
template has 2 (inner) static pages and 2 (outer) variable ones.

Doesn't work correctly.

1. Happens when multipage option is set to: "exclude blank pages" and "include 
default pages".
When I click on "Add to cart" without updating any page, I get a "ZetaPrints 
err"

2. Default values is set - exclude blank pages.
I updated only page 1 and added the item to cart. The preview shows the last 
page as well when it should be excluded (excl_01.png). The generated PDF is 
correct - last page is excluded.

3. Value is set to "Include default pages"
I updated only page 1 and hit "Add to cart". I got "ZetaPrints err"

Original comment by agur...@gmail.com on 10 Nov 2011 at 3:45

Attachments:

GoogleCodeExporter commented 9 years ago
Anatoly, check the XML you get before digging too deep into it. Could be a 
problem at our end.

Original comment by ad...@zetaprints.com on 10 Nov 2011 at 6:08

GoogleCodeExporter commented 9 years ago
Diff: http://code.google.com/p/magento-w2p/source/detail?r=1837

Original comment by Anatoly....@gmail.com on 12 Nov 2011 at 1:35

GoogleCodeExporter commented 9 years ago

Original comment by Anatoly....@gmail.com on 14 Nov 2011 at 5:19

GoogleCodeExporter commented 9 years ago
Please, re-test it with 1.9.2.0alpha16 release (already installed on 
/mageimage/)

Original comment by Anatoly....@gmail.com on 14 Nov 2011 at 5:39

GoogleCodeExporter commented 9 years ago
Tested on /mageimage/
web_to_print_store_incl_theme   1.9.2.0alpha16 (alpha)

1. Happens when multipage option is set to "include default pages".
When I click on "Add to cart" without updating any page, I get a "ZetaPrints 
err"
http://d1.zetaprints.com/mageimage/index.php/magentot-02/static-page.html

Original comment by agur...@gmail.com on 15 Nov 2011 at 10:20

GoogleCodeExporter commented 9 years ago
Anatoly, let's test @16 together. 

Original comment by ad...@zetaprints.com on 16 Nov 2011 at 1:16

GoogleCodeExporter commented 9 years ago

Original comment by Anatoly....@gmail.com on 16 Nov 2011 at 2:13

GoogleCodeExporter commented 9 years ago
Please, re-test with 1.9.2.0beta16 release

Original comment by Anatoly....@gmail.com on 20 Nov 2011 at 5:33

GoogleCodeExporter commented 9 years ago

I'm shown the default pages yet I'm served with my cached input PDF file.

Replication instructions:
- navigate to
http://d1.zetaprints.com/mageimage/index.php/magentot-02/static-page.html
- Add to cart right away, without updating anything
- The preview on shopping cart is ok (static_01.png)
- So is the PDF proof and the previews on the order details page after I place 
the order (static_02.png)
- Yet when I download the PDF, it doesn't hold the default pages but input from 
some old order of mine that I've placed on the same template before - cached 
data. (static_03.png)

Original comment by agur...@gmail.com on 21 Nov 2011 at 11:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ad...@zetaprints.com on 23 Nov 2011 at 6:21

GoogleCodeExporter commented 9 years ago

Original comment by Anatoly....@gmail.com on 3 Dec 2011 at 5:58

GoogleCodeExporter commented 9 years ago
Reminder:
Needs to be tested on templates with separate preview/print template files.

Original comment by agur...@gmail.com on 7 Dec 2011 at 11:05

GoogleCodeExporter commented 9 years ago
See redmine #702 for testing details.

Original comment by ad...@zetaprints.com on 12 Dec 2011 at 12:50

GoogleCodeExporter commented 9 years ago
Repeating fields cause a ZP err.

Lets say a template has repeating fields on a few of its pages. If you skip to 
the last page, update preview
http://cname.zetaprints.com/?page=template;TemplateID=11588DCB-38B2-4688-A625-84
8433259418
you'll get all pages that hold those same fields updated.

in Magento
If you skip to the last page, update preview and add to cart:
http://d1.zetaprints.com/mageimage/index.php/magentot-02/4xpage-sign.html
you'll get a "ZetaPrints err"

Original comment by agur...@gmail.com on 13 Dec 2011 at 4:03

GoogleCodeExporter commented 9 years ago
@25 - I think it's linked to issue 717

Original comment by ad...@zetaprints.com on 13 Dec 2011 at 9:50

GoogleCodeExporter commented 9 years ago
WHere is this at?

Original comment by ad...@zetaprints.com on 16 Jan 2012 at 3:55

GoogleCodeExporter commented 9 years ago
Atanas, is this still a valid issue?

Original comment by ad...@zetaprints.com on 16 Jan 2012 at 4:09

GoogleCodeExporter commented 9 years ago
Tested on /mageimage/
web_to_print_store_incl_theme   2.0.0.1 (stable) 

Original comment by agur...@gmail.com on 16 Jan 2012 at 9:53

GoogleCodeExporter commented 9 years ago

Original comment by ad...@zetaprints.com on 3 Feb 2012 at 4:14