News:

Support the VirtueMart project and become a member

Main Menu

MPN in ask a question confirmation email

Started by servlet, April 19, 2019, 15:19:23 PM

Previous topic - Next topic

servlet

Hello
How to display MPN in ask a question confirmation email

In order confirmation email I display it with
            <?php
               if (!empty($item->product_mpn)) {
                  echo 'MPN: '.$item->product_mpn;
               }
            ?>
But it doesnt work in ask a question confirmation email
Он-лайн магазин за фототапети http://mishelfoster.com

Studio 42

What is your current code to display it in ask question email?

StefanSTS

Hi,

replace your

$item->product_mpn (in askquestion view's mail_html_question.php)
with
$this->product->product_mpn

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

servlet

Он-лайн магазин за фототапети http://mishelfoster.com