News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[SOLVED] "Bill to" showing when clicked on Edit Shipping Information

Started by mrtechguy, October 07, 2013, 16:28:18 PM

Previous topic - Next topic

mrtechguy

Hi All,
I have found a bug where when in the cart you click on Add Edit Shipping information the header on the page actually displays "Bill To" (see attachment).

Just wondering whether this is a known bug, as it is quite confusing for people who are placing orders as they believe they are modifying the wrong details.

Thanks
mtg

[attachment cleanup by admin]

mrtechguy

I have narrowed the bug down to the variable $field['title'] in the edit_address_userfields.php file. I cannot seem to find where this array is filled from. Could anyone please point me in the right direction. It seems to fill all other fields correctly apart from the Ship To one.

Thanks,
mtg

PRO

edit_address.php

this should should the right info. is it not working?

   <h2><?php
      if ($this->address_type == 'BT') {
         echo JText::_ ('COM_VIRTUEMART_USER_FORM_EDIT_BILLTO_LBL');
      }
      else {
         echo JText::_ ('COM_VIRTUEMART_USER_FORM_ADD_SHIPTO_LBL');
      }
      ?>
   </h2>

mrtechguy

Hi Pro,
The lines you are referring to modify the first header (highlighted in red) as opposed to the issue header (which is highlighted in green).


Thanks,
mtg


PRO

look in user fields, and look at the "delimeters" to make sure its not assigned to shipping page

mrtechguy