EvD
Forum Replies Created
-
Forum: Plugins
In reply to: [Dynamic QR Code - generator] Security problem occurredHi sosidee,
Unfortunately, I am a bit hessitant to give such access. I hope you understand. Is there another way I can give you the necessary information?
Forum: Plugins
In reply to: [Dynamic QR Code - generator] Security problem occurredHi sosidee,
Excellent, thank you for the quick follow-up.
Forum: Plugins
In reply to: [WooCommerce] Checkout: remove white space in postcodeHi Kaushik S. a11n,
Fantastic, that was the final piece of code I was looking for. Actually, it is the only piece of code that was necessary to remove the space in the postcode. The javascript code with the html code now serves as a visual aid for users so they know their spacebar press will not be registered.
I would like to thank everybody for helping. Absolutely perfect. ??
Forum: Plugins
In reply to: [WooCommerce] Checkout: remove white space in postcodeHi Kaushik S. a11n,
Thank you for your help. Now the problem is 50% solved, I am half way. ??
After inserting the code the cursor on the frontend doesn’t move when someone hits the spacebar. So for example when a customer enters 1234 followed by a spacebar and then enters the letters AB, the text field doesn’t show the space in between the numbers and the letters. It just displays 1234AB. Which is perfect.But the backend still registers the press of the spacebar because in the order overview a space is visible between 1234 and AB. It also shows on the PDF invoices when generated.
Also a new problem has surfaced: even when a customer doesn’t press the spacebar between 1234 and AB, the order overview on the backend shows 1234 AB (with a space between 1234 and AB). It creates the space all by itself.
Do you know what I am doing wrong?
Best, Elke
Forum: Plugins
In reply to: [WooCommerce] Checkout: remove white space in postcodeThank you for helping, Rynald0s.a11n. Unfortunately, that didn’t work. I have found another code that could work:
function keyDown(e) { var e = window.event || e; var key = e.keyCode; //space pressed if (key == 32) { //space e.preventDefault(); } } function checkWhitespace(event) { var data = event.clipboardData.getData("text/plain"); var isNullOrContainsWhitespace = (!data || data.length === 0 || /\s/g.test(data)); if(isNullOrContainsWhitespace) { event.preventDefault(); } }
with
<input type="text" onkeydown="keyDown(event)" onpaste="checkWhitespace(event)" />
Thanks to Recep Karadas on Stackoverflow.com.
But I have nog idea where to put this to get this working on the billing_postcode field and the shipping_postcode field of my checkout page.
Forum: Plugins
In reply to: [WooCommerce] Checkout: remove white space in postcodeHi Con a11n,
Thank you for helping so quickly. ?? I have inserted the code into my functions.php but unfortunately it doesn’t change the output on the back-end side of my woocommerce site.
In the back-end when I go to orders it still shows the billing postcode and the shipping postcode with the white space between the numbers and letters (for example: 2634 TY).
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Can’t export credit invoicesHi Alex,
Thanks, that worked. It does show the credit invoices but they are shown on the same lines as the original invoices of which they are a credit invoice of. For example when customer 2 has canceled order #2 and I have credited his order a little while later then it will be exported like this:
Customer 1: Normal invoice #1
Customer 2: Normal invoice #2 | Credit invoice #4
Customer 3: Normal invoice #3
Customer 4: Normal invoice #5
Customer 5: Normal invoice #6But I would like the credit invoice on a seperate line, because my credit invoices are numbered in the same sequence as the invoices. For example:
Customer 1: Normal invoice #1
Customer 2: Normal invoice #2 (customer canceled his order)
Customer 3: Normal invoice #3
Customer 2: Credit invoice #4 (original invoice #2)
Customer 4: Normal invoice #5
Customer 5: Normal invoice #6The invoice numbers (normal invoices and credit invoices) are all sequential. I would like to export it in that fashion.
Is that possible?Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Can’t export credit invoicesI am sorry but I can’t seem to make it work.
I added the code to my custom functions plugin but when I export I still don’t see the credit invoices. Do I need to add a field for export?
I am testing it on my staging website for which the Pro version of my invoice plugin isn’t valid. But the credit invoices should already be generated, I was hoping. I will test it toningt on my live website. Keep you posted.
- This reply was modified 3 years, 4 months ago by EvD.
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Can’t export credit invoicesFantastic, Alex. Thanks for your fast help!
Is there someone that can help?
Hi Niloy,
Worked like a charm! Thanks again for your quick and effective solution.
Have a great day.
Best, Elke.Hi Niloy,
You were right it was a different plugin. Fortunately, the developer fixed it swiftly. Thanks for your quick support! ??Hi Niloy,
I use Storefront as a theme. I will look into the possibility of other plugins conflicting and will let you know. Thanks again.Forum: Plugins
In reply to: [Autoptimize] Autoptimize change aspect ratio single imageHi Frank, is there a way to send you a private message? I can’t seem to setup a staging site for you to test your plugin.
Best, Elke.Forum: Plugins
In reply to: [Autoptimize] Autoptimize change aspect ratio single imageHi Frank, yes, that would be the easiest way. I have a staging website but only accessible with an admin account. I will invesigate how I can give you access. I will keep you updated. ??