Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    we hope you’re doing well!

    Unfortunately, at the moment we do not have compatibility with the Impreza theme, we are sorry.

    Anyway, we try to see what you comment on your site but we see that you have it disabled.

    For the frontend, try adding the following code to the functions.php file of your active child theme:

    if ( defined( 'YITH_WCWL' ) ) {
    	if( ! function_exists( 'yith_wcwl_enqueue_back_required_assets' ) ) {
    		function yith_wcwl_enqueue_back_required_assets() {
    			if ( ! wp_script_is( 'jquery-yith-wcwl-user', 'registered' ) ) {
    				wp_enqueue_script( 'jquery-yith-wcwl' );
    			} else {
    				wp_enqueue_script( 'jquery-yith-wcwl-user' );
    			}
    
    			wp_enqueue_style( 'yith-wcwl-main', YITH_WCWL_URL . 'assets/css/style.css', array( 'jquery-selectBox' ) );
    		}
        	add_action( 'wp_enqueue_scripts', 'yith_wcwl_enqueue_back_required_assets', 9999 );
    	}
    }

    Regarding the backend, that’s because your theme may be implementing its own styles to the colorpicker and stepping on ours. We recommend you contact their support for that.

    We will be attentive to any news.

    Best regards.

    Thread Starter Matt

    (@mattatlevel)

    Hi Juan,

    Thank you kindly for your response.

    I’ve pasted this code, however we are having the following response:

    Your PHP code changes were rolled back due to an error on line 4 of file wp-content/themes/Impreza-child/functions.php. Please fix and try saving again.
    syntax error, unexpected ‘&’

    https://drive.google.com/file/d/1vL4U2rVRGRW0lHaDHuUKeS4da8xRCjKH/view?usp=sharing

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    From what we see, for some reason when you paste the code there, it replaces the quotes () with &=039, could you check it please? This is quite strange, maybe you have to replace it manually.

    We will be attentive to your response.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin does not work with Impreza’ is closed to new replies.