Post by Antoni4 » Sun Jul 20, 2014 6:39 am

The Option Value Name entries in the option form only appear for options of type "Choose" (Select, Radio, Checkbox, Image). This is correct behaviour.

However, if I am to create a new option of type input "Text" (for example), and then open the form page for this new option I am able to add Option Value Name entries, and this should not be possible.

In file option_form.tpl the check responsible for showing and hiding Option Value Name entries depending on the type of option only runs during change of value in the "type" dropdown box.

This check also needs to run during form load to prevent Option Value Name entries appearing for incorrect option types such as "Text" or "Date" etc.

User avatar
New member

Posts

Joined
Sat Sep 29, 2012 7:03 am

Post by James » Mon Jul 21, 2014 3:15 am

Thanks for reporting it - issue now patched.

https://github.com/opencart/opencart/co ... bab1bbf32a

If you find bugs like this be sure to create them directly on the GitHub bug tracker :)

User avatar
Active Member

Posts

Joined
Wed May 27, 2009 6:07 am
Location - Leeds, UK
Who is online

Users browsing this forum: No registered users and 3 guests