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

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
Он-лайн магазин за фототапети [url="http://mishelfoster.com"]http://mishelfoster.com[/url]

Studio 42

What is your current code to display it in ask question email?
Free XML sitemap generator [url="http://shop.st42.fr/en/catalog/products/virtuemart-2-sitemap.htm"]http://shop.st42.fr/en/catalog/products/virtuemart-2-sitemap.htm[/url]  , Free Unused Image cleaner [url="http://shop.st42.fr/en/products/virtuemart-media-folder-clear.htm"]http://shop.st42.fr/en/products/virtuemart-media-folder-clear.htm[/url]
Language Switch in product & category [url="http://shop.st42.fr/en/categories-tools/multi-language-for-virtuemart.htm"]http://shop.st42.fr/en/categories-tools/multi-language-for-virtuemart.htm[/url]
More extentions [url="http://shop.st42.fr/en/"]http://shop.st42.fr/en/[/url]

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

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