Author Topic: cant add and save any info when editing Shopper. Cant add Shipment Addresses - it just don't save.  (Read 18942 times)

arnask

  • Beginner
  • *
  • Posts: 30
Hi,

cant add and save any info when editing Shopper. Cant add Shipment Addresses - it just don't save.
Weird window opens when trying to add Shipment Address. See attached file.   

Using J1.7.3 and VM2 RC3 N ...K
Firefox 8.0

Arnas

[attachment cleanup by admin]

arnask

  • Beginner
  • *
  • Posts: 30
and another one...

when editing Order and trying to Update Status, part of Edit Order Item window is blocked by Order status changing drop down. See attached file.

[attachment cleanup by admin]

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10404
  • VirtueMart Version: 3+
and another one...

when editing Order and trying to Update Status, part of Edit Order Item window is blocked by Order status changing drop down. See attached file.


what browser is that with? mine isnt like that
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

arnask

  • Beginner
  • *
  • Posts: 30
what browser is that with? mine isnt like that
Firefox 8.0

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10404
  • VirtueMart Version: 3+
what browser is that with? mine isnt like that
Firefox 8.0

You dont have many fields in your user details, so that part of the layout is a lot "shorter".

On mine I have 4 or so more fields, which pushes the rest down
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

arnask

  • Beginner
  • *
  • Posts: 30
ok, but what about shopper info not saving?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10040
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
This is afaik fixed,... the problem is that there is a key which should be char and not auto increment. sometimes the updater does not handle that correctly.
Take a look on your table virtuemart_userinfos and on this `virtuemart_userinfo_id` field, it must be " CHAR(32) NOT NULL DEFAULT '', " not int, not autoincrement, then it should work. 
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

themichaelminer

  • Beginner
  • *
  • Posts: 14
Try closing and restarting your browser. I was just having an issue when using Firefox and I was trying to upload product images and save them. The save button wouldn't work and when I clicked on the tabs to navigate to the different product info tabs it wouldn't do anything. So I tried in Safari and it worked, then I closed Firefox and restarted and it worked just fine.

gkolomvos

  • Beginner
  • *
  • Posts: 45
This is afaik fixed,... the problem is that there is a key which should be char and not auto increment. sometimes the updater does not handle that correctly.
Take a look on your table virtuemart_userinfos and on this `virtuemart_userinfo_id` field, it must be " CHAR(32) NOT NULL DEFAULT '', " not int, not autoincrement, then it should work.

I have Joomla 2.5.4 and VM 2.0.6 and the problem is still here and it is not solved modifying the type of virtuemart_userinfo_id field

I still cannot add a new shipment address for any shopper, neither from the back-end (logged in as admin) nor from the front-end (logged in as the user himself).
When i tried to insert manually (by phpmyadmin), a new record in the table virtuemart_userinfos, with address_type ST (Shipment Type), then VM Front-End and Back-End recognised that new record as an additional shipment address and it shows it normally.

I think that the problem is that the code of VM2 that is meant to insert the new record of the additional shipment address, in the table virtuemart_userinfos, is broken...

Milbo do you have any suggestion please?

Giorgos Kolomvos
Georgios Kolomvos
Patras, Greece

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10040
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
hm?

The situation is now the opposite. We have for `virtuemart_userinfo_id` now INT. Please just try version 2.0.7http://forum.virtuemart.net/index.php?topic=102143.msg340192#msg340192
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

gkolomvos

  • Beginner
  • *
  • Posts: 45
hm?

The situation is now the opposite. We have for `virtuemart_userinfo_id` now INT. Please just try version 2.0.7http://forum.virtuemart.net/index.php?topic=102143.msg340192#msg340192

Milbo, thank you for your immediate response.
I downloaded and installed versions 2.0.7 and 2.0.7.b of Virtuemart but nothing changed.
Unfortunately it is still imposible to add multiple shipment addresses from the front or the back end of VM2
The only way to insert additional Shipment addresses for a shopper is by using an SQL statement in phpmyadmin, for example:

