Forum Replies Created
-
AuthorPosts
-
January 4, 2017 at 2:23 pm in reply to: Google Analytics Tracking Code but not for administrators #729408
Hi Rikard,
But the plugin I mentioned by MonsterInsights does that as expected (I assume they don’t include the tracking code if admin). But probably that’s something I can’t do with standard GA code / theme options & will have to use that plugin again?
Best regards,
JurgenJanuary 4, 2017 at 9:39 am in reply to: Google Analytics Tracking Code but not for administrators #729335Hi Rikard,
When a logged in administrator visits the front end pages (so with the admin bar on top when f.e. he views a (modified) page / product), this should not be counted as a visitor of the website in GA.
Thanks for checking.
Best regards,
JurgenHi Louise,
I don’t really see the link between the Woo fix & your issue on an argument / PHP version but if every things works, then all is fine :D
Best regards,
JurgenFYI, this is the official WooCommerce response:
The woocommerce_ajax_variation_threshold was changed to 30 in version 2.4.7 so that would explain why you are experiencing the behaviour only after 30 variations.
When this threshold has been reached the behaviour changes slightly. Instead of adding all the variations on the page it only checks the variations when all the options are chosen. It does this by doing an ajax request to check if there is a variation available with the selected options.
Because it is done only after all the options are selected it does not pre-filter the options and show only the available options. Instead it shows a message like the following:
Sorry, no products matched your selection. Please choose a different combination.So this means that the behaviour you are experiencing is standard WooCommerce behaviour.
If you need it to still filter the options even when there is a large amount of variations available then you will need to adjust the filter and set it to a higher value. You can use something like the following snippet to increase this number:function woo_custom_ajax_variation_threshold( $qty, $product ) { return 50; } add_filter( 'woocommerce_ajax_variation_threshold', 'woo_custom_ajax_variation_threshold', 10, 2 );
You would need to check that such a large amount of variations doesn’t cause any additional slowdowns or troubles on the page.
Hi Vinay,
It seems to be the case for theme TwentyFifteen too, so this is not an Enfold issue but a WooCommerce issue. Hence I will create a ticket for WooCommerce with all available information I have. Sorry!
I never modify plugin code, I would rather implement the code for the functions.php if that’s the solution (but then one day I would have to modify it again)…
Best regards,
JurgenHi Vinay,
It seems to be an issue as soon as you have 31 or more variations.
Having 30 variations => http://www.ur-upload.de/i/2016/08/13/30-variations.png
Because of this code the correct combinations are shown in the other drop downHaving 31 variations => http://www.ur-upload.de/i/2016/08/13/31-variations.png
Because of this “false” statement, all attributes are shownI do found this explanation for Woo 2.4+ => https://woocommerce.wordpress.com/2015/07/13/improving-the-variations-interface-in-2-4/
It mentions that as from 20 variations, these are loaded via AJAX instead of inline. However, it seems to be 30+ (and there is no AJAX action, no error either). I can try to add the code in functions.php (and mention “50” for example), but if one day I have a product with 51 variations I need to update the code again…Please find in the private part the credentials of a development copy to investigate.
Thanks!
Hi Vinay,
I just discovered that there is only 1 product, having this issue. Other products (with a similar setup) & new products don’t have that issue… Any idea what this could be? Hence I can check that specific product in detail.
Best regards & thanks in advance!,
JurgenDear Vinay & other moderators,
Please let us know, if the variation drop down should be updated based on possible variations with an already made choice in another drop down of that product. Thanks!
Best regards,
JurgenHi Peter, unfortunately I am still waiting…
Hi Vinay,
I set up dozens of web shops, so that’s not an issue. I have some questions on a specific front end behaviour (bug or request).
– This product has 9 colours & 4 sizes => http://www.ur-upload.de/i/2016/08/09/01-backend-attributes.png
– But not all combinations exist (31 from 36 possibilities), for example “pink” only has 3 sizes => http://www.ur-upload.de/i/2016/08/09/02-backend-variations-pink.png
– When a customer chooses “Pink” as colour, there are 4 possibles sizes (while I would expect only 3 because there is no “any size” linked to the 4th size, “30×30”, either) => http://www.ur-upload.de/i/2016/08/09/03-frontend024fe.pngSo,
either this is a bug with the AJAX refreshing of the drop downs based on chosen values for other attributes,
either this is a feature request (as I know other themes have this behaviour).Thanks for your advice.
Best regards,
Jurgen- This reply was modified 8 years, 3 months ago by Jurgen.
Hi Rikard,
Are there any required steps to do / configure? Unfortunately I am still facing the issue, so I have to do it via the functions.php fix …
Thanks for solving this!
Best regards,
JurgenI set up a duplicate of the environment & when the snippet is “out-commented”, the issue appears in IE (as expected). I cleared cache (via W3TC) & disabled all plugins. Strange enough the issue is still there (the slider does not appear) when only the Enfold theme is enabled without any active plugin (even after clearing the browser cache completely)… When WooCommerce is enabled, a product with variation can’t be added to the cart (please select product option => related issue I suppose). All goes fine in Firefox & Chrome on Windows + Safari, Firefox & Chrome on OS X.
I provided the required credentials of the testing environment in the private section, so you can check what is going wrong. Thanks in advance!
Wonderful, works like a charm! Many topics on that subject, but that one is the good solution!
Please add it to the theme settings :-)Best regards,
JurgenHi Rikard,
Thanks for checking my question!
That is http://www.jilko.be but currently the code has been disabled as having a search functionality on the desktop version got a higher priority for the customer. I can provide a testing environment if required.
Best regards,
JurgenApril 5, 2016 at 9:25 am in reply to: Modify search box (search dropdown from menu) & search results page #608139OK thx, done this using the free Relevanssi & some CSS modifications.
Hi Basilis,
Thanks for having a look at my question. I am using WPML and just found out that the WordPress core translations were not loaded as it should be, so now I can translate it. Thanks anyway :-)
Best regards,
JurgenGreat!
Hi Ismael,
Thanks for having a look at my question but it does not seem to be a solution for my question: I want to modify the title “Share this entry”, not the (alt text of) the logos under it.
Thanks!
Best regards,
JurgenHi Rikard,
Thanks for checking my question!
I can see that the 3 columns become 2 if less than 768px & this becomes 1 column if less than 481px. As you can see the images are becoming so flat, it is not useful anymore. So I would like to change those “switch points” to get nice big pictures.
I provided the requested information in the private section as the site is still in development so you need to log on…
Best regards,
JurgenHi Andy,
Thanks for your swift reply! I put the site details in the private section below as the website is still in development :o)
Best regards,
JurgenHello,
This code is used on another customers website, in the primary menu and works fine:
http://s13.postimg.org/ovz62bpfb/primary_ok.pngNow I am trying to achieve the same result, but in the secondary menu above and it doesn’t do a thing:
http://s21.postimg.org/c66tvh93r/secondary_nok.pngMay be it has something to do with the “main-menu”?
Thanks for helping me out on this!Best regards,
JurgenHello,
Currently this is what you see with the “header shopping cart icon” when you have an item in your basket: http://postimg.org/image/f4gqwhxb7/
I would like to have a link to the my-account page left to “View Cart”, so within the grey zone.Even better, I would also like to have the “My Account” link when there is nothing in the cart: http://postimg.org/image/ve6wze7z7
Please let me know how to handle that, thanks!
Best regards,
JurgenHi,
This is what I did:
- WP Settings – Reading: no posts page selected
- Theme options: no blog page selected
- Theme options – Blog layout: advanced layout editor to build for blog style
- News page: Blog posts element used with all categories selected & blog style as requested
Hopefully this is a help for others facing this issue.
Best regards,
JurgenHi, I found a work around playing around with blog page settings, blog theme options & page layout. Hence I don’t have the issue anymore & disabled your login. You can mark this topic as “solved” or “not applicable”. Thanks.
Same for me (running 3.3) => same issue for other pages, spacing & extra lines appearing “wildly”
Hi Yigit,
Unfortunately that does not change it… I even changed the slug to my “news” page to “blog” as one of my post categories is “news”, but no change either (I set it back to news afterwards and always the same issue)…
Credentials in private part, if you want to check.
Thanks!
Damn, I am always mixing up those 2 names :o) Sorry, guys!
-
AuthorPosts