VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: tomrinkes on March 05, 2016, 09:43:48 AM

Title: Custom fields does not work anymore
Post by: tomrinkes on March 05, 2016, 09:43:48 AM
Hello,

For some reason which I cannot find the custom fields does not work, de list is there, I can click on the given custom field but it does not get added to the product page. The older custom fields whom where added early are still their and work but (backend and frontend). The only difference is that the do not added the new price immediately.

I tray turning of java but this has not affect, does anyone know where I should look?

Greetings,
Tom Rinkes

Twr-trading.nl
VM3.0.12
JM 3.4.8

Title: Re: Custom fields does not work anymore
Post by: GJC Web Design on March 05, 2016, 11:29:14 AM
without a link to an actual page with this problem no one can help u...

Having the Fedias template though is a good start..   :)
Title: Re: Custom fields does not work anymore
Post by: tomrinkes on March 07, 2016, 10:15:33 AM
it is the costum page in the backend of my site, i do not think it is possible to give you a link but you know what page I mean do?

Greetings,

Tom
www.twr-trading.nl
Title: Re: Custom fields does not work anymore
Post by: balai on March 07, 2016, 10:38:07 AM
The most possible cause is that there is a plugin or an admin template which distorts the server repsonse after the ajax call.

If you have an addon like firebug you can check what is returned and share it here.

From what i have seen a text is added at the end of the response which makes it useless
Title: Re: Custom fields does not work anymore
Post by: tomrinkes on March 07, 2016, 11:21:44 AM
Hello,

thank you for your answer, can you tell me the name of de tab of data you mean?

Tom
Title: Re: Custom fields does not work anymore
Post by: balai on March 07, 2016, 11:24:19 AM
When you select/click a custom field in the product (Custom Fields Tab) an ajax request is done to the server and the server sends it's response back
Title: Re: Custom fields does not work anymore
Post by: tomrinkes on March 07, 2016, 11:32:21 AM
do you mean this?

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js">
Title: Re: Custom fields does not work anymore
Post by: balai on March 07, 2016, 12:22:02 PM
I don't think so.
Do you have firebug? If yes check it's console after selecting a custom field.
There should be a request. Click it and open the response tab
Title: Re: Custom fields does not work anymore
Post by: tomrinkes on March 07, 2016, 12:44:58 PM
I have firebug

http://twr-trading.nl/administrator/index.php?option=com_virtuemart&view=product&task=getData&format=json&virtuemart_product_id=1727&type=fields&id=5&row=3

301 Moved Permantly error, is this the probleem?
Title: Re: Custom fields does not work anymore
Post by: tomrinkes on March 08, 2016, 13:32:56 PM
de problem was .htacces change

http://forum.virtuemart.net/index.php?topic=131378.0
Title: Re: Custom fields does not work anymore
Post by: tomrinkes on March 08, 2016, 13:34:15 PM
Solved! Thank you.