Home › Forums › Themes Support › Claue › Simple Product Pages Not Loading
- This topic has 9 replies, 2 voices, and was last updated 4 years, 10 months ago by Harry.
-
AuthorPosts
-
-
June 18, 2019 at 5:50 pm #31875bankzySupport Expired
Hello,
Our simple product pages are not loading fully. There seems to be a loading issue with jquery ?
It’s for all simple products. I have tried disabling plugins but nothing seems to effect it.
-
June 18, 2019 at 7:09 pm #31879HarrySupport 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 -
June 18, 2019 at 7:10 pm #31880HarrySupport 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 -
June 18, 2019 at 7:15 pm #31881bankzySupport 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 ?
-
June 18, 2019 at 7:42 pm #31885HarrySupport 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 -
June 18, 2019 at 7:44 pm #31886bankzySupport 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.
-
June 18, 2019 at 7:50 pm #31887bankzySupport 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.
-
June 18, 2019 at 7:54 pm #31888bankzySupport 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>”;
} -
June 18, 2019 at 7:56 pm #31889bankzySupport Expired
-
June 18, 2019 at 10:33 pm #31894HarrySupport 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
-
-
AuthorPosts
You must be logged in to reply to this topic.