Hi experts:
Jommla 3.6
VirtueMart 3.0.18
In our site web site, if user is not login, the default country will still set as France,
I had check in Admin/ virtuemart/ configuration/ custom filed/ virtuemart_country_id
had set no default value and also in database SQL has no default value set as well
please see this link: https://www.florihana.com/en/view-your-cart-content.html
we can see Bill to information has show France even user has not login
could any one help if had the same experience?
thank you so much
Why the heck do you not use vm3.2.4?
Hi Mibo,
That's good question, I had tried once and the site had bit problem in checkout page
so I restore back
But I think this is necessary to update;;;
And also I found the solution ( but still dont know why the problem from)
in your templte/html/com_virtuemart/cart/default_address.php
to generate Bill address part
foreach ($this->cart->BTaddress['fields'] as $item)
I had add this:
if($this->cart->user->virtuemart_user_id==0) break;
so it will not generate any info from database so we will not no longer see the country string: France
thank you