I would like to manipulate the select boxes after the ajax call.
If I'm reading the functions.js correctly, there is at the end of the function reloadAttribSelectAndPrice() a call possibility for 3th party functions?
jQuery.each(reloadAttribEvents, function(key, handler){
handler.call(this, json);
});
So I tried in the product_default.php to create a function like this (I tried several possibilities).
As example:
<script type="text/javascript">
reloadAttribEvents.push('reformatAjaxSelect');
var reformatAjaxSelect = function( param ){
console.log('reformat: ' + param);
};
</script>
But non of my tries didn't work.
Any advise how I have to create the function, so it will be called?
Pawel
Joomla: 3.6.5
JoomShopping: 4.15.1
PHP: 7.x
JoomShopping: 4.15.1
PHP: 7.x