Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Shop by price infobox

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
Greek Language file, tested and in use as of 29th October 2009
Alteration to version 2.5a:

The language array code needs to appear in english.php file - so that box shows correctly on pages other than the Shop by Price page itself.
While i was integrating this contribution i thought why making it so complicated while the functionality is allready in the advanced_search?

I rewrote what i needed and it appears to be limited to a few extra lines in the search box (which is already there). I attached the resulting search.php box, language items you will have to do yourselves.

This is what i added:

$price_ranges = array(
array('max' => 10),
array('min' => 10, 'max' => 20),
array('min' => 20));

<...>

$info_box_contents[] = array(
'align' => 'center',
'text' => '<b>' . BOX_SEARCH_TEXT2 . '</b>');
$info_box_contents[] = array('text' => tep_draw_separator('pixel_trans.gif', '100%', '5'));
for ($index=0; $index<sizeof($price_ranges); $index++) {
if(isset($price_ranges[$index]['min']) && isset($price_ranges[$index]['max'])) {
$info_box_contents[] = array(
'align' => 'center',
'text' => '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, 'pfrom=' . $price_ranges[$index]['min'] . '&pto=' . $price_ranges[$index]['max'], 'NONSSL') . '">' . '&euro;' . number_format($price_ranges[$index]['min'], 0) . '&nbsp;' . BOX_SEARCH_TO . '&nbsp;&euro;' . number_format($price_ranges[$index]['max'], 0) . '</a><br>');
} else if(isset($price_ranges[$index]['min']) && !isset($price_ranges[$index]['max'])) {
$info_box_contents[] = array(
'align' => 'center',
'text' => '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, 'pfrom=' . $price_ranges[$index]['min'], 'NONSSL') . '">' . BOX_SEARCH_FROM2 . '&nbsp;&euro;' . number_format($price_ranges[$index]['min'], 0) . '</a><br>');
} else if(!isset($price_ranges[$index]['min']) && isset($price_ranges[$index]['max'])) {
$info_box_contents[] = array(
'align' => 'center',
'text' => '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, 'pto=' . $price_ranges[$index]['max'], 'NONSSL') . '">' . BOX_SEARCH_TO2 . '&nbsp;&euro;' . number_format($price_ranges[$index]['max'], 0) . '</a><br>');
}
}

and that's it....!
   Posted on: 02/08/2009     See contribution details Request Installation with Paid service