• Resolved lonwi

    (@lonwi)


    I had to change line 293 of class.yith-wcwl-init.php
    from

    wp_register_style( ‘yith-wcwl-user-main’, str_replace( get_template_directory(), get_template_directory_uri(), $located ), array(), $this->version );

    to

    wp_register_style( ‘yith-wcwl-user-main’, str_replace( get_stylesheet_directory(), get_stylesheet_directory_uri(), $located ), array(), $this->version );

    https://ww.wp.xz.cn/plugins/yith-essential-kit-for-woocommerce-1/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi lonwi,

    We are not able to recreate your issue, wishlist.css should be located by your team inside woocommerce directory.
    Normally it’s located inside your-parent-theme/woocommerce , but you can located inside the child theme too.
    Can you tell me what theme are you using and where wishlist.css is located ?

    Thread Starter lonwi

    (@lonwi)

    Hi. I am using your Cheope theme. It has the wishlist.css included in the child theme.

    Basically your code finds the child themes wishlist.css and than it wants to str_replace with parent themes paths.

    Because the $located has a different path than the parent theme the result is something like this

    http://adamross.localhost/var/www/adamross/htdocs/wp-content/themes/adamross/woocommerce/wishlist.css?ver=2.0.13

    Plugin Author YITHEMES

    (@yithemes)

    Hi lonwi,

    we are sorry but we are not able to recreate your issue with cheope theme, I suggest you to write a ticket on theme support desk to avoid that a wishlist update will overwrite your custom fix.

    YIThemes

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wishlist css 404 when using child theme’ is closed to new replies.