VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: udjamaflip on March 19, 2009, 17:38:57 PM

Title: Shipping rates and Shipper (two big bugs with 1.1.3?)
Post by: udjamaflip on March 19, 2009, 17:38:57 PM
Hi all,

Thought this should be raised to peoples attention:

1) If you are in extended layout and click on "shipping" -> "shipping rates" and then click on one of the rates to edit it, it opens the new ajax tab but you cannot click on it to edit the shipping rate, this can be rectified by swapping to simple layout.

2) Click on "shipping" -> "shipper" it seems there is a bug when trying to create a new one or edit an existing one (This might not be a bug, if so please tell me) when typing the name of the shipper it only dsplays the first letter of the name on the front end (and the backend when you press 'save') this happens if a string is turned into an array quite often. So if I type 'Royal Mail' it will save it as 'R' is this intended? If so how can I fix it?
Title: Re: Shipping rates and Shipper (two big bugs with 1.1.3?)
Post by: Tryer on March 24, 2009, 14:56:52 PM
Problem 2 - This is not my work but appears elsewhere on these forums. It worked OK for me so thanks to the author. Note that the change must be made in two lines.

Go to: administrator/components/com_virtuemart/classes/ps_shipping.php
change the WRONG line 113 and 138 ($fields = array( 'shipping_carrier_name' => vmGet($d["shipping_carrier_name"]),) with this line:
$fields = array( 'shipping_carrier_name' => vmGet($d, 'shipping_carrier_name'),
And the Shipping list will be OK...Massimo
Title: Re: Shipping rates and Shipper (two big bugs with 1.1.3?)
Post by: michiganmedia on March 25, 2009, 16:39:33 PM
We found this same bug IN VM testing on 1.1.3 Joomla version 1.5.9 and we fixed it like stated her in the forum. 

I hope it gets fixed in next version.   
Title: Re: Shipping rates and Shipper (two big bugs with 1.1.3?)
Post by: aravot on March 25, 2009, 17:42:58 PM
This was fixed in SVN.
Title: Re: Shipping rates and Shipper (two big bugs with 1.1.3?)
Post by: EquiProVM on April 21, 2009, 20:11:58 PM
What is "SVN"?  I am trying to correct the same problem without much luck.  I have the latest version of both Joomla and VM.
Title: Re: Shipping rates and Shipper (two big bugs with 1.1.3?)
Post by: aravot on April 21, 2009, 20:16:55 PM
Googling for SVN http://en.wikipedia.org/wiki/Subversion_(software)
Title: Re: Shipping rates and Shipper (two big bugs with 1.1.3?)
Post by: littlemissfifi on May 25, 2009, 10:58:38 AM
Thanks Tryer.

This has worked for me too!