News:

Looking for documentation? Take a look on our wiki

Main Menu

Can not add custom fields in product backend

Started by ingnino, September 27, 2015, 05:47:43 AM

Previous topic - Next topic

ingnino

Hello, I have no idea why I can't add custom fields that I created. When I select one custom field from the dropdown list nothing happens.
Im using VM 3.0.10 and Joomla 3.4.
I need some help please.

balai

In my case this happened because the server response was in invalid json format.
A layout modification or a plugin was modifying the server response.

You can check that by checking the server response after you select a custom field. If you see a div or something like that at the end, it's that.
Then check your files to see where this comes from

Studio 42

press F12 in chrome or firefox.
Look for server response. If you have an error 500, mostly in the response preview you get more details.
If some VM plugin add code to the response, this can break the returned response.
Check your php error log file. sometime your server is set to view all error(you have many chances to have a warning error)
You can force, in Joomla setting, to not display error, this have 80% change to solve the problem.

ingnino

Thanks for your for help.

Im not an expert but I tried to do what you guys told me and this is what I found:





There is a div error, but I dont know how to fix that. Can you please tell me how?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ingnino


Studio 42

Hi,
This is not important(i mean),  it's only a missing image
open the Network tab and click on XHR
Now try your customfield dropdown list and check the response.
(you should see a new link in this tab,when you select something).
If you have a bad request, you should see a 500 error.
Click on the XHR response to see details in the browser console(you need to click preview tab in some browser)

ingnino

Hi, it seems that when the site is offline cant add custom fields, but when I set it online starts to work propertly.

I'll do some more tests and Ill let you know.

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/