View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003465||OXID eShop (all versions)||4.07. Source code, Test||public||2011-12-29 10:06||2015-12-01 09:27|
|Product Version||4.5.6 revision 40808|
|Target Version||Fixed in Version|
|Summary||0003465: custom dynvalues have language specific input names|
|Description||if you create dynvalues for a custom payment method, you can give language specific names, such as "Telefonnr." and "Phone number".|
The tpl then generates a input field for the new field and uses as its name "dynvalues[Telefonnr.]" and "dynvalues[Phone number]".
Meaning, here the language specific title of the dynvalue field and the internal name of the request variable is mixed, making it neccessary to create a special php handler for the dynvalues.
On the other hand, the new input fields also get an id "oxempty_1", which is not language specific, but cant be used to access the value from the request.
This unideal structure makes it neccessary so have special templates for creditcard and direct debit, where else the "payment_other" tpl could suffice.
Either you could add id/title to the payment dynvalues in the admin, so the admin can set the id to "lsktonr" and the name to "Kontonr."/"Account No.",
or you could use the logic from other_payments id as input name.
|PHP Version||Not defined|
|Database Version||Not defined|