VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: dan40 on March 23, 2023, 21:53:48 PM

Title: Allowing ONLY electronic downloads and no physical address
Post by: dan40 on March 23, 2023, 21:53:48 PM
Hi, I just set up VirtueMart and have two pressing questions - how do I disallow registrations where the user is asked to enter his physical address, and how do I set up my site to allow ONLY electronic downloads?

Thanks for your help!
Title: Re: Allowing ONLY electronic downloads and no physical address
Post by: jenkinhill on March 25, 2023, 16:55:34 PM
You will require customers to enter a billing address fo payment purposes, and then set the shipping address to be the same as billing.

To remove references to shipping address on the cart page you could edit and override the file at /components/com_virtuemart/views/cart/tmpl/default_address.php  eg to hide the output-shipto-display div.

You can remove any fields you do not require in the bill/ship-to address using the shopper fields list editor (under the configuration menu)

Setting the store for downloadable files is best accomplished using the shipment-for-virtual-products plugin  https://extensions.virtuemart.net/checkout/shipments/shipment-for-virtual-products-detail