dmor71
Forum Replies Created
-
Forum: Plugins
In reply to: [Klarna Checkout for WooCommerce] Getting Bad value: order_amount Errorsorry for the late reply. I did roll it back to 2.12 and the problem went away. I will email you the error log. Thanks for your reply and help.
Forum: Plugins
In reply to: [Klarna Checkout for WooCommerce] Getting Bad value: order_amount ErrorUpdate to this – I had to disable the Klarna payments plugin because customers couldn’t make any purchases with any payment option. I have created a staging copy for you to inspect with the plugin enabled.
Forum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Setting No Longer WorkingI’m still having issues with the settings. They don’t seem to have any affect. No matter what settings I choose in the admin the behavior on the front end stays the same.
Is this what you need?
<?php /** * Order email to vendor. * * @version 2.1.0 * @since 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } if ( version_compare( WC_VERSION, '3.0.0', '>=' ) ) { $order_date = $order->get_date_created(); $billing_first_name = $order->get_billing_first_name(); $billing_last_name = $order->get_billing_last_name(); } else { $order_date = $order->order_date; $billing_first_name = $order->billing_first_name; $billing_last_name = $order->billing_last_name; } ?> <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <p><?php printf( esc_html__( 'You have received an order from %s. The order is as follows:', 'woocommerce-product-vendors' ), esc_html( $billing_first_name ) . ' ' . esc_html( $billing_last_name ) ); ?></p> <h2><?php printf( esc_html__( 'Order #%s', 'woocommerce-product-vendors' ), $order->get_order_number() ); ?> (<?php printf( '<time datetime="%s">%s</time>', date_i18n( 'c', strtotime( $order_date ) ), date_i18n( wc_date_format(), strtotime( $order_date ) ) ); ?>)</h2> <?php $email->render_order_details_table( $order, $sent_to_admin, $plain_text, $email, $this_vendor ); ?> <?php do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email ); ?> <?php do_action( 'wc_product_vendors_email_order_meta', $order, $sent_to_admin, $plain_text, $email ); ?> <?php do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email ); ?> <h2>Billing Address</h2> <p><?php echo $order->get_formatted_billing_address();?></p> <p>Phone: <?php echo $order->get_billing_phone();?></p> <p>Email: <?php echo $order->get_billing_email();?></p> <?php do_action( 'woocommerce_email_footer', $email ); ?>
I’m adding some custom field content to the bottom of the emails. But when I deactivate your plugin that extra instance of the order number and date goes away.
I’m using WC Product Vendors V 2.1.11
I’m was thinking it was adding something to header of email via hook so somehow since your plugin isn’t overriding all the email templates it this piece of information was being added by two things hooking into the email header. Just guessing there. But the second instance does go away when your plugin is deactivated.
Forum: Plugins
In reply to: [Post via Dropbox] Images and Featured ImageThanks for the quick reply.
I’m currently using the <img> tag for my images now and that works great but I need to somehow have that set as the featured image. I have looked for a plugin that will pull the image from the content but I cannot find one that will do that. If you can point me in the right direction I would appreciate it. Thanks.
Forum: Plugins
In reply to: [Post via Dropbox] Post a certain number of articles at a time?Thanks for pointing that out. Works like a charm.
Forum: Themes and Templates
In reply to: Changing Blog Title to ImageGreat info, i have a different theme and it worked with a little tweaking. However I now have a box around the logo not sure why or how, is there a way to make that go away? url to the blog i’m building is https://mygrillandsmoker.com/frontpage