VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: GroSto on February 24, 2012, 12:06:35 PM

Title: Remove SHIPPING Address Requirement
Post by: GroSto on February 24, 2012, 12:06:35 PM
Hi, I want to remove shipping address thing from checkout page because for my customers, billing and shipping address are always same. BUT I just want to remove that thing from showing in checkout page. Customers get confused. Help me.
Title: Re: Remove SHIPPING Address Requirement
Post by: PRO on March 30, 2012, 22:33:30 PM
views/cart/tmpl/shopper_addresses.php


remove

    <td width="50%">
         <?php
         if(!empty($this->STaddress['fields'])){
            foreach($this->STaddress['fields'] as $item){
               if(!empty($item['value'])){
                  echo $item['title'].': '.$this->escape($item['value']).'<br/>';
               }
            }
         } else {
            foreach($this->BTaddress['fields'] as $item){
               if(!empty($item['value'])){
                  echo $item['title'].': '.$this->escape($item['value']).'<br/>';
               }
            }
         } ?>
   </td>



BUT:::: do a template override
http://forum.virtuemart.net/index.php?topic=90935.0