Author Topic: Multiprice in browse and flypage problem  (Read 1617 times)

NaGGi

  • Beginner
  • *
  • Posts: 31
Multiprice in browse and flypage problem
« on: July 07, 2009, 13:15:44 pm »
I have put a different price to the product if ordered 4 or more. After that VM inserted blue info Tip mark next to the price in browse and echoed '$price_table' in the flypage. If you hover over that Tip mark it will show that price table for different amount prices.

What is bothering me is that I tested this on VM1.1.3 and it didnt insert any of those stuff. Then I went and did it on VM1.1.2 and the it put all that stuff there.

Anyone can tell me where I can edit those part since I cant find them. I bet its somewhere in the price code but I only see that it echoes $price_table. Or how to disable those as they arent visible in VM1.1.3.

ikmata

  • Beginner
  • *
  • Posts: 3
    • Web Agency
Re: Multiprice in browse and flypage problem
« Reply #1 on: November 04, 2011, 23:46:39 pm »
Hi,
for virtuemart 1.1.9, in administrator/components/com_virtuemart/classes/ps_product.php around line 2363 you need to change this code
Code: [Select]
$prices_table .= "</tbody></table>";
if( @$_REQUEST['page'] != "shop.product_details" ) {
$html .= vmToolTip( $prices_table );
}
else
$html .= $prices_table;
by this one
Code: [Select]
$prices_table .= "</tbody></table>";
if( @$_REQUEST['page'] != "shop.product_details" ) {
//$html .= vmToolTip( $prices_table );
}
else
$html .= $prices_table;