potterleung
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] disable payment instructionsSorry, I mean how can I display client company name which typed while paying
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] disable payment instructionsOkay now. How can I display company name in invoice
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] disable payment instructionsOkay now, but email can’t receive the invoice. Why?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilityAnother question, how can I no show payment method and payment instruction in the total section?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilityForum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilityForum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilityThe price is showing with 2 row:
$
9,600.00How can let it be one row: $9,600.00
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilityIt’s sad that this is not work for me. the words is too small and my description is much more. I found that if the description not in table which can over a page, but will be not organized if more that one product. Maybe I try to find other plugin to fix it.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilityhi @alexmigf. Yes, it over a whole page cause a lot of words.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilityhttps://drive.google.com/file/d/1-JNYOyGXPEcFSBPuKRlLz8DWtkhPmbMA/view?usp=sharing
this is the outlook of invoice my preference :((
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilityCan show the product description but the description can’t display over a page in pdf which inside <table>.
You can see the second and third product item description can’t show all of them.
My invoice.php at below:
https://drive.google.com/file/d/1vhOEafEx1rge1yfQb4Drjd9KyJrve-v5/view?usp=sharingtable coding:
<table class=”order-details”>
<thead>
<tr>
<th class=”product”><?php _e(‘Product’, ‘woocommerce-pdf-invoices-packing-slips’ ); ?></th>
<th class=”quantity”><?php _e(‘Quantity’, ‘woocommerce-pdf-invoices-packing-slips’ ); ?></th>
<th class=”price”><?php _e(‘Price’, ‘woocommerce-pdf-invoices-packing-slips’ ); ?></th>
</tr>
</thead><tbody>
<?php $items = $this->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
<tr class=”<?php echo apply_filters( ‘wpo_wcpdf_item_row_class’, $item_id, $this->type, $this->order, $item_id ); ?>”>
<td class=”product”>
<?php $description_label = __( ‘Description’, ‘woocommerce-pdf-invoices-packing-slips’ ); // registering alternate label translation ?>
<span class=”item-name”><?php echo $item[‘name’]; ?></span>
<?php do_action( ‘wpo_wcpdf_before_item_meta’, $this->type, $item, $this->order ); ?>
<span class=”item-meta”><?php echo $item[‘meta’]; ?></span>
<div class=”meta”>
<?php
if (!empty($item[‘product’])) {
$_product = $item[‘product’]->is_type( ‘variation’ ) ? wc_get_product( $item[‘product’]->get_parent_id() ) : $item[‘product’];
if ( method_exists( $_product, ‘get_description’ ) ) {
echo ‘<div style=”word-wrap:break-word;”>’.$_product->get_description().'</div>’;
}
}
?>
<?php do_action( ‘wpo_wcpdf_after_item_meta’, $this->type, $item, $this->order ); ?>
</td><td class=”quantity”><?php echo $item[‘quantity’]; ?></td>
<td class=”price”><?php echo $item[‘order_price’]; ?></td>
</tr>
<?php endforeach; endif; ?>Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] pdf capabilitysorry this is not work for me