News:

Looking for documentation? Take a look on our wiki

Main Menu

Productdetails link in email points to wrong template

Started by hajo, August 22, 2012, 11:46:09 AM

Previous topic - Next topic

hajo

Hello,

For the webshop (part of a website) I have a special template which is set in the template management in joomla. In normal shopping it works fine.

But when I click on the link in the notification emails after an order has been placed. I am directed to a productview in my home template. And I loose the layout I want.

How can I change that.

I've seen the the option to set a template in the configuration option in virtuemart, but than I get an error that the template is not found.  (I had that. I changed is to default from joomla according to a topic here.)

Virtuemart 2.08e Joomla 2.5.6

Can you help me.

Hajo

hajo

Hello,

I found:  'index.php?option=com_virtuemart&view=orders&layout=details&order_number=' in mail_html_shopper.php

and: 'index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=' in invoice_items.php directing to the pages from the email.

How do I set the path so it uses the right template instead of showing the page in the frontpage template?

I suppose there are more paths to be set.

Thanks,

Hajo

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

hajo

Hello Jenkinhill,

If I ame correct you sugest to set  the vm template in vm configuration to joomla default and to set in joomla template management the vm special created template to the vm menu?

If so, I have done that. If not, I seem to lose the explanation due to my lack off english..

With regards,

hajo