Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 zoldos 12-03-2021 03:31:43

I want to make my store "digital only", so it doesn't ask customers for shipping/billing info during check out or account creation, and only requires name, e-mail, and a password.  I'm pretty sure I can find in the templates where to remove it from the front end, but I'm not so sure about the handler/form back end code.

Can you point me in the right direction?  Thanks!

#2 msworld 16-03-2021 03:55:22

Their might be lots to change, so your best bet might be to remove the boxes in the template and add hidden boxes with values so they pass the validation.

checkout-payment.tpl.php is the template file.

So, for example, remove a shipping box and make it hidden:

<input type="hidden" name="ship[1]" value="some value">
#3 zoldos 16-03-2021 06:13:05

Cool, exactly what I wanted to do.  Thanks again David!

#4 msworld 16-03-2021 06:50:53

No problem. The checkout system is getting a bit of an overhaul in 3.9. I'm moving everything to a single page, so I'll see about adding the digital switch.

#5 zoldos 16-03-2021 08:09:44

Nice.  I might not even upgrade though, as I've custom modded my personal templates quite a bit! lol

#6 msworld 16-03-2021 08:16:23

I'll probably wait on second thoughts. There is a lot going on with the checkout options. So, I'll just create a new dev branch and keep it out for now.

There's no real need for billing fields, I added those because of some gateways, but the gateways that don't send billing data back have been removed. I'll have a think about it. 3.9 isn't ready just yet.

#7 zoldos 16-03-2021 08:33:18

Cool.  I've got mine all ready, digital only, as well as some other small edits. smile

#8 msworld 16-03-2021 10:31:43

Cool.

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2021 Maian Script World & David Ian Bennett.

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software