Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products listing sorting by price with currency


Psytanium

Recommended Posts

Hello,
 

I'm sorting my products by "final price", after I installed this addon, the listing is corrupted, because now some products have different DEFAULT currency.

 

Anyway, currently this is the code in index.php

case 'PRODUCT_LIST_PRICE':
          $listing_sql .= " order by final_price ASC";
          break;

is it possible, somehow to replace "final price" with

$products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']), $product_info['fr_currencies_id']);

???? i have posted my problem in the commercial forum if someone interested.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...