VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: hhtmp88 on December 23, 2014, 12:47:33 PM

Title: VM3.0.2: How to disable Shipment Method selection in the Checkout page?
Post by: hhtmp88 on December 23, 2014, 12:47:33 PM
Dear all,

We are servicing company, and no shipment methods are required
-> so How to disable Shipment Method selection in the Checkout page?

Thanks for any kind of help?
Title: Re: VM3.0.2: How to disable Shipment Method selection in the Checkout page?
Post by: GJC Web Design on December 23, 2014, 13:10:58 PM
make a standard VM ship method with 0 cost
make auto select
hide with css
Title: Re: VM3.0.2: How to disable Shipment Method selection in the Checkout page?
Post by: hhtmp88 on December 24, 2014, 05:12:13 AM
Quote from: GJC Web Design on December 23, 2014, 13:10:58 PM
make a standard VM ship method with 0 cost
make auto select
hide with css

There is a default shipment method "Self pick-up", I have make its cost to zero,
but
1. how to "make auto select" ?
2. and "hide with css"?

Thanks for any kind of help!
Title: Re: VM3.0.2: How to disable Shipment Method selection in the Checkout page?
Post by: GJC Web Design on December 24, 2014, 11:24:22 AM
vm config -> checkout->Enable Automatic Selected Shipment?

have no countries, groups etc set for it

hide by css?????

find the div

thedivclass {
display:none;
}
Title: Re: VM3.0.2: How to disable Shipment Method selection in the Checkout page?
Post by: hhtmp88 on December 24, 2014, 12:10:11 PM
Quote from: GJC Web Design on December 24, 2014, 11:24:22 AM
vm config -> checkout->Enable Automatic Selected Shipment?

have no countries, groups etc set for it

hide by css?????

find the div

thedivclass {
display:none;
}
Thanks GJC!
Got it!
-> In VM backend, Go "configuration"
-> click on "Checkout" tab
-> select "Enable Automatic Selected Shipment"

However, which file should I work on to "hide with css"?

Thanks for any kind of help!

Title: Re: VM3.0.2: How to disable Shipment Method selection in the Checkout page?
Post by: jenkinhill on December 24, 2014, 12:37:11 PM
Use Firebug to identify the class & file and then create an override.
http://forum.virtuemart.net/index.php?topic=116620.0
http://docs.virtuemart.net/tutorials/templating-layouts/106-override-vmsite-ltr-css.html