VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Shipping Modules => Topic started by: jmccann on October 17, 2007, 16:27:27 PM

Title: How do I display one Shipping method in standard shipping module?
Post by: jmccann on October 17, 2007, 16:27:27 PM
Hi,

Im using ovelapping Zip Codes/Post Codes and becuse of this I get two Shipping Methods displayed.
I'm not that php savvy and not sure what part of coding to change. How do I get just the first Shipping method displayed?

I think its in the function (?) :
while($dbr->next_record()) {

around line 63  that needs to get changed.

Here is the displayed output:

Please select a Shipping Method!
  Shipper Shipping Rate Price
Standard Highlands > 10KG       £47.80(EUR € 70.88)   
Standard UK Mainland > 10KG    £17.25(EUR € 25.58)