Jump to content

Not able to add features for a product [prestashop v1.7]


akshay7924

Recommended Posts

  • 1 year later...

Hi, in case anyone still needs the solution:

In relative path: /modules/posrotatorimg/js/form.js

Replace (close to 413 line):

if ('0' == key) {
    key = '';
}
$selector.append($('<option></option>').attr('value', key).text(val));

by:

if ('0' == val.id) {
    val.id = '';

}
$selector.append($('<option></option>').attr('value', val.id).text(val.value));

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...