News:

Looking for documentation? Take a look on our wiki

Main Menu

Cannot delete fields from orders

Started by capewellmj, May 05, 2014, 22:50:36 PM

Previous topic - Next topic

capewellmj

Hello

I have found a bug with VM 2.6.0 Joomla 2.5.20.

When I go into the orders in the backend. If I try to delete a field name and click save it does not delete it. The name pops back up again after I click Save Order Head.

If I try to update the fields name however it WILL update to something. I just I cannot delete the name completely.

This is true of fields that are not required such as Company and Address 2 fields.

Can someone help me fix this bug.

Martin


Milbo

Thank you, found and fixed in both versions (vm2.6 and vm2.9)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

capewellmj

Wait, no it still doesn't work.

Martin

Milbo

Works for me. I replaced an !empty against an Isset

can someone else test?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

capewellmj

I deleted Address line 2. Saved order head, and the name popped back again for me.

Martin

jenkinhill

I can delete fields in orders, save, and they are gone. So works fine. VM2.6a
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

capewellmj

Ok I just realized it was the Ship To side of the addresses. I can update the billing address fields now but not the shipping address fields.

Can you test that?

Martin

jenkinhill

#9
OK in shipping  address I cannot delete an entry, only edit it. And if I add content to a previously empty field & save then that entry cannot be deleted, just edited.

But then I ask "Why would I want to delete a shipping field?"If I don't ant an entry to display I can just replace it with a single space. Then the entry "vanishes".
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Milbo

at least a workaround, thanks for testing.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/