News:

Support the VirtueMart project and become a member

Main Menu

Adressfields in cart not showing

Started by Otto0815, November 26, 2019, 14:24:06 PM

Previous topic - Next topic

Otto0815

Hi there,

i'm using Joomla 3.9.13 and Virtuemart  3.6.8.10197

I'm just trying to update from and old VM 3.0.18 installation and ran into trouble with my (not continued OPC) Solution.

In the Cart the input fields for the adress are not shown, everything else is working fine.(Even the Names of the fields like email, name, usw are showing)

I found out that in /components/com_virtuemar/helpers/cart.php  Line 464 does change this behavior.....in other words, if i delete the following:

"if($update or empty($this->{$addresstype}))"

everything works fine...

Maybe someone can point me in the right direction where i can start searching...

thx

Otto0815

ok, it looks like i only have to change:

foreach($this->helper->BTaddress["fields"] as $_field) {

to

foreach($this->userFieldsCart['fields'] as $_field) {

Otto0815

While it seems to work first, it doesnt work like intendet, because there is no difference between Billto and Shipto....

How can i call the BillTo and ShipTo fields?