piffpaffpuff
Forum Replies Created
-
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Country Missing on Invoicethis depends on your localized woocommerce address format and has nothing to do with this plugin. by default woocommerce removes the country from the address if the shop base country is the same as the customers country. but you can switch that off with the
woocommerce_formatted_address_force_country_displayhook. an example:function my_address_with_country( $country ) { return true; } add_filter( 'woocommerce_formatted_address_force_country_display', 'my_address_with_country' );you can look at the
class-wc-countries.phpfor more info.can you please explain a little bit your setup.
– did you also use the 2.x version of this plugin, if yes, did you change something to your setup since then?
– do you use FORCE_SSL_ADMIN or FORCE_SSL_LOGIN for ssl.
– do you use a plugin, and which one?
– which of your pages use ssl (admin only, whole site, etc)?also do this in chrome:
1. go to the orders page in the admin.
2. click on the print button and cancel the print operation.
3. now right-click on the print button and choose “Inspect Element” from the menu.
4. a new window open, click on the tab “Console” in that window.
5. post a reply with all the content form that tab.Do you use https in the admin?
Do you print in the front-end or in the admin?
Just give the new template another try. It is definitely better than the old one, because you can make most of the changes with the functions.php and are not obliged to copy the template.
I do not really understand how your template should look like but I can imagine that it is achievable.
How can I differentiate between invoice and delivery note through CSS?
The
bodytag contains a class that specifies the template type. The class can beinvoiceordelivery-note. You can prefix your style rules to only target one template. For example you could rise the font size for the addresses on the right side:.invoice .billing-address { font-size: 2em; } .delivery-note .shipping-address { font-size: 2em; }Which languages do you use? all languages except German are currently out of date. The translators still need to catch up to version 3.
the new version is now released
hi, thanks. there is a new version online (3.1) that has slightly renamed class names. use the following code to hide the prices (from the new FAQ):
Can I hide the prices on the delivery note?
Sure, the easiest way is to hide them with some CSS that is hooked in withwcdn_head.An example that hides the whole price column. Paste the code in the
functions.phpfile of your theme:function my_price_free_delivery_note() { ?> <style> .delivery-note .head-price span, .delivery-note .product-price span, .delivery-note .order-items tfoot { display: none; } .delivery-note .order-items tbody tr:last-child { border-bottom: 0.24em solid black; } </style> <?php } add_action( 'wcdn_head', 'my_price_free_delivery_note', 20 );Thanks for your feedback. By popular demand the Quantity column will be back in version 3.1
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Won't Print – Quick Circlehandled in other topic
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Wont print after update@mharmontx great to hear. everything after the product list comes directly from woocommerce and I can’t really control what is in there. Can you make a screenshot to show the problem (please make a new topic).
I’m sorry to hear that but i think the new layout is going to stay. You can still edit the template to your needs and you made a good starting point by reading the FAQ. I can’t really help you with creating your own template, but maybe other people can.
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Missing detailsI think this is also related to the SSL bug that is fixed in 3.0.6. Could you please test it and tell me if it is working now for you?
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Wont print after updateThanks to everybody for the help and patience: there is a new version available (3.0.6) that should fix the SSL problem.
Could please everybody test it and report back if it is working now?
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Wont print after update@andrew DiMino I understand you, but please be patient. I also want to fix the issue but I have a real life job that occupies me the whole week. The plugin is just a hobby.
An please consider: You didn’t pay anything for this plugin and if you would like to fix it faster you need to involve yourself on GitHub.