codeagency
Forum Replies Created
-
Forum: Plugins
In reply to: [Invoices for WooCommerce] custom template deleted after each updateOK, works!
Forum: Plugins
In reply to: [Floating Minicart for WooCommerce] language support?Yes, but you don’t have any pot file I can translate.
If you can create the start file first for English, I can add the translationsForum: Plugins
In reply to: [Invoices for WooCommerce] Invoices in english, not desired LanguageBas,
I want to hook into this issue because I had the same problem and how I solved it.
I have created a custom template (duplicate from micro and edited) a few months ago.
After last WP update to 4.4 and your plugin to 3.20, the invoices keep generating in English.
When I switch back to micro default template (which is also auto-updated), everything is fine again and in Dutch language.
Switching back to my custom template -> English again!I’ve checked the code in header.php and body.php, but I don’t see any difference between micro default template <> custom template.
Somehow, after updating, there is a language issue if using a custom template.
Perhaps you can make a note of this (if necessary) to check this as there might be more users experiencing this issue. .I solved the culprit by duplicating “micro” template again and re-do the customizations.
It wasn’t much changes, so I could just copy/paste my code back into the new custom template. And everything is back in correct Dutch language.BR,
Fabio
Forum: Plugins
In reply to: [Custom Fee Woocommerce] Not workingHi,
It still is not working.
I’ve sent you an email with admin access for 24 hours.
Please have a look.It’s a demo environment on WP IDE
Forum: Plugins
In reply to: [Custom Fee Woocommerce] Not workingHi,
higher than is working,
less than option is not working. it shows nothing.Also there is a bug with the number formatting in backend.
When I type 9,99 it shows 9 EUR
When I type 9.99 (point) it show 9, 99 EUR correct.
It’s not using the decimal sign as set in WooCommerce settings.Forum: Plugins
In reply to: [Statebuilt Facebook Page Like Popup] other language?Excellent! Nice done š
Forum: Plugins
In reply to: [Invoices for WooCommerce] Customer Number on InvoiceUnfortunately, I can’t sent you my file as it is more customized for a customer project.
It will cause more errors.Frankly, I don’t really understand why it’s not working.
It’s just 1 simple line of code you need to add.Just open the file header.php from inside the folder from your custom template or the default template micro.
It should be located in includes/templates/invoices/simple/
then you see a folder micro (or your own folder if you have a custom template)When header.php is open and ready for editing, search for a line “invoice-details”
inside that block you add the following exact line including the <span>:<span class=”small-font”><?php printf( __( ‘Customer n°: %s’, $this->textdomain ), $this->order->customer_user ); ?></span>
I still have some strange behavior:
order id 52 -> create invoice 0001
order id 53 -> create invoice 0002
order id 54 -> create invoice 0003
order id 55 -> create invoice 0004
order id 56 -> create invoice 0005
order id 52 -> cancel invoice 0001
order id 52 -> create invoice 0005 -> 0005 is already in use??Hi Bas,
Thanks for update! I will check it and confirm.
Forum: Plugins
In reply to: [WooCommerce Plivo SMS notifications] Extra fields on the SMS – HookInteresting! Following this topic
Forum: Plugins
In reply to: [Invoices for WooCommerce] Append a terms and condition page to the invoiceInterested to know how this was solved.
Seperate file? Seperate page in invoice PDF?I might need this too for an upcoming project (terms in seperate page inside invoice PDF).
Feature idea:
Is it possible to add a field in admin where shop-admin can upload a PDF file with his terms & conditions.
Next, when creating the invoice PDF from order page, it merges that second page together into 1 PDF file.Thanks!
Forum: Plugins
In reply to: [Invoices for WooCommerce] Customer Number on InvoiceI can confirm it works, cause I’m using that line of code in my template too š
Forum: Plugins
In reply to: [Invoices for WooCommerce] VAT not showing on invoiceSounds like music to my ears š
Forum: Plugins
In reply to: [Invoices for WooCommerce] insert custom fields into templateOK, I found the problem and solved.
it’s not working with printf
I’m using following line, and this does the job:
echo ‘Onze referentie: ‘ . get_post_meta($this->order->id, ‘_wc_acof_2’, true);
Forum: Plugins
In reply to: [Invoices for WooCommerce] Customer Number on InvoiceThat’s an easy one.
Just add following line in your header.php:
<?php printf( __( ‘Customer n°: %s’, $this->textdomain ), $this->order->customer_user ); ?>