Letractively / magento-w2p

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

Datasets #669

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Templates with datasets have values added for each field as in the snippet 
below:

<Field FieldName="Text 1" Page="1" Hint="" ColourPickerFill="RGB" Story="Text 
1" Value="Second line">
    <DataSet>
        <Cell text="line 1&#xA;line 2&#xA;line 3">
            <Para>line 1</Para>
            <Para>line 2</Para>
            <Para>line 3</Para>
        </Cell>
        <Cell text="line a&#xA;line b&#xA;line c">
            <Para>line a</Para>
            <Para>line b</Para>
            <Para>line c</Para>
        </Cell>
        <Cell text="3">
            <Para>3</Para>
        </Cell>
        <Cell text="4">
            <Para>4</Para>
        </Cell>
    </DataSet>
</Field>

Template for testing: 
http://cname.zetaprints.com/?page=template-xml;TemplateID=1B7341C4-FDAC-4134-B87
7-F2398202201B

=== Functionality ===

Show dataset values as combobox dropdowns per field.
If a user picks a value from any of the comboboxes the script should change 
values in all other fields corresponding to the same index from the dataset.

E.g. if they pick value 3 then all other fields get updated with value from 
cell 3 from their dataset.

Some fields may have no dataset values.
If a user modifies the value in the combobox it makes no effect on the rest of 
the fields.

Original issue reported on code.google.com by ad...@zetaprints.com on 11 Oct 2011 at 5:03

GoogleCodeExporter commented 9 years ago
Datasets superseed lists of values used for comboboxes and dropdowns at the 
moment, so that if both are present only dataset values are used.

Original comment by ad...@zetaprints.com on 11 Oct 2011 at 5:06

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

Note: we don't support multi-line text samples properly at this moment.

Original comment by Anatoly....@gmail.com on 14 Oct 2011 at 12:07

GoogleCodeExporter commented 9 years ago
Atanas, please, test it on /mageimage/. It's already installed there.

I can't upload new alpha right now. They changed version scheme in new m-c.
Need to find info about it.

Original comment by Anatoly....@gmail.com on 14 Oct 2011 at 12:22

GoogleCodeExporter commented 9 years ago
Tested on /mageimage/

http://d1.zetaprints.com/mageimage/index.php/magentot-01/multiple-fields-in-one-
text-frame.html

Results:
When I chose one of the values in the combobox, the rest of the fields are 
populated with the values from the same "dataset row". Ex. I pick second value 
for field #2. all the other fields are populated with their corresponding 
"second row" values.
A problem caused by this behavior:
Having it set up this way prevents customers from being able to combine row 
values. One can't chose value 1 for the first field and value 2 for the second. 
Well, they can by manually typing it in there.

I can see it helping customers but is still kinda weird to use this combo-box 
approach for datasets. One of the most important purposes of datasets is the 
multiline option, I guess.
If the above results are sufficient for this stage of the dataset-magento 
implementation, I'd mark this one Test OK.

Original comment by agur...@gmail.com on 14 Oct 2011 at 1:46

GoogleCodeExporter commented 9 years ago
The restriction is by design.
It's a temporary solution.

Original comment by ad...@zetaprints.com on 14 Oct 2011 at 8:40

GoogleCodeExporter commented 9 years ago
Magento connect is broken.
Can't upload an alpha.
Here is the package.
I trust you know how to install it. Ask if you don't.

Original comment by Anatoly....@gmail.com on 17 Oct 2011 at 7:46

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Anatoly....@gmail.com on 12 Nov 2011 at 6:10

GoogleCodeExporter commented 9 years ago
eagerly waiting for this. Keep it up.

Original comment by jmmwan...@gmail.com on 12 Nov 2011 at 4:01

GoogleCodeExporter commented 9 years ago
where are we at with this one?

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
Atanas, we need a new issue for this and mockups.
We'll probably use a fancybox with a table, if you have no better idea.

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

GoogleCodeExporter commented 9 years ago
You beat me to it:
http://code.google.com/p/magento-w2p/issues/detail?id=737

Original comment by agur...@gmail.com on 17 Jan 2012 at 1:07

GoogleCodeExporter commented 9 years ago

Original comment by ad...@zetaprints.com on 17 Jan 2012 at 8:40