ReferenceError: tb_show is not defined jigoshop
January 26, 2013
Here jquery error is occuring because thickbox scripts is not added in header.
This error is also occuring in jigoshop at product category page. that’s why image is not being upload.
This is needed to load thickbox scripts on product_cat
There are two funtions in wordpress to inclue the thickbox css file and js file as below:
wp_enqueue_style('thickbox'); wp_enqueue_script('thickbox');
We need to add these two functions in jigoshop’s functions as below in file:
jigoshop_add_category_thumbnail_field()
Plugin file where need to change:
wp-content/plugins/jigoshop/admin/jigoshop-admin-taxonomies.php