Hello Angelo,
sorry for my late reply.i have solution for your 1st issue.you please replace the code with this new code i am attaching here.please open the plugin quick-order.php file and replace the full function function woo_qotv() with the below code.hope you will be happy with it.i did not understand your 2nd issue.
Please i expect a 5 star review from you.
Thanks and Take Care
function woo_qotv(){?>
<table class="quick-order">
<tr class="top_part">
<thead>
<th ><?php echo('Image'); ?></th>
<th ><?php echo('Product Name'); ?></th>
<th ><?php echo('Price'); ?></th>
<th ><?php echo('Quantity'); ?></th>
</thead>
</tr>
<?php
$args = array( 'post_type' => 'product','posts_per_page' =>'', 'orderby' =>'date','order' => 'DESC');
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post(); global $product; ?>
<tr>
<?php if ( $product->is_in_stock() ) : ?>
<td><a class="btn btn-default product" href="#" data-featherlight="#product_details_<?php echo $loop->post->ID; ?>"><div class="normal_thumnail"><?php if (has_post_thumbnail( $loop->post->ID )) echo get_the_post_thumbnail($loop->post->ID, 'shop_catalog'); else echo '<img src="'.woocommerce_placeholder_img_src().'"/>'; ?></div></a></td>
<td><?php the_title(); ?></td>
<td><?php echo woocommerce_price($product->get_price()); ?></td>
<td>
<?php do_action( 'woocommerce_before_add_to_cart_form' ); ?>
<form class="cart_2" method="post" enctype='multipart/form-data'>
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
<?php
if ( ! $product->is_sold_individually() ) {
woocommerce_quantity_input( array(
'min_value' => apply_filters( 'woocommerce_quantity_input_min', 1, $product ),
'max_value' => apply_filters( 'woocommerce_quantity_input_max', $product->backorders_allowed() ? '' : $product->get_stock_quantity(), $product ),
) );
}
?><input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $product->id ); ?>" />
<button type="submit" class="single_add_to_cart_button button alt">+</button>
<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
</form>
</td>
<div class="lightbox" id="product_details_<?php echo $loop->post->ID; ?>" >
<div class="light_image"><?php if (has_post_thumbnail( $loop->post->ID )) echo get_the_post_thumbnail($loop->post->ID, 'shop_catalog'); else echo '<img src="'.woocommerce_placeholder_img_src().'"/>'; ?></div>
<div class="light_details">
<h2><?php the_title(); ?></h2>
<div class="description"><?php the_content(); ?></div>
<p>SKU: <?php echo ( $sku = $product->get_sku() ) ? $sku : __( 'N/A', 'woocommerce' ); ?></p>
<p>Price: <?php echo woocommerce_price($product->get_price()); ?></p>
</div
</div>
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
<?php endif; ?>
</tr>
<?php endwhile; ?>
<?php wp_reset_query(); ?>
</table>
<?php }