pitchprint / pitchprint-prestashop

1 stars 1 forks source link

Cannot save Assign PitchPrint Design form in Prestashop 8 #12

Open mireq opened 6 months ago

mireq commented 6 months ago

This module defines input '#ppa_new_values' for product design, but external script a.ps.js tries to change field '#ppa_values'.

So function changeOpts needs be changed from this:

e('#ppa_values').val(t);

to something like this

(e('#ppa_values').length ? jQuery('#ppa_values') : jQuery('#ppa_new_values')).val();
alcinovanrooyen commented 6 months ago

@mireq we have added your code to the script, please check again, thank you.