• I’m gutted I have to set an absolute path from now on in the latest version of Woocommerce. This is incredibly frustrating as I have over 300 titles already listed and updating the links is now very time-consuming. Why have they changed this and can anyone think of a way around it? Woocommerce haven’t replied to my ticket in over 4 days!

    More importantly, they also changed it so that when you update (or add a filename to a new downloadable product) the plugin actually removes any spaces in the filename. All of my products have spaces in their titles, which results in customers getting deadlinks. Can you think why this is happening? I have also tried replacing spaces with %20, but when updating the page Woocommerce still removes them. With the huge amount of data I have uploaded over the last 3 years, this makes any big changes very frustrating to get over this problem. Thanks in advance for any tips!

    https://wordpress.org/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Add this code to your theme’s function.php file:

    add_filter('mime_types', 'my_mimes');
    
    	function my_mimes($mimes) {
    	    // add your mime types
    	    $mimes['epub'] = 'application/epub';
    		$mimes['mobi'] = 'application/mobi';
    	    return $mimes;
    	}
Viewing 1 replies (of 1 total)
  • The topic ‘Downloadable filenames changed in new version’ is closed to new replies.