Darryl.R
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] missing SKU from emailOk, so after the update this works. Thank you.
However, I have a custom template that sends an order email based on the customers location (via a depot selection on their account) to a specific recipient (not an admin) to process the order. This template still works, but now it doesn’t show the SKU either.
Could you possibly point out where the issue is in the template code?
<?php if (!defined('ABSPATH')) exit; ?> <?php do_action('woocommerce_email_header', $email_heading); ?> <h2><?php echo __('Order:', 'woocommerce') . ' ' . $order->get_order_number(); ?></h2> <table cellspacing="0" cellpadding="6" style="width: 100%; border: 1px solid #eee;" border="1" bordercolor="#eee"> <thead> <tr> <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e('Product', 'woocommerce'); ?></th> <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e('Quantity', 'woocommerce'); ?></th> <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e('Price', 'woocommerce'); ?></th> </tr> </thead> <tbody> <?php echo $order->email_order_items_table( (get_option('woocommerce_downloads_grant_access_after_payment')=='yes' && $order->status=='processing') ? true : false, true, ($order->status=='processing') ? true : false ); ?> </tbody> <tfoot> <?php if ( $totals = $order->get_order_item_totals() ) { $i = 0; foreach ( $totals as $total ) { $i++; ?><tr> <th scope="row" colspan="2" style="text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['label']; ?></th> <td style="text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['value']; ?></td> </tr><?php } } ?> </tfoot> </table> <?php do_action('woocommerce_email_after_order_table', $order, false); ?> <p><strong>Payment Method: </strong> <?php echo $order->payment_method.' / '.$order->payment_method_title; ?></p> <?php if (isset($order->customer_note) && !empty($order->customer_note)): ?> <p style="color: #737373;"><strong>Note:</strong> <?php echo wpautop(wptexturize( $order->customer_note )) ?></p> <?php endif; ?> <h2><?php _e('Customer details', 'woocommerce'); ?></h2> <?php $user_info = get_userdata($order->user_id); ?> <p><strong>Username: </strong> <?php echo $user_info->user_login; ?></p> <p><strong>Role(s): </strong> <?php echo implode(', ', $user_info->roles); ?></p> <p><strong>User ID: </strong> <?php echo $user_info->ID; ?></p> <?php if ($order->billing_email) : ?> <p><strong><?php _e('Email:', 'woocommerce'); ?></strong> <?php echo $order->billing_email; ?></p> <?php endif; ?> <?php if ($order->billing_phone) : ?> <p><strong><?php _e('Tel:', 'woocommerce'); ?></strong> <?php echo $order->billing_phone; ?></p> <?php endif; ?> <?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?> <?php do_action('woocommerce_email_footer'); ?>
Thank you!
Forum: Plugins
In reply to: [WooCommerce] missing SKU from emailthank you Mike!
Forum: Plugins
In reply to: [WooCommerce] missing SKU from emailGreat, thank you!
Forum: Plugins
In reply to: [WooCommerce] missing SKU from emailOk, I never noticed that! :$
But they did show in the emails; and they are missing now – so that’s the main issue I’m having.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] missing SKU from emailHi Mike
I’m also picking up this issue, also there are no sku’s in the backend orders, front end cart and front end checkout.
I’ve disabled all plugins (except WC), and reverted to the basic Storefront theme, still no joy.
Thanks!
Forum: Plugins
In reply to: [OpenTickets Community Edition] Error while trying to view purchased ticketsI read why the tickets are hidden; however why not connect the ticket to the event from the Woocommerce product edit page as well?
I also noticed that the event gets placed in the “uncategorized” post category; even though I selected another post category?
Forum: Plugins
In reply to: [OpenTickets Community Edition] Error while trying to view purchased ticketsOk; so I was able to get it to work. I deleted all events, tickets, venues etc.. and recreated it from the start.
However – why are the tickets hidden from catalog/search by default? Why can I not have the ticket available in my shop to purchase?
Forum: Plugins
In reply to: [OpenTickets Community Edition] Error while trying to view purchased ticketsIt also appears that if I go into the actual order on the WC backend I get
Event: (no event selected)
But I’ve made sure that I’ve connected the Ticket to the event area and the event area to the venue…
Forum: Plugins
In reply to: [YITH WooCommerce Multi Vendor] Email Order NotificationsThank you for the response,
Just clear up the second part – does the each vendor get an email notification with their part of the order?
Thanks
Ok, that seems to have sorted it. Its WP-Spamshield that I’m using.
Thanks for the assistance!
Hi
Thank you
Yes, I got it to work, I see the form, however when I submit the form I’m getting the following error:
ERROR: Sorry, there was an error. Please be sure JavaScript and Cookies are enabled in your browser and try again.
Thanks
Hi John
Thanks for this!
Hi John
I have a client’s site where the same image (a top rated product) is pulled and attached to every forum post that is fed to their Facebook page. Is this normal? Or is there a way that it can at least post a different image or the rather the store logo as a default picture?
Thanks
Forum: Plugins
In reply to: [WooCommerce PDF & Print] How to style the print pageI edited the print template page of the plugin as a temporary solution.
Forum: Plugins
In reply to: [User Role Editor] Capability not visibleHi Vladimir
No, not resolved yet. Thanks