anzgar
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] Which JS to dequeue?Thanks a lot for that information. Removing the content from that page an readding it solved it somehow.
Is there however a generic approach on how to find out if a specific JS/CSS file is necessary?
Forum: Themes and Templates
In reply to: [GeneratePress] Which JS to dequeue?It looks like this only happens on the shop page for some reason.
As this page isn’t really important for my visitors, I might just leave it the way it is. However I would still like to know if there is a way to find out which JS or CSS files can be dequeued safely.
Thanks ??
Hi,
this was 3 month ago, any update on this issue?
Thanks!never mind, I just switched to polylang, works like a charm
Thanks a lot.
I implemented a temporary fix using javascript, would you be able to give a short update here once this is fixed so that I can remove my fix?
thanks!
Update:
Disabling all other plugins did not change this either.
I would have been surprised if it had anyway, as this only seems to affect the image and date input, the other inputs work just fine.
So status still the same, date and image input lose their value when clicking on “add to cart” with at least one required field being empty.
- This reply was modified 1 year, 9 months ago by anzgar.
Please let me know if buying another year of support would speed up fixing this issue.
Forum: Themes and Templates
In reply to: [GeneratePress] trigger gallery changeI actually found a solution and thought to share it:
<script> jQuery(window).load(function(){ if( jQuery('body').hasClass('single-product') ){ var isMobile = window.matchMedia("only screen and (max-width: 760px)"); if (!isMobile.matches) { jQuery('label.ppom-palette-item img').click(function(e) { var ttl = jQuery(this).attr("alt"); var i =jQuery(".woocommerce-product-gallery__image[data-thumb-alt='"+ttl+"']").index(); jQuery('.woocommerce-product-gallery').flexslider(i); //alert("ttl: "+ttl+" i "+i); }); } } }); </script>
You would probably need to change “label.ppom-palette-item” to whatever element you would be using as a trigger.
Maybe someone can use it.
It messed up my mobile view a little, that’s what the “isMobile” part is for.
Update: this only works if the”alt” tags of both items are identical (source image and destination image). So you might have to play around a little, or use a different property.
- This reply was modified 1 year, 10 months ago by anzgar.
Forum: Plugins
In reply to: [PPOM - Product Addons & Custom Fields for WooCommerce] image input alt tagthanks a lot, please post an update when you have an ETA.
Forum: Themes and Templates
In reply to: [GeneratePress] individual blog page designthanks a lot.
as the Blog page isn’t my homepage I had to figure out a different “if” clause, but it works now ??
- This reply was modified 2 years, 1 month ago by anzgar.
Forum: Themes and Templates
In reply to: [GeneratePress] Reduce amount of css filesOne more thing:
Which blocks are considered core blocks? Is there a list somewhere?
Forum: Themes and Templates
In reply to: [GeneratePress] Reduce amount of css filesHi David,
thanks that really helps.
So you are saying dequeuing files does make sense? Would you install autoptimize at all?
Thanks a lot!
Forum: Themes and Templates
In reply to: [GeneratePress] Reduce amount of css filesSo you are basically telling me to install autoptimize.
I ask myself wether dequeueing unneeded css on certain pages might be even more efficient than installing another plugin.
Any thoughts on this? Thanks!
Any news on this topic?
I just tried translating “Edit Options” with loco translate but it doesnt seem to be working at all with “cart edit” plugin.
Any clue how to get this done?Lieben Dank, austauschen hat es gebracht ??