Forum Replies Created

Viewing 30 posts - 91 through 120 (of 433 total)
  • Author
    Posts
  • in reply to: Remove items from default WooCommerce Dropdown filter #1412971

    Thanks Gunter,

    Works as expected:

    The working filters are below for functions.php

    For other users comment out the lines that you dont want to remove.

    NOTE If you comment out default – It causes a PHP error. So please keep default enabled.

    // remove unused woo filters
    add_filter( 'avf_wc_product_order_dropdown_frontend', 'thinkjarvis_remove_sorting_option_woocommerce_shop' );
    function thinkjarvis_remove_sorting_option_woocommerce_shop( $product_order ) {
    	unset( $product_order['default'] );
    	unset( $product_order['menu_order'] );
    	unset( $product_order['title'] );
    	unset( $product_order['price'] );
    	unset( $product_order['date'] );
    	unset( $product_order['popularity'] );
    	unset( $product_order['rating'] );
    	unset( $product_order['relevance'] );
    	unset( $product_order['rand'] );
    	unset( $product_order['id'] );
    	return $product_order;
    }
    • This reply was modified 1 year, 8 months ago by thinkjarvis.
    • This reply was modified 1 year, 8 months ago by thinkjarvis.
    in reply to: Compatibility issue: WooCommerce 7.8 Cart Fragments #1410905

    Thanks Nikko,

    in reply to: dropdown cart error woocommerce 7.8 #1410687

    Also reported the same issue.
    I downgraded the site experiencing issues to 7.7.2 to restore functionality.

    https://kriesi.at/support/topic/compatibility-issue-woocommerce-7-8-cart-fragments/

    Old releases of Woocommerce can be downloaded here:
    https://developer.woocommerce.com/releases/

    in reply to: feature request: Title input box for iconlist links #1407363

    Hi Gunter,
    Thank you for this – There is no rush by the way I have just coded a workaround. It would help on several projects to be able to customise the titles of these links as I often use them for geographic locations and specific services.

    I’ll put a link in the private content to the test area for my current solution.
    I’ve essentially created an Enfold Text box with a

      list. I’ve then used css :before to show an icon before the text.
      I’ve also added flex so I can put a column within a column.
    • This reply was modified 1 year, 10 months ago by thinkjarvis. Reason: extra info
    in reply to: Bug Breadcrumbs showing wrong category structure #1406243

    Hi Yigit,

    Really sorry about this – I think it is down to the way the categories are being ordered in the database.

    Caused by WPAllImport Plugin.
    I think I am going to have to manually re-order the categories in a WooCommerce CSV and re-upload them in the correct order.
    Removing all categories and adding them again is still causing them to list in the wrong order in the Category field.

    I have no idea why. Even alphabetically the one it is picking shouldnt be the first!

    I’ll do some more investigation work. But I now dont think it is caused by Enfold.
    If I find anything that would lead me to suspect it is Enfold I’ll share more info on this post.

    in reply to: Hosting #1398056

    See private data

    in reply to: Bug: CDN Use and fonts loading twice #1398055

    This appears to have solved the problem thanks Gunter.

    I have moved on from Key CDN and it looks like I will be using Stack Path as my CDN partner for all sites on my servers that require it.

    This fix will also apply to any Edge Caching setup. Thank you for providing a fix.

    You may close this issue.

    Thanks Ismael,
    Redirects will be easier but I will probably create a custom post type so that I can organise the new pages more easily.

    I was looking for a way to preserve the category structure. Technically I think it is possible the way I have suggested but it relies on a lot of components so could become unstable if one of the plugins used is then no longer supported.

    I’ll start with redirects for simplicity and a custom post type.

    in reply to: Remove crop from Enfold WooCommerce images? #1390301
    add_action('after_setup_theme', 'update_enfold_image_sizes');
    	function update_enfold_image_sizes() {
    add_image_size ('shop_thumbnail', 200, 0, false );
    add_image_size ('shop_catalog', 450, 0, false);
    add_image_size ('shop_gallery_thumbnail', 300, 0, false);
    }

    Found it.

    I have a content partner providing imagery for thousands of products and they are all poorly cropped so i am trying to make it so that they will display correctly without having to be re-sized to a specific aspect ratio. I’ll share my solution on my other thread.

    @mike This will also help anyone using Flying Scripts as I believe this works in reverse? Where you have to specify the files you want to include rather than exclude.

    @mike totally forgot that I could do that thank you for getting back to me so soon!

    I’ll go through the list and see if I can resolve the issue with shortcodes.js

    I have a feeling that since the turn off animations on mobile devices was added as an option in Enfold > Performance – That this might be the cause of the issues I have encountered with the WP-Rocket official Enfold exclusions list. The instructions for Enfold have not changed for some time now and when I checked the line of code in shortcodes.js causing the issue it related to turning off mobile animcations.

    Once I’ve done some testing I’ll update the ticket.

    in reply to: 5.3 update folder locations #1377567

    Hi Gunter,

    Thanks I thought this was the case. It’s a good solution I have no complaints – The risk of breaking sites is too high I agree.

    I’ll move people over as I go through their sites.

    in reply to: Bug: CDN Use and fonts loading twice #1377447

    Thanks Gunter,

    Happy New Year!

    This problem will occur with all asset CDNs so really pleased with the fix above. Thank you for looking into this.

    I’ll be looking at this again properly in a few weeks – Likely after 5.4 is launched.

    My trial of Key CDN ends this week. I have decided to look for an alternative – The TTFB is actually a lot slower on the CDN resources than just using the server direct. I was also getting issues where KeyCDN refused to serve critical assets (Cache Miss) so I do not think it is the right solution at this stage. Moving on to Bunny CDN and Stack Path next. Trying to avoid CloudFlare because it is expensive at enterprise level.

    I think I’ll end up using StackPath EdgeCaching or the new Bunny CDN Permacache. This means a copy of the entire site is held on their network not just static assets. Soves a cache miss problem and improves TTFB times globally because HTML gets cached. This is simillar to how CloudFlare works when used at DNS level. The irony is that my server here in the UK is outperforming a clients server over in America where they use WPEngine and CloudFlare. I get comparable global TTFB scores without a CDN – With the TTFB scores being much much better in the UK due to server location. So I do not think it is as good as people make out.

    If after my trials I am still seeing cache misses and worse TTFB scores. I’ll just use something like AnyCast DNS to improve DNS resolution times instead and leave CDNs alone until I have a client who requires globally equal TTFB scores.

    • This reply was modified 2 years, 3 months ago by thinkjarvis.
    in reply to: x remove button in cart filled up and not showing properly #1375672

    I have also raised a ticket about this issue.
    Solution/workaround is here.
    https://kriesi.at/support/topic/bug-icons-misson-on-cart-page/

    It has been added to version 5.3 as a fix.

    I hope this helps.

    in reply to: WooCommerce Quantity Pickers Glitch #1374192

    Thanks Yigit,
    I’ll wait for the release now as I have put my css workaround across the server.

    This is one of those weird problems that no one has reported until now. I dont know how long this has been an issue because in order to troubleshoot it you have to take specific actions in the basket that most people wouldnt test – including me! Thank you for addressing the issue. It definitely pre-dates WP6 and Enfold 5.1.

    Hopefully this thread will be useful to anyone else on older versions as well.

    • This reply was modified 2 years, 4 months ago by thinkjarvis.
    in reply to: Hosting #1374125

    See below

    • This reply was modified 2 years, 4 months ago by thinkjarvis.
    in reply to: Bug: Icons Misson On Cart page #1374122

    Top man Thanks Yigit.

    in reply to: WooCommerce Quantity Pickers Glitch #1374121

    Cheers Yigit,

    The workaround I provided above to hide the buttons works for now. I have applied this to all of my WooCommerce sites so the picker works.

    in reply to: WooCommerce Quantity Pickers Glitch #1374114

    Just checking this has made it only the bug fix request list.

    in reply to: Bug: Icons Misson On Cart page #1374113

    Just checking has this made it onto the bug fix list?

    in reply to: WooCommerce Quantity Pickers Glitch #1373651

    @ismael,

    Happy to help mate.Post up here if you have a solution for us to test.

    in reply to: WooCommerce Quantity Pickers Glitch #1373473

    Workaround to enable Spinbox defaults:

    Place this into Quick CSS to add the default Spinbox controls to the basket page only and hide the JS plus/minus buttons.

    This is WooCommerce default setting for the quantity field. If you remove .product-quantity from the css below and change it to .quantity it applies to the product pages as well.

    
    /* For Chrome and Safari  */
    .product-quantity input[type="number"]::-webkit-outer-spin-button,
    .product-quantity input[type="number"]::-webkit-inner-spin-button 
    {
    -webkit-appearance: button !important;
    }
    /* For Firefox  */
    .product-quantity input[type="number"] {
    -moz-appearance: button !important;
    width: 75px !important;
    }
    .product-quantity  input[type="button"] {
    display:none !important;
    }
    table div.quantity {
        width: 75px !important;
    }
    
    • This reply was modified 2 years, 4 months ago by thinkjarvis.
    • This reply was modified 2 years, 4 months ago by thinkjarvis.
    in reply to: WooCommerce Quantity Pickers Glitch #1373472

    @Ismael

    I can confirm that this script does not work.

    As a workaround is it possible to restore the default spinbox for quantity? I can simply hide the two buttons temporarily but if there is a way to enable the default Spinbox this should prevent the problem.

    in reply to: WooCommerce Quantity Pickers Glitch #1373120

    Thanks ddandreo/

    The full problem below unless you have anything else to add.

    1.Add item to basket
    2.View basket
    3.Change the shipping method

    4.The plus and minus buttons stop working and you can only change the quantity by typing in a value.

    in reply to: WooCommerce Quantity Pickers Glitch #1373096

    Please can this be added for urgent investigation? As it will affect sales on WooCommerce Sites.

    This is not a new issue
    It also affect Enfold 5.1.2 and WooCommerce 6.8.2

    See private data

    • This reply was modified 2 years, 4 months ago by thinkjarvis.
    in reply to: WooCommerce Quantity Pickers Glitch #1373060

    I too have this same issue and can replicate it on the site in the private link.

    You cannot change the basket quantities after changing the shipping method on the basket screen.

    Please can you advise? I am running WP 6.1.1 and Enfold 5.2.1

    in reply to: Feature Request: WooCommerce Additional Icons #1372532

    Thanks Gunter that sounds fantastic.
    I wasn’t expecting you to do this so soon. I really appreciate it.

    @hmsvictory
    In the media library changing the title and alt text is possible per image.

    I use this plugin which includes a bulk updater based on file name.:
    https://wordpress.org/plugins/auto-image-attributes-from-filename-with-bulk-updater/

    If you upload the images named what you want the text to say then this plugin will automatically use this to create a title and alt tag. Best practice is to upload images with file names that reflect the content anyway. Just as a final bit of info for search engines to cross reference against.

    The difference between title and alt tag

    “alt” is for providing an image alt tag to describe the image to the search engine crawlers and the screen readers for better web accessibility.
    “title” is for providing an explanation of the image alt tag and image URL within the “src” attribute.

    Alt tags are used by search engines and for accessability. Titles are used to provide more detail than alt tags and also displayed to the user on hover.

    If they are both the same it isnt an issue. I would keep the title tags for SEO purposes but also get into the habit of uploading images named to reflect what they contain.

    in reply to: Images on sitemap solution #1372123

    @Mike
    Not yet. I will test it and get back to you if that is ok?

    in reply to: Host Web Font yourself … some info #1371260

    Please dont ever delete this post.

    What an excellent insight into self hosting fonts.

    I have always gone down the route of individual fonts at 400 (regular) woff2 rather than variable to reduce the number of font files that need to be downloaded. The browser interpretation of font weights is normally adequate for most sites.

    I also pre-load them manually to prevent the font swap jumping in.

    Font Squirrel can further optimise Woff and Woff2 bringing the file size of each custom font down significantly. A Woff2 font created using cloud convert is often about 30 to 60% larger than using Font Squirrels Optimised versions. A site with 3 fonts for example would save about 100kb of data which is huge.

    If you want an alternative to roboto, arial, helvetica, open sans etc. Try Google font Karla – Compressed it is only about 17kb as a Woff2. The lightest Google font available?

Viewing 30 posts - 91 through 120 (of 433 total)