VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: EvanGR on May 07, 2021, 13:53:13 PM

Title: Testing the "Thank You" page after successful order
Post by: EvanGR on May 07, 2021, 13:53:13 PM
Hello,

I want to tweak the "Thank you" page, after a successful order (and similar pages)... without going through a test order every time.
Is this possible?

Thanks

PS. What other such pages should I be aware of?
Title: Re: Testing the "Thank You" page after successful order
Post by: jenkinhill on May 07, 2021, 15:19:04 PM
I presume you mean change orderdone.php ? 
If not yet overridenthe file is in  /components/com_virtuemart/views/cart/tmpl/ 
but if your template uses overrides check in /templates/your-template/html/com_virtuemart/cart/

I make changes like that on a local copy of the site with a simplified checkout - no shipping selection and basic payment plugin set to charge nothing (like COD)  so I can check layout etc.
Title: Re: Testing the "Thank You" page after successful order
Post by: EvanGR on May 10, 2021, 08:45:52 AM
Thank you very much!

Is it possible to go straight to that page, using an existing order id? (simulating a successful order)
It would save time.