File "product-grouped.php"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/woo-bulk-editor/views/parts/product-grouped.php
File size: 1.4 KB
MIME-type: text/x-php
Charset: utf-8
<?php
if (!defined('ABSPATH')) {
exit;
}
?>
<ul class="woobe_fields_tmp">
<?php if (!empty($products)): ?>
<?php
foreach ($products as $prod_id) :
if (has_post_thumbnail($prod_id)) {
$img_src = wp_get_attachment_image_src(get_post_thumbnail_id($prod_id), 'thumbnail');
//$img_src = woobe_aq_resize($img_src[0], 100, 100, true);
$img_src = $img_src[0];
} else {
$img_src = WOOBE_ASSETS_LINK . 'images/not-found.jpg';
}
?>
<li class="woobe_options_li">
<a href="#" class="help_tip woobe_drag_and_drope" title="<?php echo esc_html__('drag and drop', 'woo-bulk-editor') ?>"><img src="<?php echo WOOBE_ASSETS_LINK ?>images/move.png" alt="<?php echo esc_html__('move', 'woo-bulk-editor') ?>" /></a>
<img src="<?php echo $img_src ?>" alt="" class="woobe_gal_img_block" />
<a href="<?php echo get_post_permalink($prod_id) ?>" target="_blank"><label><?php echo get_post_field('post_title', $prod_id) ?> (#<?php echo $prod_id ?>)</label></a>
<a href="#" class="woobe_prod_delete"><span class="icon-trash button"></span></a>
<input type="hidden" name="woobe_prod_ids[]" value="<?php echo intval($prod_id); ?>" />
</li>
<?php endforeach; ?>
<?php endif; ?>
</ul>