[Plugin: Jigoshop Category Pages]
-
I have just updated Jigoshop to version 1.10.3 and immediately the plugin Jigoshop Category Pages ceased to operate giving a warning that it requires Jigoshop version 1.6 or later. Can’t see why it would do it now. I modified the file jigoshop-category-pages.php using the theme editor with the plugin inactive and replaced the line below:
if ( $this->jigoshop_version() < '1.6' )With the following:
function validate_version ($current , $required) { $array_current = explode('.', $current); $array_required = explode('.', $required); foreach ($array_current as $key => $value) { if ($value < $array_required[$key]) return false; } return true; } if ( validate_version( $this->jigoshop_version() , '1.6') === false )This has fixed the issue. I created a function in case it is something that Jigoshop could use. It appears that the 1.6 is being taken as a higher number than 1.10. This function eliminates that.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘[Plugin: Jigoshop Category Pages]’ is closed to new replies.