News:

Support the VirtueMart project and become a member

Main Menu

Customfields price not updating

Started by Zegenrijk, May 14, 2024, 13:47:16 PM

Previous topic - Next topic

Zegenrijk

Hello,

After updating to Joomla 5.1.0, VirtueMart 4.2.10 11010 the price field on the productdetails page is not updates when chosen an option with a price addition.
I took a standard htaccess, i disabled template overrides, was not a solution.

I'm using also Customfielsforall (breakdesigns.net), i asked there first thinking it has something to do with this plugin. The developer said:
The http request for updating the product price returns that:

{"error":true,"code":404,"message":"View is niet gevonden [name, type, prefix]: Productdetails, json, virtuemartView"}


This is a request done by VM for any type of custom field.
You can try on your own:
https://www.xxx.nl/index.php?option=com_virtuemart&view=productdetails&task=recalculate&format=json&nosef=1&lang=nl

To me seems like an error with routing.I think that breaks when the format=json exists in the url.As said, this is a core VM process and a VM url and has nothing to do with our extension, hence i cannot provide much help.

How to solve?

Regards Michel

Milbo

Strange thing, it says view not found, but the view is clearly there (productdetails). You just posted the default url for updating a product.

You page cannot be browsed xxx.nl does not exist.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Zegenrijk

Hello Milbo,

The xxx.nl i added. I don't want the domainname on a forum. How can i send it to you?

Regards Michel

Milbo

The reason is simple, you added imho www.xxx.nl in your joomla config, but your page is without www. So the js cannot work.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Zegenrijk

Hello Milbo,

I cannot find this configuration. In the Joomla config it's www. and every page i see displays with www.

How to solve?

Regards Michel

Zegenrijk

Solved with the update to 4.2.12 11014

AH

Thank you for letting the forum know this is solved
Regards
A

Joomla 4.4.5
php 8.1