• Resolved lpaseen

    (@lpaseen)


    After updating the theme to I discovered that the woocommerce product details no longer show any info, I can’t change stock levels or so, all fields are missing. When the page is loading it does briefly show the fields but once loaded they are all gone.

    I’m not sure exactly when it broke but in the lab I had 4.1 and that worked. Updated everything except the theme and it still worked, updated enigma to 4.5 and it broke.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hii lpaseen,

    Please give your site URL.

    Thanks.

    Thread Starter lpaseen

    (@lpaseen)

    site url is https://meinenigma.com/ but right now it’s running 4.1.9 since that’s the last version I know works.
    This is only under woocommerce admin side when I want to enter product info (stock level, shipping…), not on the normal site.

    I changed to a different theme, then product info shows up. I deleted enigma 4.5 and installed+activated 4.1.9 from zip file, then product info shows up. Tried 4.2/4.3/4.4 & 4.5 and product info was lost in all cases.

    Hii lpaseen,

    Go to enigma theme directory -> replace a woocommerce.php file with the code given in the below link and save –

    https://pastebin.com/77QssDB9

    Thanks.

    Thread Starter lpaseen

    (@lpaseen)

    Sorry, still nothing
    Tried it in QA where I have 4.5 but removing the esc_html() part made no difference.

    Thread Starter lpaseen

    (@lpaseen)

    Did some more compare and testing and found that if I replace wp-content/themes/enigma/functions.php with the 4.1.9 version then I get product info on 4.5 also (but I guess something else breaks then)

    Hii lpaseen,

    Please contact weblizar – https://weblizar.com/contact/

    Thanks.

    Thread Starter lpaseen

    (@lpaseen)

    This morning I did some more digging and found the exact line, the one that pulls in bootstrap.css

    $ diff -u functions.php{-BAK,}
    --- functions.php-BAK   2018-08-08 03:19:30.907267551 -0400
    +++ functions.php       2018-08-08 03:20:43.569985545 -0400
    @@ -499,7 +499,7 @@
     function enigma_custom_admin_notice() {
            wp_register_style( 'custom_admin_css', get_template_directory_uri() . '/core/admin/admin-rating.css');
         wp_enqueue_style( 'custom_admin_css' );
    -       wp_enqueue_style('custom-bootstrap',  get_template_directory_uri() .'/core/admin/bootstrap/css/bootstrap.css');
    +       //wp_enqueue_style('custom-bootstrap',  get_template_directory_uri() .'/core/admin/bootstrap/css/bootstrap.css');
            wp_enqueue_script('custom-bootstrap-js',get_template_directory_uri() .'/core/admin/bootstrap/js/bootstrap.js');
            wp_enqueue_style('font-awesome', get_template_directory_uri() . '/css/font-awesome-4.7.0/css/font-awesome.css');
            $wl_th_info = wp_get_theme();
    @@ -635,4 +635,4 @@
            }
            add_action( 'wp_enqueue_scripts', 'snow_script' );
     }

    Hii lpaseen,

    Please mail your issue on – contact
    also send screenshot of your page on which woocommerce info(stock level, shipping) is not showing.

    Thanks.

    Thread Starter lpaseen

    (@lpaseen)

    email and screen dumps sent

    I’m having the same problem, tried using the code above but that hasn’t worked, I can change the theme to twenty seventeen and make the changes I need but then have to reset the widgets etc when I change it back

    Hello.

    Please update to the latest version ie : 4.6 .

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘woocommerce product info lost’ is closed to new replies.