VirtueMart Forum

VirtueMart General => Commercial Jobs => Topic started by: SL on April 11, 2015, 17:04:09 PM

Title: Remove "shipping information form" from checkout process
Post by: SL on April 11, 2015, 17:04:09 PM
Hi all!

I've finished 99% of the site which should serve as a "quote" webshop (so nothing is bought via shop, but products added to the cart are actually sent to us and we then create an offer). It's not used as a catalogue though.

I've adjusted billing information entered during checkout to serve as a customer information for our offer, but we don't need shipping information. We already created shipping option "No shipping" and turned on automatically select... so on the first chech-out page there's no option to select shipping, but on the second page it asks for address, name etc. for shipping. So I just need someone to hack into skipping this step, and from first checkout page (cart overview and billing details) jump to submitting the order, i.e. skip asking for shipping information.

Who could help me? :)

Joomla version: 2.5.20
PHP version: 5.4.39
VM version: 2.6

Title: Re: Remove "shipping information form" from checkout process
Post by: GJC Web Design on April 11, 2015, 17:40:41 PM
In the std VM checkout workflow shipping address is never specifically asked for as a "stage"

have you a 3rd party OPC installed or template over rides for the check out?
Title: Re: Remove "shipping information form" from checkout process
Post by: SL on April 11, 2015, 17:55:53 PM
Regarding 3rd party OPC, I'm not sure, I don't think so. Template override, possibly. I'm not an expert in VM, programming is not my specialty, and I've used quickstart package as a base for this website. Are you interested in giving a look into the situation? If so, send a message to my inbox.
Title: Re: Remove "shipping information form" from checkout process
Post by: tuhinkmoitra on June 17, 2015, 18:29:36 PM
I had used VirtueMart3.0.9_Joomla_2.5.28-Stable-Full_Package . I need removed shipment address . Because My product was online service . So shipment address is not need .

Please help me how can removed or disable is function .

Regards
Title: Re: Remove "shipping information form" from checkout process
Post by: Studio 42 on July 11, 2015, 01:17:11 AM
Hi,
Remove the button from this file YOURSITE\components\com_virtuemart\views\cart\tmpl\default_address.php
(or make an override)
The code depend virtuemart release but looks like :

<a class="details" href="<?php echo JRoute::('index.php?option=com_virtuemart&view=user&task=editaddresscart&addrtype=ST&virtuemart_user_id[]=' $this->cart->lists['current_id'], $this->useXHTML$this->useSSL?>" rel="nofollow">
<?php echo vmText::('COM_VIRTUEMART_USER_FORM_ADD_SHIPTO_LBL'); ?>
</a>

Greets,
Patrick

Quote from: tuhinkmoitra on June 17, 2015, 18:29:36 PM
I had used VirtueMart3.0.9_Joomla_2.5.28-Stable-Full_Package . I need removed shipment address . Because My product was online service . So shipment address is not need .

Please help me how can removed or disable is function .

Regards