感谢您使用authorize.net支付系统确认购买virtmart后的消息

时间:2014-01-05 08:27:05

标签: joomla virtuemart authorize.net

我在joomla 2.5有一家virtmart商店。我使用authorize.net支付系统。我的问题是,在买家点击确认购买后,我无法配置或添加感谢信息。

3 个答案:

答案 0 :(得分:1)

我希望您使用的是VM2.x,

您可以在VM上使用常见的Joomla覆盖来感谢消息。

主订单确认信息可在

找到
components/com_virtuemart/views/cart/order_done.php

可以使用普通的Joomla方式覆盖此页面。

templates/your_template_folder/com_virtuemart/cart/order_done.php

或者您可以使用语言文件重写邮件。

COM_VIRTUEMART_CART_ORDERDONE_THANK_YOU

language/en-GB/en-GB.com_virtuemart.ini

找到

希望这会有所帮助..

答案 1 :(得分:0)

至少在Joomla3,VM3

此:

  

组件/ com_virtuemart /视图/购物车/ order_done.php

应该是:

  

组件/ com_virtuemart /视图/购物车/ TMPL / order_done.php

而且:

  

模板/ your_template_folder / com_virtuemart /购物车/ order_done.php

应该是:

  

模板/ your_template_folder / HTML / com_virtuemart /购物车/ order_done.php

答案 2 :(得分:0)

如上所述,您可以自己改进这个丑陋的信息。只需找到order_done.php文件,通常在Virtuemart 3中找到:

components/com_virtuemart/views/cart/tmpl/order_done.php

你可以这样做:

if ($this->display_title) {
    echo "<h3>".vmText::_('COM_VIRTUEMART_CART_ORDERDONE_THANK_YOU')."</h3>";
?>
    <div class="orderdone">
    <h4>This is what we are going to do next:</h4>
        <ul>
            <li>- You will receive a confirmation email.</li>
            <li>- We will check your order.</li>
            <li>- If neccessary, we will contact you for further information.</li>
            <li>- Blah blah blah...</li>
        </ul>
        <p>For any further questions, please contact us.</p>
        <p>Thanks again for your order!</p>
    </div>
<?php
}
echo $this->html;
$cuser = JFactory::getUser();
if(!$cuser->guest) echo shopFunctionsF::getLoginForm ();

请注意?&gt;在放入一些HTML之前关闭标记,在HTML之后,再次使用PHP开始标记重新开始

相关问题