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

  Pricematch

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.
Replace the file in catalog directory to require users to log in or register to use price match feature.

Single file only. Not a full package
Price match won't pass the quotation on the product name to pop-up windows... here is a simple work around in case someone is having product name with quotation.

I made mistake to the previous instruction.

Updated with the correct instruction... should be good to go...
Sorry Again, i made a minor error in the instruction, updated instruction, so you won't be confused!
this should be the complete code for replacement:

<?php echo '<form name="price_match" method="post" action="' . "javascript:popupPricematch('pricematch.php?" .tep_get_all_get_params()."')" . '">' . tep_price_match_submit('price_match', IMAGE_BUTTON_PRICE_MATCH) . '</form>';?>
in product_info.php

find:

$this_Code = $product_info['products_model'];
$this_Product = $product_info['products_name'];
$this_Price = $product_info['products_price'];

change to this:

/*
$this_Code = $product_info['products_model'];
$this_Product = $product_info['products_name'];
$this_Price = $product_info['products_price'];
*/

save, upload.

in pricematch.php

find:

$this_Code = $_REQUEST['code1'];
$this_Product = $_REQUEST['product1'];
$this_Price = $_REQUEST['price1'];

change to this:

$this_Code = $product_info['products_model'];
$this_Product = $product_info['products_name'];
$this_Price = $product_info['products_price'];


find:

<p><input type="hidden" name="Product_Name" size="40" value="<?php echo $product_info['products_name']; ?>">
<?php echo $product_info['products_name']; ?>

change to this:

<p><input type="hidden" name="Product_Name" size="40" value="<?php echo $this_Product; ?>">
<?php echo $this_Product; ?>
</td>

no file attached, just update from below...
i found this way is better without using extra step...
   Posted on: 03/19/2009     See contribution details Request Installation with Paid service