pixelboy7734
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Woocommerce cancelled order e-mail notification for my clientsMike Jolley: This is the third or fourth request that I’ve seen for this exact function (on WordPress and on StackOverflow). On the admin page, (https://yoursite.com/wp-admin/admin.php?page=wc-settings&tab=email§ion=wc_email_cancelled_order) right out of the box, “Customer” is on the email recipients list for an order cancelling. But then on the page that shows the settings for email (https://yoursite.com/wp-admin/admin.php?page=wc-settings&tab=email), customer is always removed. So “Customer” is saved on the back end but filtered out by the plugin authors choice. So it’s possible to do this by changing the filter for email recipient. A simple change if you are the author but complicated if you are one of the many WP users who is not a skilled PHP developer.
So in answer to the OP’s question, put this code in your site’s theme functions.php. It worked for me and I’m not even a plugin author.
/* * Add customer email to Cancelled Order recipient list */ function wc_cancelled_order_add_customer_email( $recipient, $order ){ return $recipient . ',' . $order->billing_email; } add_filter( 'woocommerce_email_recipient_cancelled_order', 'wc_cancelled_order_add_customer_email', 10, 2 );
Forum: Fixing WordPress
In reply to: Custom Post Archive Not Displaying, Custom Posts FineHere was the problem although no one else will run into it.
There was a directory named “music” on the site that was unused. I deleted that and then the archive page was served correctly.
Forum: Fixing WordPress
In reply to: Custom Post Archive Not Displaying, Custom Posts FineAlso, when I get the 404 error, it’s a go daddy 404 page not the template 404 page which works fine in other places.
Could it be that the htaccess file isn’t sending pages to the right file?
Forum: Fixing WordPress
In reply to: Custom Post Archive Not Displaying, Custom Posts FineI should add that I developed this locally and it worked correctly. I have a page named “archive-sjl_music.php” that it serves locally for the archive.