clickingclients
Forum Replies Created
-
ok – so I’ve figured out how to renew the support licence. However, still am powerless to update/correct the channel.
URGENT assistance required.Forum: Plugins
In reply to: [Brevo for WooCommerce] Duplicate “New Order” EmailsForum: Plugins
In reply to: [Brevo for WooCommerce] Duplicate “New Order” EmailsNo fix is available yet.
“The Sendinblue – WooCommerce Email Marketing – Version 3.0.1 plugin is currently facing a bug which does cause the duplicated emails.”
I was sent a link to roll back to a previous version (2.0.39) before the bug was introduced.
Forum: Plugins
In reply to: [Brevo for WooCommerce] Duplicate “New Order” EmailsIs it possible that the first one being sent is via Sendinblue, and the second one which is identical is being sent by WooCommerce?
Why? The ” via sendinblue.com ” indication in email headers is only in the first email of each pair.
Forum: Plugins
In reply to: [Brevo for WooCommerce] Duplicate “New Order” EmailsMy email is configured in WC, but used SIB to send.
Some emails are sent at the same moment, others are 4 mins apart.
The 2nd one is always the ‘weird’ one I’ve not requested.There seems to be no pattern otherwise.
Thanks.
1. If at our reception, we were to use the front end of the site (while logged in as admin), and make a booking on behalf of a guest and then use the Square Reader (physical) to take the payment (not just vanilla SquareUp)?
Would the payment processor be extendable to that purpose?
1) Worked out Australian address structure for a Label:
add_filter('wf_pklist_alter_shipping_address','wf_pklist_alter_address_fn',10,3); function wf_pklist_alter_address_fn($address, $template_type, $order) { //$arr=array($address['city']); //$address['city']=implode(", ",$arr); $arr[]=isset($address['city']) ? $address['city'] : ''; $address['city']=implode(", ",$arr); $arr[]=isset($address['state']) ? '<br />'.$address['state'] : ''; $arr[]=isset($address['postcode']) ? $address['postcode'] : ''; unset($address['state']); unset($address['postcode']); unset($address['country']); $address['city']=implode(", ",array_filter(array_values($arr))); return $address; } add_filter( 'woocommerce_localisation_address_formats', 'woocommerce_custom_address_format', 20 ); function woocommerce_custom_address_format( $formats ) { $formats[ 'AU' ] = "{name}\n{company}\n{address_1}\n{address_2}\n{city}\n{state} {postcode}\n{country}"; return $formats; }
————
2) I’ve worked out #2 to force label CSS below:
add_filter('wf_pklist_alter_template_html', 'wt_pklist_add_custom_css_in_invoice_html', 10, 2); function wt_pklist_add_custom_css_in_invoice_html($html, $template_type) { /* add custom css in invoice */ if($template_type=='shippinglabel') { $html.='<style type="text/css"> .wfte_custom_shipping_size.wfte_main{ width:2.25in !important; max-height:1.24in !important; min-height:1.24in !important; display:inline-block; padding: 0; margin: 0; } .wfte_addrss_field_main:first-of-type { display: none; } .wfte_custom_shipping_size .wfte_body { padding: 0; } .wfte_addrss_fields.wfte_shipping_address { float: none; width: 100%; } .wfte_rtl_main.wfte_main.wfte_custom_shipping_size { padding: 0px 0 0 5px; margin: 0; border: 0; } .wfte_shipping_address_val { font-size: 14px !important; line-height: 16px; } @page { size: 57mm 32mm !important; margin: 0; padding-top: 0; } </style>'; } return $html; }
Forum: Plugins
In reply to: [WooCommerce] Display a packing summary on “Edit Order” admin pageThis is the php snippet I came up with.
Is there any way to make it faster/smoother or better in a WC way?add_action( 'woocommerce_admin_order_data_after_shipping_address', 'additional_admin_order_data_block_after_shipping_address', 100 ); function additional_admin_order_data_block_after_shipping_address(){ echo '</div><div class="order_data_column order_packing_column"> <h3>' . esc_html__( 'Packing Items', 'woocommerce' ) . '</h3>'; // here goes your code and content //custom array to list products: $products_array = array(); $product_tally = 0; global $post; // <=== Alway at the beginning // Get an instance of the WC_Order Object $order = wc_get_order( $post->ID ); // let's decide what order item types we would like to get $types = array( 'line_item'); // defaults to line_item which allows to get products from order foreach( $order->get_items( $types ) as $item_id => $item ) { // order ID $item_order_id = $item->get_order_id(); // product only and no bundle 'summary' item if( empty( $item['woosb_ids']) && $item->is_type( 'line_item' ) ) { // order item name (product title, name of a shipping method or coupon code) $item_name = $item->get_name(); if ( array_key_exists($item_name, $products_array)) { $products_array[$item_name] += $item['qty']; } else { $products_array[$item_name] = $item['qty']; } $product_tally = $product_tally + $item->get_quantity(); } } arsort($products_array); echo '<div class="woocommerce_order_items" id="packing-table"> <div class="thead"> <div class="tr"> <div class="item sortable">Product</div> <div class="quantity sortable">Qty</div> </div> </div> <div class="tbody" id="order_line_items">'; //display list: foreach ($products_array as $title => $quantity) { echo '<div class="lineitem"> <div class="item">'; echo $title.'</div> <div class="quantity">'.$quantity.'</div> </div>'; } echo '<div class="lineitem tally"> <div class="item">Tally of Items</div> <div class="quantity">'.$product_tally.'</div> </div>'; echo '</div> </div>'; }
- This reply was modified 2 years, 2 months ago by clickingclients.
Thank you.
(for the benefit of others) ….
I wrote:It is “Image URL (An image to be displayed during the purchase.)” which I am referring to.
My testing showed only WITHOUT “https://my-domain” worked.wp-content/uploads/2019/07/logo-transparent-150px.png = good.
This is less than 94 characters long in the “imageurl” part of the parameters. The full image path is longer than 94.
After that length, is it simply cut off. Then the JSON becomes malformed when encoding/decoding.
@e4jvikwp Thanks for your replies.
I’ve have tried in: Brave, Chrome, Firefox, and Safari … with the same results. ?A cleared form on the Right hand side.
I even tethered my computer to my mobile phone – off the wifi – just in case that was a problem.
THEN, I turned off some browser extensions (in Brave: but it shouldn’t make a difference as not all browsers doesn’t have extensions) and tried again.
This time I left the Image field blank.
It WORKED!
So I tried each of the following, only the last one works (3):?
1) https://MY-DOMAIN/wp-content/uploads/2019/07/logo-transparent-150px.png
2) MY-DOMAIN/wp-content/uploads/2019/07/logo-transparent-150px.png
3) wp-content/uploads/2019/07/logo-transparent-150px.png
So the error is including anything before this: ? wp-content/uploads/2019/07/logo-transparent-150px.png
Try it. ?If I’m correct…. please update the plugin to process both, or to give a hint on what is acceptable.
Thank you! ???
It’s a single site environment.
Nothing special about the DB setup.I’m looking in the database and can see all the data IS in there.
SELECT * FROM
wp_vikbooking_gpaymentsORDER BY
shownotealwLIMIT 50
The DETAILS and SETTINGS are retrieved from the DB, but the PARAMETERS are not.
I look forward to you checking the ticket – 2468 or 2070
Thank you
It looks like the system is unable to save the settings of your payment method, and the issue could be related to the database table responsible of storing such settings, or maybe to an invalid AJAX response.
The problem is that you cannot save the settings at all. You could also be running the plugin on a multi-site environment, but we would need to check this better from your website.
– Actually, they ARE being saved to the database.
– Just the API settings are not getting retrieved.
Yes please check the tickets and I’ll provide login details.- This reply was modified 2 years, 2 months ago by clickingclients.
Forum: Plugins
In reply to: [Combo Offers WooCommerce] incorrect subtotalIt was a conflict with plugin “WooCommerce Price Based on Country (Basic)”.
Once that is turned off if works.BUT – the mini-cart doesn’t reflect the Combo product pricing.
The cart does.1) Any ideas on how to get it working with country based pricing? Even to override that pricing.
2) How to get the mini-cart to display right price?- This reply was modified 2 years, 2 months ago by clickingclients.
Forum: Plugins
In reply to: [VikBooking Hotel Booking Engine & PMS] SMS – can I use Twilio directly?This does help and I’ll look into it.
Yes I’ve got the commercial version, and wanted to see if I could go straight for Twilio as an integration.
Thank you!Forum: Plugins
In reply to: [VikBooking Hotel Booking Engine & PMS] Currency Symbol not correct in $@e4jvikwp Thank you. That fixed it!
Great support & plugins so far!