Checkout form: "hidden" options still shown
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Checkout form: "hidden" options still shown
Hi!
How do form fields have to be treated when set to hidden? They still show up.
My current settings:
They do not hide any fields, neither by not rendering them nor by assigning a special field attribute like "disabled". Do i have to remove the fields by myself from the template? (This is what I am doing at the moment.)
Also: do I have to add the asterisk for mandatory fields by myself to the templates or should there be some magic going on on behalf of Aimeos?
Thank you!
How do form fields have to be treated when set to hidden? They still show up.
My current settings:
Code: Select all
checkout {
standard.address.billing {
mandatory {
0 = order.base.address.salutation
1 = order.base.address.firstname
2 = order.base.address.lastname
3 = order.base.address.address1
4 = order.base.address.postal
5 = order.base.address.city
6 = order.base.address.countryid
7 = order.base.address.email
8 = order.base.address.telephone
}
hidden {
0 = order.base.address.website
1 = order.base.address.address3
2 = order.base.address.languageid
3 = order.base.address.telefax
}
optional {
0 = order.base.address.company
1 = order.base.address.vatid
2 = order.base.address.address2
3 = order.base.address.state
}
}
Also: do I have to add the asterisk for mandatory fields by myself to the templates or should there be some magic going on on behalf of Aimeos?
Thank you!
Re: Checkout form: "hidden" options still shown
Both, hiding the fields configured as "hidden" and the asterisk for mandatory fields are done using CSS. Either you've removed those CSS or changed the CSS classes in your template.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star