我在joomla 2.5有一家精品店。我使用authorize.net支付系统。我的问题是,我无法配置或添加感谢消息后,买方点击确认购买。
发布于 2014-01-06 03:30:15
我希望你在使用VM2.x,
您可以使用普通的Joomla重写来获得VM上的感谢消息。
主要订单确认消息可在
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发现
希望这有帮助..。
发布于 2015-01-10 11:05:39
至少在Joomla3,VM3
这是:
components/com_virtuemart/views/cart/order_done.php
应:
components/com_virtuemart/views/cart/tmpl/order_done.php
这是:
templates/your_template_folder/com_virtuemart/cart/order_done.php
应:
templates/your_template_folder/html/com_virtuemart/cart/order_done.php
发布于 2015-12-10 16:29:07
如前所述,您可以自己改进这个丑陋的消息。只需找到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 ();请注意?>结束标记,然后再放入一些HTML,然后再从putting开始。
https://stackoverflow.com/questions/20931564
复制相似问题