Author Topic: Call for pricing emails only sent from default language  (Read 2291 times)

Norbert Miskei

  • Beginner
  • *
  • Posts: 21
Call for pricing emails only sent from default language
« on: September 10, 2009, 16:33:56 pm »
Hi all,

I just noticed this after a good while that it is not possible to send an Call For Pricing or Ask A Question About This Product email from any of the translated languages. From default, English they both work fine and you get a thank you note. When you hit send from the other languages you get redirected to the main page.

I have: Joomla 1.0.12, Virtuemart 1.1.2, Joomfish 1.8.2, sh404sef 1.3.8  

When you click the call for pricing link in the text fields the subject and the content comes up in a different encoding than the rest of the page.

Thanks in advance

One more thing I just noticed, the recently looked at products don't get translated.

Norbert Miskei

  • Beginner
  • *
  • Posts: 21
Re: Call for pricing emails only sent from default language
« Reply #1 on: September 11, 2009, 15:09:45 pm »
I managed to solve the first problem. This looks like something caused by the SEF. It's probably not a kosher approach but for now it works. I did this:

in templates/pages/ I opened shop.ask.tpl.php and changed this line:

document.emailForm.action = "<?php echo sefRelToAbs("index.php"); ?>"


document.emailForm.action = "<?php echo ("index.php"); ?>"

It still leaves me with the other problems.

1. in the text area the text comes up in some different encoding. The inquiry email comes with this encoding but the confirmation mail that goes to the customer is with the normal utf-8.

2. the recently viewed products are not getting translated.