Plugin Directory

Changeset 2682970


Ignore:
Timestamp:
02/22/2022 12:01:05 PM (4 years ago)
Author:
diurvan
Message:

Ajuste de tamaño de imagen en tabla

Location:
wc-tracking-status
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wc-tracking-status/tags/2.0.1/includes/front/track-view.php

    r2682956 r2682970  
    213213                                $line_total        = $item->get_total()+$item->get_total_tax();
    214214                                $line_fee = $item->get_total_tax();
    215                                 $image_product = wp_get_attachment_image_src( get_post_thumbnail_id( $item->get_product_id() ), 'single-post-thumbnail' );
     215                                $image_product = wp_get_attachment_image_src( get_post_thumbnail_id( $item->get_product_id() ), array('20', '20') );
    216216                                ?>
    217217                                <tr>
     
    228228                                ?>
    229229                                <tr>
    230                                     <td colspan="4" class="text-right"><b><?php echo __("Costo de envío", "diu-wc-tracking-status")?></b></td>
     230                                    <td colspan="5" class="text-right"><b><?php echo __("Costo de envío", "diu-wc-tracking-status")?></b></td>
    231231                                    <td class="text-right"><b><?php echo number_format($shipping_total_cost,2)?></b></td>
    232232                                </tr>
     
    235235                            ?>
    236236                            <tr>
    237                                 <td colspan="4" class="text-right"><b><?php echo __("TOTAL", "diu-wc-tracking-status")?></b></td>
     237                                <td colspan="5" class="text-right"><b><?php echo __("TOTAL", "diu-wc-tracking-status")?></b></td>
    238238                                <td class="text-right"><b><?php echo number_format($orden->get_total(),2)?></b></td>
    239239                            </tr>
  • wc-tracking-status/trunk/includes/front/track-view.php

    r2682956 r2682970  
    213213                                $line_total        = $item->get_total()+$item->get_total_tax();
    214214                                $line_fee = $item->get_total_tax();
    215                                 $image_product = wp_get_attachment_image_src( get_post_thumbnail_id( $item->get_product_id() ), 'single-post-thumbnail' );
     215                                $image_product = wp_get_attachment_image_src( get_post_thumbnail_id( $item->get_product_id() ), array('20', '20') );
    216216                                ?>
    217217                                <tr>
     
    228228                                ?>
    229229                                <tr>
    230                                     <td colspan="4" class="text-right"><b><?php echo __("Costo de envío", "diu-wc-tracking-status")?></b></td>
     230                                    <td colspan="5" class="text-right"><b><?php echo __("Costo de envío", "diu-wc-tracking-status")?></b></td>
    231231                                    <td class="text-right"><b><?php echo number_format($shipping_total_cost,2)?></b></td>
    232232                                </tr>
     
    235235                            ?>
    236236                            <tr>
    237                                 <td colspan="4" class="text-right"><b><?php echo __("TOTAL", "diu-wc-tracking-status")?></b></td>
     237                                <td colspan="5" class="text-right"><b><?php echo __("TOTAL", "diu-wc-tracking-status")?></b></td>
    238238                                <td class="text-right"><b><?php echo number_format($orden->get_total(),2)?></b></td>
    239239                            </tr>
Note: See TracChangeset for help on using the changeset viewer.