Forum Replies Created
-
AuthorPosts
-
February 22, 2021 at 11:33 pm in reply to: LayerSlider – Uncaught ReferenceError: jQuery is not defined #1282933
But then again – how would this happen if I turn any plugins off? It seems logical to me that by turning all plugins off there shouldn’t be any problems!?
February 22, 2021 at 1:19 am in reply to: LayerSlider – Uncaught ReferenceError: jQuery is not defined #1282690Hey Mike,
Thanks for your reply.
Regarding Raidboxes: This is my hoster. They also block specific files so one cannot mess up their site. However, the hoster was never the problem so far and there were no significant changes in the past few weeks. The “purge cache” should … well … purge the cache :D but you’d need to refresh with the link. Apparently it only sets the addition to the link, nothing else.I deactivated all plugins (in staging mode) and nothing changed – so it’s not any plugin.
Anyway thanks for the hint with the child theme. This was the main problem.
I added this code to the functions.php – I think for PageSpeed reasons:// Defer Javascripts // Defer jQuery Parsing using the HTML5 defer property if (!(is_admin() )) { function defer_parsing_of_js ( $url ) { if ( FALSE === strpos( $url, '.js' ) ) return $url; if ( strpos( $url, 'jquery.js' ) ) return $url; // return "$url' defer "; return "$url' defer onload='"; } add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 ); }
Do you have any idea why this problem just occured this week and never before? It doesn’t really make sense to me …
Thanks you very much!
Cheers
PatrickHi Ismael,
thanks for your reply.
Do you have the slightest idea why this is empty? I did not change anything and on all the other products it seems to work (e.g. in private content).
Anyhow I edited the widget area again and now it’s been shown. So from the technical side the issue is solved. However, I still have no idea why the widget was gone in the first place. But I guess without further information I might not be of service to you.
Thank you very much for your support.
Best wishes
Patrick- This reply was modified 5 years, 9 months ago by BierPlus.
April 12, 2018 at 5:29 pm in reply to: [WooCommerce] Additional data for purchase button should be omitted #941060Hi,
turns out I was wrong after all. It was indeed the product_snippet_button that has been changed recently in an Enfold update. I now uploaded an older version of the file that fixed the problem.
I have to admit, that the support was better at some point. The CSS “solution” broke more than it helped (i.e. bookings were made non-usable). Furthermore the PHP-thing should be in your hands, as you are responsible for the Enfold theme.
So my last question now to this topic – and I hope, that you can help me with that – how can I stop the file to be updated? I use a child-theme and created the directory “/enfold-child/config-templatebuilder/avia-shortcodes/” and put the older version of the product_snippet_button.php in there, but apparently when the newer version is reinstalled in the enfold main directory the changes are visible. How should the path in the child-theme be, so that only the older version (in the enfold-child directory) is active?
Thanks in advance.
Patrick
April 3, 2018 at 11:27 pm in reply to: [WooCommerce] Additional data for purchase button should be omitted #936852Hi Basilis,
can you please clarify what (or who) you mean by plugin support? I think the error derives from Enfold itself because I did not have it in the past until the last update.
Kind regards,
PatrickApril 3, 2018 at 2:03 pm in reply to: [WooCommerce] Additional data for purchase button should be omitted #936560Hi,
thank you for editing the code. Unfortunately this breaks the Booking plugin, so that the calendar is not showing. I would really appreciate if you could find something in the PHP that causes the error. So that we don’t only treat the symptoms, but the “disease” itself.
Thank you very much in advance for your great support.
Kind regards,
PatrickMarch 30, 2018 at 12:23 pm in reply to: [WooCommerce] Additional data for purchase button should be omitted #935264Hi,
yes I do need further assistance please. I do not find the part where wordpress decides to print that.
Kind regards,
PatrickMarch 24, 2018 at 6:38 pm in reply to: [WooCommerce] Additional data for purchase button should be omitted #932450Hi Ismael,
thanks for looking into it.
Unfortunately it didn’t solve the problem properly.
Now it looks as provided with the screenshot (Link to product in PC):
What I want is just to get rid of ONE of the prices above the purchase button (i.e. in the first post the 12.99) plus the text below (Umsatzsteuerbefreit, Lieferzeit, … ) but not the first price and not the quantity selection as this is important.
CSS is also just a rather unsexy solution, I would love to get rid of it in the core code but I didn’t find any place, where this is suddenly coming from.
- This reply was modified 6 years, 8 months ago by BierPlus.
Any news?
I’m very sorry, for some reason the account didn’t have an admin role. Fixed it and should be accessible by now :)
Right now I am using the normal WordPress Search Widget as it delivers results (that are enormously unsatisfying, but at least there are results…)
I am switching the widgets now, please tell me when you have looked at it so I can change it back then :)August 22, 2016 at 12:50 am in reply to: disable sidebar for certain products (designed with advanced layout editor) #675476Works fine now, thank you very very much :)
I’m sorry, I’m afraid I can’t follow you.
After googling I found out about sth like the .htpasswrd, details are in private content as well as new login details for wordpressYet you DO have access to the ftp server (see above)
August 8, 2016 at 11:28 am in reply to: disable sidebar for certain products (designed with advanced layout editor) #669751Strangely for some reason I can’t see the private data anymore of the account details, but of course here again the account for you:
August 7, 2016 at 5:20 pm in reply to: disable sidebar for certain products (designed with advanced layout editor) #669501Of course, I deleted it once I saw it didn’t work.
You could try it yourself, yet I don’t think there’ll be much difference.the first three now worked pretty well, I get more or less good results on pagespeed. On initial load it’s totally okay.
4.) I guess I didn’t. I’ll try again later on. The credentials are again in the privat content, but it should have worked. Someone of you seems to have changed the password, I now resetted it. Should work fine, there’s no other authentication.
August 1, 2016 at 11:19 pm in reply to: disable sidebar for certain products (designed with advanced layout editor) #667495though it looks logical and seems right – it doesn’t work :(
Hi,
thanks, could you please reload the page several times? I experienced that a reloading takes more time than the initial load (which is strange, because caching should prevent that)concerning your suggestions:
1.) Haven’t tried that yet, but of what I’ve seen there should already be such function in please. I’ll check on that later today2.) I really have no idea how to do that. All JS Content is from WordPress, Woocommerce or Enfold – I don’t have ANY idea on how to handle this :( CSS is the same thing except for customized CSS in the enfold theme
3.) already did that few days ago, helped a little but not much.
4.) The Plugin crashes my whole page, no help at all =(
Most problematic thing for me as well is that the dashboard is insanely slow. Did you experience anything similar?
Cheers,
PatrickJuly 28, 2016 at 3:12 pm in reply to: disable sidebar for certain products (designed with advanced layout editor) #666268Hi,
The products for the membership plans are not to be seen publicly, the normal ones are in the private content area. All I want is to disable the sidebar completely for only these products but not for any other.
Cheers,
PatrickHi, well I’m not Enfold Support, but I got a solution for this one.
For my page I set 3 different LayerSlider Templates (called homepage main, homepage tablet, homepage mobile), you might guess what the differences are ;)
For the main homepage as viewed in a desktop mode I have a full resolution picture (approx 1920x600pc as far as I remember) that starts with browser widths from 1200px and up. From approx 760px up to 1200px I have the tablet template that consists of a smaller image and resized items as well as differently formatted text. The mobile one has (from 0px to 760px) another even smaller image which reduces loading times and garantuees best style. I have also formatted the text areas to fit within the mobile sized image.It’s a little bit work here, I know, but it’s worth it. This way you won’t bother anymore with those ;)
Ah yeah, I almost forgot: With the advanced layout architect you have to select all three of the layerslider templates but only one will be shown depending on which browser one uses. To check you can use to “view in…” function of your browser (e.g. Firefox press F12 and select from the bar)
Hope I could help :)
Cheers,
PatrickIt’s really not good looking but working.
I had the same problem with SKU and Categories, which DO appear in the default editor but not in the advanced editor, so I had to manually write them in. It creates the shortcode [display_sku_cat]. Just try it out.
Create a new .php file and put it in the plugins folder. You can just adapt it to your needs, which should be pretty easy to do. That’s coming from a php newbie who wrote this – me .. ;)<?php /* Plugin Name: Display Article Number and Categories Description: Creates a shortcode, [display_sku_cat id="n"], that displays the article number and categories of any WooCommerce product. Version: 1.0 Author: Duke Requires: PHP5, WooCommerce Plugin */ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ){ add_shortcode('display_sku_cat', 'display_sku_cat_shortcode'); } function display_sku_cat_shortcode($atts) { global $post; extract(shortcode_atts(array( 'id' => $post->ID, 'link' => 'true', ), $atts)); if($link==='true'|$link==='false') { $link = ($link === 'true'); } if(get_post_type($id)=='product'){ ob_start(); display_sku_cat($id); return ob_get_clean(); }else{ return ""; } } function display_sku_cat($id="", $permalink=false ){ global $wpdb; global $post; global $product; if(empty($id)){ $id=$post->post_id; } if(is_bool($permalink)) { if($permalink){ $link = get_permalink( $id ); } }else{ $link = $permalink; $permalink = true; } $target = ""; if($newwindow == 'true'){ $target="target='_blank' "; } if(get_post_type( $id )=='product'){ $artikelnummer = $wpdb->get_var( " SELECT COUNT(meta value) FROM $wpdb->postmeta WHERE meta_key = '_sku' AND post_id = $id "); } if ( wc_product_sku_enabled() && ( $product->get_sku() || $product->is_type( 'variable' ) ) ) : ?> <span style="font-size: 11px;"> <span class="sku_wrapper"><?php _e( 'SKU:', 'woocommerce' ); ?> <span class="sku" itemprop="sku"><?php echo ( $sku = $product->get_sku() ) ? $sku : __( 'N/A', 'woocommerce' ); ?></span></span></br > <?php endif; ?> <?php echo $product->get_categories( ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', $cat_count, 'woocommerce' ) . ' ', '</span>' ); ?> </span> <?php } ?>
- This reply was modified 8 years, 4 months ago by BierPlus.
Hi, I’m sorry for not responding earlier, I almost forgot about that.
But I still experience massive speed problems. Could you take a look at it?btw: I think I now know why this special page didn’t work, it might have been a complication with WP Jetpack, now everything works just fine. Except for those massive speed problems.
And another thing is: Once I ran a SpeedTest (via Google PageSpeed Insights for instance) my site is extremely slow and shows some error concerning the wc-class-geo-ip (woocommerce file I have no idea about).
I’d be very happy if you could look into my problem :)
Cheers,
PatrickHi Basilis,
I did, but I don’t know how that can help me? I don’t get any errors or error logs.
I experience that when I update the page, it works for some time, yet not that long. But I can’t update the page hourly.What’s next to do?
-
AuthorPosts