VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Zegenrijk on May 14, 2024, 13:47:16 PM

Title: Customfields price not updating
Post by: Zegenrijk on May 14, 2024, 13:47:16 PM
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
Title: Re: Customfields price not updating
Post by: Milbo on May 16, 2024, 23:28:26 PM
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.
Title: Re: Customfields price not updating
Post by: Zegenrijk on May 17, 2024, 10:01:53 AM
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
Title: Re: Customfields price not updating
Post by: Milbo on May 22, 2024, 11:26:08 AM
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.
Title: Re: Customfields price not updating
Post by: Zegenrijk on May 28, 2024, 10:03:57 AM
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
Title: SOLVED Customfields price not updating
Post by: Zegenrijk on June 03, 2024, 11:54:20 AM
Solved with the update to 4.2.12 11014
Title: Re: Customfields price not updating
Post by: AH on June 03, 2024, 12:15:02 PM
Thank you for letting the forum know this is solved