News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Ask a Question About this Product

Started by sohopros, May 07, 2014, 23:18:24 PM

Previous topic - Next topic

sohopros

We would like the emails from this form to be forwarded to an address other than the store vendor.  We have seen suggestions in the forum to use email forwarding to get the emails to this separate department, but Email forwarding is not an option because we do not want the store emails to go to this email account, just the "Ask  a question" emails.

Does anyone have a solution for this?  J2.5.x and VM2.0.26x

GJC Web Design

The mails are sent from components/com_virtuemart/helpers/shopfunctionsf.php 


renderMail() function  goes to sendVmMail()  - the view is passed there so you could detect and use another email address in that function



GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

dsrpmedia

I figured out a way to do this with an override of the productdetails default.php - replace the existing ask a question code with

<a class="ask-a-question" href="mailto:myemail@mysite.com?subject=Question re <?php echo $this->product->product_name ?> ">Ask a question about this product</a>

works!!!