VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: geoele on January 04, 2016, 15:14:34 PM

Title: First checkout step clean basket
Post by: geoele on January 04, 2016, 15:14:34 PM
Hello guys. I want to remove the "bill to" button and the "edit shipment" button from the first step of the four steps on checkout form on VM3 J 3 and i dont now how.

Pls help.   
Title: Re: First checkout step clean basket
Post by: jenkinhill on January 04, 2016, 15:46:06 PM
If you remove the "bill to" then how are non-registered shoppers going to register to initiate checkout?
Title: Re: First checkout step clean basket
Post by: geoele on January 04, 2016, 15:55:14 PM
Hello and thank you for your answer. To the second step with the registration form. 
Title: Re: First checkout step clean basket
Post by: GJC Web Design on January 04, 2016, 17:01:02 PM
I do it by

if ((!empty($this->cart->BT) && count($this->cart->BT) >=1)){
         echo $this->loadTemplate ('address');
         }

then have a button -> 

<div id="chknow" class=" chknow <?php echo $shownext; ?>">
    <a href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=user&addrtype=BT&task=editaddresscart'); ?>" class="button reverse">Login / Register ></a>
   </div>

see  https://www.4wdpartshop.com.au
Title: Re: First checkout step clean basket
Post by: geoele on January 04, 2016, 17:29:32 PM
Thank you GJC Web Design bat pls provide me in who file in to the card.php? And for the record your show the card button in popup window is not working is return to the product detail page, not to card. Can you send me the cart overides files pls?
Thanks.
Title: Re: First checkout step clean basket
Post by: geoele on January 04, 2016, 19:07:37 PM
GJC Web Design the code that you gave me It does exactly what I want. Thank you, thank you, Thank you.