Hi,
There is an another way to fix this issue. It is a little hard way, but it is somehow better than touching the "Shoppers Field" section (it is very easy to mess things up if you touch the shoppers field).. or maybe some people can't figure what that extra text string comes from..
So, here is the solution..
1- open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/cart/default_pricelist.php
2- find this line:
if (!$checkUserFields && $user->guest) {
3- and replace with this;
if ((!$checkUserFields || $checkUserFields != 'Shipment') && $user->guest) {
4- So the LOGIN panel
will be displayed even if you have "default" value (i.e: shipment) for any shopper field.
5- open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/cart/default_address.php
6- find this line:
7- and replace with this;
if ($checkUserFields != 'Shipment' && $checkUserFields) {
8- So the ADDRESS panel
won't be displayed even if you have "default" value (i.e: shipment)
FYI: Change the
Shipment to whatever text/string you are seeing in the shopping cart page. Some people gets "Shipment" but yours might be different. This method works for all scenarios.
FYI #2: This is a case-sensitive operation. So, try both "Shipment" and "shipment". The string must be exactly what is printed on your shopping cart page.
Regards.