I had a problem with combination of zen-colorbox2 and SBA. When i used an attribute with a drop down menu, the image did not load. On line 42 of includes\functions\extra_functions\products_with_attributes.php i found the next code which showed on a product page when i used a drop down menu, if i used a check box or a radio button it did not show and zen-colorbox2 worked fine. So i comment this line out.
Wil i get problems with?
Code:
$field = '<script src="'.DIR_WS_TEMPLATES . $template_dir . '/jscript/jquery-1.10.2.min.js"></script>
<script type="text/javascript">
$(function(){
$("#attrib-'.$tmp_attribID.'").on("click", function(){
$("#SBA_ProductImage").attr("src", $(this).find(":selected").attr("data-src"));
});
});
</script>';
Bookmarks