studiokb
Forum Replies Created
-
Hi,
Thanks for the response. Your code did not work but I know it’s difficult when you can’t see the database.
I thought I would have to do some custom SQL Queries, but as it turns out I figured a way to do it using WooCommerce’s get_shipping_methods() function. The location has obviously got a relationship to the shipping method. I would have thought the WooCommerce/Local Pickup Plus devs would have known that. Anyway the code that is working for me is as follows:add_action( 'wpo_wcpdf_after_order_data', 'wpo_wcpdf_who_for', 10, 2 ); function wpo_wcpdf_who_for ($template_type, $order) { if ( ($template_type == 'packing-slip') || ($template_type == 'invoice') ) { $document = wcpdf_get_document( $template_type, $order ); ?> <tr class="who-for"> <th>Pickup date selected:</th> <td><?php $document->custom_field('_order_wcj_checkout_field_3'); ?></td> </tr> <tr class="id"> <th>Order ID:</th> <td><?php $kb_order_id = $order->get_id(); echo $kb_order_id; ?> </td> </tr> <tr class="location"> <th>Pickup Location:</th> <td><?php $shipping_method = @array_shift($order->get_shipping_methods()); $shipping_method_id = $shipping_method['_pickup_location_name']; echo $shipping_method_id; //print_r ($shipping_method_id); ?> </td> </tr> <?php } }I actually don’t need the Order ID, but it was useful when trying to figure this out.
ThanksI’m getting this problem too. I went to /admin.php?page=freemius and it says Freemius SDK version 2.2.4. (and plugin v1.0.2). At the bottom it has plugins:
Plugins
foobox-image-lightbox 1.2.27 FooBox Image Lightbox
foogallery 1.3.8 FooGallery
restrict-user-access 1.0.2 Restrict User Access
as well as public keys.
Those first 2 plugins have been deleted, hence are not in use anymore.Forum: Plugins
In reply to: [Easy Social Icons] Why does this plugin use cookies?Hi,
Font Awesome uses cookies when delivering icons for statistics. I don’t think it takes any personal information. They say When you visit a website that uses a Font Awesome content delivery network to load icons, Font Awesome collects data about what icon files you download and when. – https://fontawesome.com/privacy#cdnsHi,
Sorry, I have it only on local host at the moment. But all other plugins work fine on local host, such as WPBakery page builder itself. I am running PHP 7.2.Forum: Fixing WordPress
In reply to: WordPress dashboard no longer showing updatesThanks @rfmcomposer, this was driving me mad, but disabling White Label CMS did the trick. Now I wonder why that is…
Forum: Plugins
In reply to: [Quick Paypal Payments] Last Update broke my formHi,
I’m only getting to test this now. Yes it seems to fix the problem. Can I keep using this version and update to the next one when it’s released?
ThanksHi,
I’ve picked this up through the email from support. ThanksForum: Plugins
In reply to: [Quick Paypal Payments] Last Update broke my formThought you’d forgotten about me! 😉
Ok, thanks
Hi,
Thanks. But it only gives me the sections Billing, Shipping, Order Notes and Account. There’s no way to move it under ‘Your Order’ before the ‘Place Order’ button?Forum: Plugins
In reply to: [Quick Paypal Payments] Last Update broke my formI reverted back to v5.6.1 and the fields have come back. I had updated to 5.6.4
Forum: Plugins
In reply to: [Responsive Posts Carousel] Carousel classGreat, thanks
Forum: Plugins
In reply to: [3CX Free Live Chat, Calls & Messaging] Chat Icon disappearedHi,
Thanks. I’ve uploaded that. I assume that image will stay there when the plugin is updated again?Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] GDPR consent not saved in MailchimpThanks
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] GDPR consent not saved in MailchimpHi,
Thanks for response. So you mean create a checkbox field in Mailchimp form and that will show up as checkbox option in the plugin form builder?
Does Mailchimp not allow you connect to their own GDPR fields as is described here https://mailchimp.com/help/collect-consent-with-gdpr-forms/#set+up+your+gdpr-friendly+signup+form ??
Thanks