Limit the best price to one store
Submitted by kiddaclo on Tue, 2010-01-19 14:25.Price Tapestry
Hello,
I'm new to php, how can I limit the 'Best Price:£99 from merchant' to only show one merchant even if 2 have the same price?
Cheers,
Chris
I might be wrong but I think it only shows 2 merchants when the price is zero
Hi Chris,
Don't miss my reply above (we cross-posted I think..!) - the logic should be that all merchants with the same / cheapest price are displayed...
Cheers,
David.
--
Developer, Price Tapestry
General PHP, MySQL and Affiliate Marketing tech help for Price Tapestry customers at davidmorison.com
Cheers David, yep I think we did cross post, that's sorted it!
Chris.
Hello Chris,
On line 32 of html/product.php you will find:
<?php endforeach; ?>Simply REPLACE this with:
<?php break;endforeach; ?>...and then only 1 merchant will be displayed.
Hope this helps!
Cheers,
David.
--
Developer, Price Tapestry
General PHP, MySQL and Affiliate Marketing tech help for Price Tapestry customers at davidmorison.com