Post by trixiemay » Wed Dec 16, 2020 10:49 am

I know you can hide the Delivery details panel in the checkout by checking No in the Shipping option under product data. But I wish to have that checked to Yes so I can use the "Cash on Delivery" option in the Payment panel of the checkout. How can I 'hide' the delivery panel without affecting functionality? Thanks.

___________________________________________
"Speak softly but carry a big stick" :crazy:


Active Member

Posts

Joined
Thu Mar 09, 2017 2:53 pm


Post by sw!tch » Wed Dec 16, 2020 1:58 pm

COD expects shipping.

Code: Select all

} elseif (!$this->cart->hasShipping()) {
^ You could just remove the conditional elseif statement from the COD model that pertains to shipping.

Otherwise there is probably stuff on the marketplace that will do what you need.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm
Location - USA

Post by Johnathan » Thu Dec 17, 2020 12:19 am

Hide Checkout Steps steps can do this. You can hide any of the steps except the billing address (which is necessary for the checkout to function) and the Confirm step. They are processed in the background, so it will keep any functionality you have in the step, as long as you don't need any choice to be made in that step.

Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any further questions.

Image
Image Image Image Image


User avatar
Global Moderator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 16 guests