You are here:  » Limit the best price to one store

Support Forum



Limit the best price to one store

Submitted by kiddaclo on Tue, 2010-01-19 14:25 in

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

Submitted by support on Tue, 2010-01-19 14:35

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.

Submitted by kiddaclo on Tue, 2010-01-19 14:35

I might be wrong but I think it only shows 2 merchants when the price is zero

Submitted by support on Tue, 2010-01-19 14:37

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.

Submitted by kiddaclo on Tue, 2010-01-19 14:40

Cheers David, yep I think we did cross post, that's sorted it!

Chris.