Your account expired support, please renew to get your support.

Home Forums Themes Support Claue Simple Product Pages Not Loading

Viewing 9 reply threads
  • Author
    Posts
    • #31875
      bankzy
      Support Expired

      Hello,

       

      Our simple product pages are not loading fully. There seems to be a loading issue with jquery ?

       

      Super Bobble

       

      It’s for all simple products. I have tried disabling plugins but nothing seems to effect it.

    • #31879
      Harry
      Support Expired

      Hi,

      I try your site but it show error “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”

      Please follow this video to fix issue first https://www.youtube.com/watch?v=FgWkJH6BwEU&feature=youtu.be

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31880
      Harry
      Support Expired

      Or give me FTP account to check.

      Thanks

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31881
      bankzy
      Support Expired

      Hello,

      I have no idea why this is happening as I left for work and it was working fine and just come back to the site not working.

      I have enabled debug mode and showing errors on the frontend.

      Do you still need FTP access ?

       

    • #31885
      Harry
      Support Expired

      Hi,

      The issue because I activate child theme while deactivate plugin Advanced Custom Fields, Advanced Custom Fields: Theme Code.

      I deactivate plugin WooCommerce Variation Swatches Pro and WooCommerce TM Extra Product Options, it still not work.

      I see product detail work now. What you did to resolve?

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31886
      bankzy
      Support Expired

      Hello, I seem to have an issue with the theme loading information from two theme folders ?

      When updating I added the new files to “claue-NEW” in wp-content > theme then changed the folder called “claue” to claue-OLD.

      The theme I have activated now isn’t correct as it’s missing the currency module I added to the top left header.

    • #31887
      bankzy
      Support Expired

      I actually don’t know what I have done to fix this issue.

      I am unsure if the theme issue mentioned in my previous reply was due to you perhaps enabling the wrong theme.

      I did remove information from functions.php to the child theme functions.

      What is the correct method to update this theme ? Is the method I use above incorrect ? I do it that way so that I can retain the original files before updating just in case I altered some files.

    • #31888
      bankzy
      Support Expired

      Ahh I have found what the issue is.

      I am using the below snippet in functions.php to show out of stock variations and the stock levels still remaining.

      When I remove this snippet the simple product pages load but fail when it’s active.

      add_action( ‘woocommerce_after_add_to_cart_form’, ‘dropdown_waitlist_label’ );
      function dropdown_waitlist_label() {
      echo ”
      <script>
      jQuery(document).ready(function($) {
      var variation_data = $(‘form.variations_form’).attr(‘data-product_variations’);
      var variation_data = JSON.parse(variation_data);
      $(‘#pa_size > option’).each(function() {
      for (var i = 0; i < variation_data.length; i++) {
      var variation = variation_data;
      if ($(this).val() == variation.attributes.attribute_pa_size) {
      if ( false == variation.is_in_stock ) {
      $(this).text( variation.attributes.attribute_pa_size + ‘\u00A0\u00A0\u00A0–\u00A0\u00A0\u00A0\u00A0Out of Stock’);
      }
      if ( variation.min_qty == 1 && variation.max_qty == 1 ) {
      $(this).text( variation.attributes.attribute_pa_size + ‘\u00A0\u00A0\u00A0–\u00A0\u00A0\u00A0\u00A01 left in stock’ );
      }
      }
      }
      });
      });
      </script>”;
      }

    • #31889
      bankzy
      Support Expired
    • #31894
      Harry
      Support Expired

      Hi,

      1. Please remove old version of Claue to avoid conflict.

      2. By default WooCommerce will show the text “Out of stock” with variation out of stock and stock remain http://prntscr.com/o3gik2 you don’t need add any code.

      The code you add will apply for all products so it can’t work with simple product.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 9 reply threads

You must be logged in to reply to this topic.