dw250100785 / magento-w2p

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

Check boxes show up as drop-downs #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some templates have check boxes assigned to a text field:
http://magento.zetaprints.com/?page=template;TemplateID=8C693A8C-3717-40B2-BCB4-
EC2FBA310E5D

They show up as a single option drop-down menus in Magento:
http://www.zetaprints.com/magedev/index.php/realestate-signs/remax-yard-signs/re
max-open-home-arrow-sign-450mm-x-300mm-left.html

Using version 1.6.0. beta

Original issue reported on code.google.com by agur...@gmail.com on 29 Dec 2009 at 6:26

GoogleCodeExporter commented 9 years ago
Check boxes are not implemented.

Original comment by Anatoly....@gmail.com on 30 Dec 2009 at 6:12

GoogleCodeExporter commented 9 years ago
Have a look here
http://www.zetaprints.com/help/yesno-checkboxes/

A list of 2 values with 1 value being an empty string should show as a check 
box for
the user. The value is the non-empty one if checked on.

Original comment by zetapri...@gmail.com on 5 Jan 2010 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 9 Jan 2010 at 11:28

GoogleCodeExporter commented 9 years ago

Original comment by Anatoly....@gmail.com on 14 Jan 2010 at 12:27

GoogleCodeExporter commented 9 years ago
New code is in 1.6.1.0beta1 (available on magento connect)

Original comment by Anatoly....@gmail.com on 15 Jan 2010 at 11:04

GoogleCodeExporter commented 9 years ago
1.6.1.0beta1 is already installed on magedev

Original comment by Anatoly....@gmail.com on 16 Jan 2010 at 5:02

GoogleCodeExporter commented 9 years ago
Check boxes do show up as they should but they are non-functional.

This template has the last of its fields turned into a check-box:
http://magento.zetaprints.com/?page=template;TemplateID=8C693A8C-3717-40B2-BCB4-
EC2FBA310E5D

The product shows the check box:
http://www.zetaprints.com/magedev/index.php/realestate-signs/remax-yard-signs/re
max-open-home-arrow-sign-450mm-x-300mm-left.html

The problem is when I uncheck the check-box in the store and re-generate the 
preview.
The last line on the sign "Call Me" should dissapear. Check-box checked should 
show
"Call me" and checkbox unchecked should not. At the moment both options make 
the line
visible.

Original comment by agur...@gmail.com on 17 Jan 2010 at 9:55

GoogleCodeExporter commented 9 years ago
Actually, it's my fault. 
Have a look at
http://magento.zetaprints.com/?page=template;TemplateID=8C693A8C-3717-40B2-BCB4-
EC2FBA310E5D
Looks at the form content. There are 2 fields named _Contact Detail. One is the
checkbox, the other is a hidden field with a funny value.

If a checkbox is unchecked there is no value sent to the server and the value is
taken from cache. This is why we have the funny value, which is always stripped 
off. 
The same field duplication needs to happen in Magento as well.

Original comment by zetapri...@gmail.com on 18 Jan 2010 at 11:31

GoogleCodeExporter commented 9 years ago
Code was fixed and uploaded to magedev.

Original comment by Anatoly....@gmail.com on 18 Jan 2010 at 12:41

GoogleCodeExporter commented 9 years ago
Tested it on the same product:
http://www.zetaprints.com/magedev/index.php/realestate-signs/remax-yard-signs/re
max-open-home-arrow-sign-450mm-x-300mm-left.html

Worked OK.

The I went to the w2p site and removed the checkbox option from the text field 
and
assigned it to another field on the same template. Got the same problem as 
before.
Both options (checked/unchecked) make the line visible. ("FOR SALE" should only
appear when the box is checked ON)

Original comment by agur...@gmail.com on 18 Jan 2010 at 6:01

GoogleCodeExporter commented 9 years ago
Try again, but do not re-install the extension.

Original comment by zetapri...@gmail.com on 19 Jan 2010 at 6:20

GoogleCodeExporter commented 9 years ago
Works ok now.

Tested it on the same template as before (changed fields):
http://www.zetaprints.com/magedev/index.php/realestate-signs/remax-yard-signs/re
max-open-home-arrow-sign-450mm-x-300mm-left.html

And on this multipage one with shared fields on different pages:
http://www.zetaprints.com/magedev/index.php/realestate-signs/fsbo-yard-signs/mul
tipage-testing-01.html

Original comment by agur...@gmail.com on 19 Jan 2010 at 10:34

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 21 Jan 2010 at 1:14