Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Vera
Vera
Brief
We have moved all additional functions from 'block_products_list.php' to 'table_view_functions.php'.
 
Description
1) It isn't possible to show two 'Products List' blocks at the same time.
2) When you check the option "(disable 'Add to Cart' button if the product is out of stock)" in Table View listing appear multiple gray "Add" buttons.
3) Qty control along with active "Add" button is present for disabled 'out of stock' items in Table View listing.
 
Solution
Download the updated version of the files:
http://www.viart.com/downloads/products_list_update-4.zip
 
Further, extract 'block_products_list.php'' into 'blocks' folder and 'table_view_functions.php' into 'includes' folder via FTP in BINARY mode replacing existing files. Please do not forget to make a backup copy of the current file in case something goes wrong.
Last modified: 15 Apr 2011 7:46 PM
 
Ibn Saeed
Ibn Saeed
Thanks, i really needed this
 
Gizar
Gizar
Thanks for fixing this was a problem.
 
Vera
Vera
Added another fix to this patch:
- fix to hide Qty control for 'out of stock' items in Table View listing.
 
We'll recommend to download the patch again.
 
Regards,
ViArt Team
 
 
Ibn Saeed
Ibn Saeed
Thanks vera
 
Ibn Saeed
Ibn Saeed
$user_price = false;
$user_price_action = 0;
$user_price_action = $q_prices [2];
// calcalutate price
if ($user_price > 0 && ($user_price_action > 0 || !$discount_type)) {
if ($is_sales) {
$sales_price = $user_price;
} else {
$price = $user_price;
}
}
if ($user_price_action != 1) {
 
Just noticed, did you revert back the changes in block_products_list.php file ?
 
Vera
Vera
Ibn Saeed
 
According to our programmers the only file that was changed in recent update was "table_view_functions.php" and nothing was changed in the lines above in latest patch.
 
Regards,
ViArt Team