News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Custom Field selections not being saved with order

Started by Deathcake, October 24, 2014, 01:45:38 AM

Previous topic - Next topic

Deathcake

Virtuemart 2.9.9e
Joomla 2.5.27
PHP version 5.4.32
Template Gavickpro Instyle2
url http://maxs.nf
Using SEF

Hi guys,
I'm having a bit of a problem where products that have custom field drop down selections, for selecting things such as shoe Colour or Size, or perfume bottle size, and the drop down appears fine for the product in the front end, and can be selected by the buyer, but when the order is saved into Virtuemart orders, and the order confirmation email, the custom field selection is not included.
Every other part of the ordering process is working fine, just the custom field selection is not included with the order.
It does not appear in either the back end Virtuemart Orders area, nor the email that is sent to the purchaser or shop administrator.
The work around at the moment is to receive the order and then email the buyer to confirm the custom field selection, but this isn't ideal.

Any ideas what might be the cause of that please?

(One thing I have also noticed is that when I click in to check the details for an order in the Virtuemart backend, I get a message "vmError: getOrderStatusName: couldnt find order_status_name for " appear at the top, but everything appears to work fine, so not sure what that error is referring to. I doubt that this would be related to the Custom Field not saving with order problem)

Many thanks.

edit; added php version, live site url, site template

John2400

Hi,


Might be an idea to update to version f. Version g you might find an issue with custom fields again.

Deathcake


Deathcake

#3
OK I've updated to 2.9.9f and will test it to see if it is now including the custom fields with the order emails and virtuemart orders page.

One question, what is the 2.9.9.2 that is available for download?
Is it worth trying that upgrade, or does that one only support Joomla 3 or something? (Bearing in mind, I am using Joomla 2.5.27)

edit; I've also noticed that the Joomla control panel "Extensions updates" thing lists AIO 2.9.9.1 as an available upgrade.

cheers


jenkinhill

2.9.9.2 is the current public test version. It works on J2.5.x & J3.x     

2.9.9.3 will probably be the next version to test.
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

Deathcake

#5
OK thanks.

FYI I have tested using 2.9.9f and it did not help with the custom fields not displaying in the backend with the order (Virtuemart - Orders), nor the order confirmation email.

Which of the vm_order tables should hold the custom field information? I would like to check if the custom field selection is making it as far as being saved into the database at all.
Perhaps it is just not reading the information correctly, but perhaps the data is actually being saved into the database.

Also, the 2.9.9f appears to have mucked up the shopping cart a bit.
The actual shopping process works OK, but when you click on Show Cart it is like it has lost the template setting or using an incorrect layout file or something. It displays the cart, but in the wrong place.
This has carried over, even after restoring back to the full site backup I made with Akeeba backup on the 2.9.9e virtuemart before upgrading to 2.9.9f

edit; actually it appears to be something with the SSL certificate. If I have the option ticked "Use SSL for sensitive areas" in virtuemart, then the cart displays incorrectly.
However if I untick that option, the cart displays just fine. Weird.
If it is turned on I get an error in the address bar "This website does not supply identity information" and the cart displays incorrectly, even after restoring the 2.9.9e backup

edit2; OK the reason that the cart is displaying incorrectly with that message from above is that when loading the cart, everything EXCEPT the logo image is being loaded using https, while the logo image is loading via http. This is resulting in a Mixed Content page. Somehow I gotta get that logo on the cart page loading via https, not http

edit3; OK I have fixed it. When I restored the backup the first time, the way Akeeba works if you don't know is it over-writes existing files with files from the backup. However if a file exists after the upgrade that was not there when the backup was made, nothing happens to those files. I can only assume that this was the case.
To fix it, I deleted every file and dropped all tables, copied the backup file back over and restored it, and restored the database backup, and all is working again back at 2.9.9e.
I can only guess that there were some files left over from 2.9.9f that did not exist in 2.9.9e, so there were some left over bits that caused the problem.