Page 1 of 1
Replace checkout steps with a simple email form
Posted: Wed Jun 08, 2011 10:40 pm
by b&p
Dear community,
i am new here. I have been working on this project using Opencart (I am currently on 1.4.9.5)
I have done some custom edits; I also utilize some mods - including Options Plus Redux and Request a Quote.
Everything is mostly wonderful. However, I would be really happy if I could achieve the following:
Using Request a Quote system by Q, when user clicks on "Inqiure" link, log-in page and, subsequently , guest checkout steps are showing.
I would like to have a simple form for user to provide his name and email, then click submit. That's all.
No log-in page, no checkout.
Any advice would be greatly appreciated!
I'm sure, for those seasoned OC developers around here it's not very difficult.
Thanks in advance for any input.
Re: Replace checkout steps with a simple email form
Posted: Mon Jun 13, 2011 12:47 pm
by b&p
Hi guys, I wrote a vqmod script to address my requirements, I would like to share it here in case someone needs it.
This script is supplementary to Qphoria's "Request a Quote" module
It makes guest checkout less cumbersome (only name and email are required), removes unnecessary Payment Method selection, changes some wording in checkout and emails to reflect "Inquiry" instead of "Order", which hopefully will make it less confusing for the visitor.
Details:
The script does the following:
in catalog/controller/checkout/guest_step_1.php:
changes the required fileds to only include Name, Last Name, email
in catalog/view/theme/default/template/checkout/guest_step_1.tpl:
removes required (*) characters in before form fields
in catalog/language/english/mail/order_confirm.php:
replaces Order %s';
with Inquiry %s';
replaces 'Thank you for your interest in %s products. Your order has been received and will be processed once payment has been confirmed.'
with 'Thank you for your interest in %s products. Your inquiry has been received and will be processed as soon as possible.'
replaces 'You have received an order.'
with 'You have received an inquiry.'
replaces 'Order Details' with 'Inquiry Details'
replaces 'The comments for your order are:' with 'The comments for your inquiry are:'
in catalog/view/theme/default/template/checkout/guest_step_2.tpl:
Hides Payment method selection section.
Replaces 'Add Comments About Your Order' with 'Add Comments About Your Inquiry'.
I run this with vqmod 1.0.9 and Opencart 1.4.9.5
TO INSTALL: upload to /vqmod/xml folder
TO REMOVE: delete the file or change file extension.
Best regards,
B&P
Re: Replace checkout steps with a simple email form
Posted: Fri Dec 09, 2011 1:29 am
by Rainforest
Hi,
this is a perfect idea! I was looking for something like this. However, it does only a bit of what you say.
The quote confirmation email is edited for sure.
However, the required "easy check out" portion doesn't work. My cart
www.intotherainforest.com still requires all the info to be typed in (address etc).
Also, the last line of the suceess page shows, "Thanks for shopping with us online" which doesn't make sense since it's a quote system.
I have vqmod manager install and am showing no errors and your script 'enabled'
Any ideas?
Re: Replace checkout steps with a simple email form
Posted: Sat Aug 24, 2013 9:07 pm
by martinyazigi