VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: tomshirvo on January 19, 2012, 11:23:51 AM

Title: checkout As Guest
Post by: tomshirvo on January 19, 2012, 11:23:51 AM
Hi People,

I am trying to do something a little different,

My boss wants me to make it so that i have check Out as Guest in the menu bar.

What I have done so far is make the cart into a new module that will work in the menu bar.

I have got a button with it called Checkout As Guest and when pressed it opens up a div that I want the fields for checkout as guest to be inside. When i copy and paste the edit_address into the div it comes up with a php error saying $this is not defined.

Can anyone tell me how to fix this problem or a better way to get the checkout as guest to go into this div of mine.

What needs to happen is it needs to go into this div and then they click checkout once they fill in their details and it will go to the payment page like it does normally.

Thanks in advance