VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: EvanGR on February 21, 2015, 20:45:17 PM

Title: One page checkout (built-in), guide?
Post by: EvanGR on February 21, 2015, 20:45:17 PM
Hey guys,

I am looking to build a cart template utilizing the VM One page checkout. The built-in function you can enable from the backend. Unfortunately, information is hard to find, I only bump into 3rd party extensions.

Subquestion: I am on VM 2.6.x at the moment. Has this function further improved in V3.0.x?

Any pointers to the right direction appreciated.

Thanks!
Title: Re: One page checkout (built-in), guide?
Post by: jenkinhill on February 21, 2015, 23:34:57 PM
VM3 uses sublayouts to improve the template structure.
Title: Re: One page checkout (built-in), guide?
Post by: GJC Web Design on February 22, 2015, 11:07:38 AM
Also very unclear what you are asking?  If you want to build a template start with the ones provided and work from there .. What "info" are u looking for?
Title: Re: One page checkout (built-in), guide?
Post by: EvanGR on February 22, 2015, 17:05:55 PM
Thank you people!

For the moment, I am assigned to "enhance" an existing VM2.6 shop with an existing (older) template. I want the checkout to be all in one page, including user registration, billing and shipping info. I will take care of the styling.

If I enable the built-in "one page checkout", nothing happens to the cart. Which I assume is because the template doesn't support it. So I am looking for some reference code on how to add it myself.

Thanks again!
Title: Re: One page checkout (built-in), guide?
Post by: GJC Web Design on February 22, 2015, 20:56:44 PM
why not d/L and install the http://dev.virtuemart.net/attachments/download/880/VirtueMart2.6.14_Joomla_2.5.27-Stable-Full_Package.zip and all will be revealed
Title: Re: One page checkout (built-in), guide?
Post by: EvanGR on February 24, 2015, 19:29:39 PM
GJC,

Thanks, I installed the official VM3.0.6 + J2.5.28 full package to check it out (clean installation + the demo data). The "one page checkout" option was enabled by default.

When I go to the checkout, the "Bill to" and "Ship to" forms still require you to visit a different page to fill them out. You have to click on the "Add/Edit billing address information" button and go to a different page and once you do that, you return back to the cart.

Is this how it's supposed to work? I was hoping to have the Bill to/Ship to forms on the cart page. Is this possible without a 3rd party extension?

Thanks
Title: Re: One page checkout (built-in), guide?
Post by: AH on February 24, 2015, 19:41:17 PM
Correct

You need a plugin to handle it all on the same page

This one looks pretty functional and well maintained and he is very quick to handle and queries and issues

https://www.rupostel.com/index.php?Itemid=79&option=com_virtuemart&product_id=1&page=shop.product_details&flypage=flypage.tpl (https://www.rupostel.com/index.php?Itemid=79&option=com_virtuemart&product_id=1&page=shop.product_details&flypage=flypage.tpl)
Title: Re: One page checkout (built-in), guide?
Post by: GJC Web Design on February 24, 2015, 22:36:48 PM
rupostel is good with excellent support  - my only warning would be it is very complex if you need to change how it works/renders

has 6-7 different templates out of the box