Uploading ebooks into WooCommerce and WordPress

Up a Level

I've helped set up a number of WordPress-based commerce sites for authors. One of the first things that always gets in the way is the inability to upload MOBI or EPUB file into WooCommerce to actually set the books.

To get around this is a pretty simple process.

 'application/epub+zip',
    'mobi' => 'application/x-mobipocket-ebook'
  ));

  return $mimes;
}
?>

I hope it helps anyone who gets stuck by this. I'm sure there is already a plugin in WordPress's catalog, I just couldn't find it.

Metadata

Categories:

Programming

Tags:

WordPress

Footer

Below are various useful links within this site and to related sites (not all have been converted over to Gemini).

Now
Contact
Biography
Bibliography
Support
Fiction
Fedran
Coding
The Moonfires
Categories
Tags
Privacy
Colophon
License
Mailing List