• Dear Jason Kadlec,
    My name is Juan and I would like request your help. I have an online store made with Woocommerce and I’ve seen in forum WordPress you got to show a short description of the products on invoices and delivery notes by WooCommerce Print Invoice & Delivery Notes plugin.
    I tried doing what you say but the plugin code is different from yours. I need your help, please, I would appreciate it greatly. I work in web design and I need to make this implementation for a customer and I would like to make a good service.
    I’ve created the “Print” folder, all, I can not find the file print-delivery-note.php as you say, in my case it is called print-content.php and is in a folder called “print order”.
    You say in line 63 must locate the following code:
    <?php $items = wcdn_get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item ) : ?><tr>
    <td class=”description”><?php echo $item[‘name’]; ?>
    I can not find it. There is a code that is calling the product title, but the description is as follows:
    <?php if( sizeof( $order->get_items() ) > 0 ) : ?>
    <?php foreach( $order->get_items() as $item ) : ?>
    <?php
    $product = apply_filters( ‘wcdn_order_item_product’, $order->get_product_from_item( $item ), $item );
    $item_meta = new WC_Order_Item_Meta( $item[‘item_meta’], $product );
    ?>
    <tr>
    <td class=”product-name”>
    <?php do_action( ‘wcdn_order_item_before’, $product, $order ); ?>
    <span class=”name”><?php echo apply_filters( ‘wcdn_order_item_name’, $item[‘name’], $item );?></span>
    <?php $item_meta->display(); ?>
    I added the line you say both within the plugin file and the file located in the folder and Printing forder doesn′t work.

    Excerpt:<?php $excerpt = $item[‘product’]->post->post_excerpt; echo $excerpt; ?>
    It′s strange that being the same plugin has changed the code. I hope you can help me please I give you my mail: info @ vortexprogram . com

    Best regards.

    https://www.ads-software.com/plugins/woocommerce-delivery-notes/

  • The topic ‘short description producto in Woocommerce Print Delivery & Notes’ is closed to new replies.