View Issue Details

IDProjectCategoryView StatusLast Update
0003465OXID eShop (all versions)4.07. Source code, Testpublic2015-12-01 09:27
Reportertjungcl 
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Product Version4.5.6 revision 40808 
Target VersionFixed in Version 
Summary0003465: custom dynvalues have language specific input names
Descriptionif 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.

TagsPayment
ThemeNot defined
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Activities

svetlana

2014-03-28 10:03

reporter   ~0009737

waiting for the PO decision.