Hello to all.
I have a problem with the purchase mechanism, I am doing an ecommerce with virtuemart version 3.8.8, on Joomla version 3.10.2. Everything works fine, but at the end, after I have confirmed the order, filled in all the fields for account and shipping, a white page appears with the inscription "Default Layout file is not exists! Please goto to template manager and create a new layout first."
the order is correctly arrived in the backend, the buyer receives the e-mail of the completed order correctly.
Anyone have any idea what I could do to fix this?
I summarize the site data : Virtuemart Version 3.8.8 Joomla Version 2.10.2 PHP version 7.3.18-1+0.
Thanks to who can give me suggestions
first try with the standard beez3 template
your template could be out of date .. perhaps missing the /cart/orderdone.php etc
Thanks GJC for your quick reply. with beez3 it works. My actual template is Shaper helixultimate. What can I do to create the /cart/orderdone.php ...?
if that is the problem just copy it across into your template
templates/YOUR_TEMPLATE/html/com_virtuemart/cart/
Quote from: GJC Web Design on October 14, 2021, 19:19:03 PM
if that is the problem just copy it across into your template
templates/YOUR_TEMPLATE/html/com_virtuemart/cart/
thankyou for your answer. I had a break from designing the site, I worked on other aspects. Now I always have the same problem. I did as it suggested I copied the orderdone.php file into /templates/shaper_helixultimate/html/com_virtuemart/cart but it does not work. Joomla core is updated to 3.10.6, the template is also updated to the latest version. What can I do?
I might as well pay someone to fix the problem.
Thankyou.
if it works fine with Beez then it is a template problem that needs tracking down ...
You can PM me if you want me to take a look ( paid) .. shouldn't take long...
Quote from: GJC Web Design on March 20, 2022, 19:12:16 PM
if it works fine with Beez then it is a template problem that needs tracking down ...
You can PM me if you want me to take a look ( paid) .. shouldn't take long...
Have you solved your problem? Share the solution:
if(VmConfig::isSiteByApp()) {
$currentTemplate = $app->getTemplate();
if ($currentTemplate !== $template)
{
if (JVM_VERSION >= 4) {
$templateObj = (object)$res;
$app->setTemplate($templateObj);
$currentTemplateObj = $app->getTemplate(true);
$currentTemplateObj->id = $templateObj->id;
}
else {
$app->setTemplate($template, $registry);
}
}
}
in file: vmtemplate.php
Hi, I changed the template and it works fine. Thank you for your answers.