Jump to content

product.js customizations to select attributes not working after PS 1.4


tech@designsbylyn.com

Recommended Posts

This code in product.js file is not working anymore since I upgraded from Prestashop 1.36 to 1.43

It is custom code but similar to the color select code, I made to select product attributes from icons instead of the form select options.

Any ideas folks? Been tearin' my hair out for months on this one!

Thanks! (Neither of the following functions work:

 

 

 

function updateJewelrySelect(id_attribute)

{

if (id_attribute == '') {findCombination(); $('#resetImages').show('fast')}

else $("#group_2").val(id_attribute);

}

 

 

function updateBeltSelect(id_attribute)

{

if (id_attribute == '(no belt)') {$("#group_3").val('(no belt)')}

else {if (document.getElementById('buy_block').group_3.value == 21) {$('#group_3').val(id_attribute)}

else {$("#group_3").val('(no belt)')}

}

}

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...