Posted on

Adding email attachments in WooCommerce

WooCommerce is a very great platform for developers since the source code provides hooks almost everywhere. It means default behaviors and datas can be easily altered by your own code. But for regular users / shop owners, that means “hidden” features you can’t access without a plugin.

For instance, i often receive requests from people who would like to use one of my plugin in order to add attachments to their transactional emails in WooCommerce. Since the plugin is not designed primarily for that here is a little snippet you can use to achieve that. Continue reading Adding email attachments in WooCommerce

Posted on

Adjusting shop columns number in WooCommerce

Fatal error: Uncaught Error: Call to a member function id() on array in /homepages/36/d142585675/htdocs/ Stack trace: #0 /homepages/36/d142585675/htdocs/ CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /homepages/36/d142585675/htdocs/ preg_replace_callback('#()#msi', 'CrayonFormatter...', 'add_filter('loo...') #3 /homepages/36/d142585675/htdocs/ CrayonFormatter::format_mixed_code('add_filter('loo...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /homepages/36/d142585675/htdocs/ in /homepages/36/d142585675/htdocs/ on line 36