Code: [Select]
INSERT INTO `xxxxxx_virtuemart_userinfos` ( `virtuemart_userinfo_id` , `virtuemart_user_id` , `address_type` , `address_type_name` , `name` , `company` , `title` , `last_name` , `first_name` , `middle_name` , `phone_1` , `phone_2` , `fax` , `address_1` , `address_2` , `city` , `virtuemart_state_id` , `virtuemart_country_id` , `zip` , `agreed` , `created_on` , `created_by` , `modified_on` , `modified_by` , `locked_on` , `locked_by` )
VALUES ( 6, 45, 'ST', 'My brother\'s house', '', '', 'Mr', 'Smith', 'John', '', '6234567890', '', '', '5, Dimitriou St.', '', 'Athens', 521, 84, '52345', 0, '2012-05-09 14:58:40', 45, '2012-05-09 15:10:55', 45, '0000-00-00 00:00:00', 0 ) ;
(change xxxxxx to your database prefix)

Then the newlly added shipment address is shown both in the front and the back end of VM2 and it can be modified, selected for an order, etc.

Adding multiple shipment addresses for shoppers, is a very important feature for some projects , please have a look to it.
Georgios Kolomvos
Patras, Greece

rupesh

  • Jr. Member
  • **
  • Posts: 113
hello

sorry but i have tested now completely on multiple shipping address and its working !
ya this is very important feature

what i have tried i will explain you

when you are order a product for that session we can create multiple shipping address ! but they are stored into database permanantly! after your logout they will not disappear ! in my case they are stored in database only thing is we have to select it by clicking on add/edit address! I think in virtuemart we have two separate button for add new address and edit exixting address to avoid confusion!  otherwise in my case select multiple shipping address is working perfectly!

see the attachments

[attachment cleanup by admin]

gkolomvos

  • Beginner
  • *
  • Posts: 45
...we can create multiple shipping address ! but they are not stored into database permanantly! after your logout they will disappear !

The correct behaviour of "add Shipment Address" would be to save these multiple addresses permanently in the Data Base, so that if the shopper buys again he could choose one of his saved addresses.
And as i said, if you create multiple addresses using the SQL statement that i gave at http://forum.virtuemart.net/index.php?topic=94939.msg340242#msg340242 then these addresses behave exactly this way.
So there is a bug here: VM 2.0.6 cannot save multiple shipment addresses for shoppers although it is supposed to do so.
Georgios Kolomvos
Patras, Greece

gcomo01

  • Beginner
  • *
  • Posts: 9
Hi guys,

gkolomvos is totally right. You cannot add a shipment address (one or multiple) through the front or back end. As he pointed out if one or multiple records are inserted through SQL in the db (address type 'ST' and so on)  it works fine..
I had another post regarding this but noticed that when trying to add/edit shipment address for the logged user the link always points to editaddresscartST?new=1&cid[0]=43 (43 .. is userid of logged user but for any user happens). So always sees it as if the cart's ST address is being added/edited. I think it should link to editaddressST or something instead of editaddresscartST   (leave alone cart since it is for logged shopper shipment address maintenance purposes). Maybe the problem lies on the com_virtuemart/router.php user case ?
Anyone has any solutions. greatly appreciated.
thx
G

joomla 1.7.3 vm 2.0.6


gcomo01

  • Beginner
  • *
  • Posts: 9
Hey all,
BTW just noticed in the router.php the line:

elseif ($query['addrtype'] == 'ST' && $query['task']='editaddresscart') $segments[] = $helper->lang('editaddresscartST') ; //notice one equal instead of 2 :-)

replaced it with

elseif ($query['addrtype'] == 'ST' && $query['task']=='editaddresscart') $segments[] = $helper->lang('editaddresscartST') ;

now add new shipment loads a blank shipment address form but when saved replaces the BT address for the user .. any ideas anybody ?

thx
G

joomla 1.7.3 vm 2.0.6