magento最近订单售出产品-有国家图片-滚动显示

在网上看到有朋友做出这个插件,只需要简单的修改可以显示国家图

[php]
<p><?php echo "ship to ".$order->getShippingAddress()->getCity();?>&nbsp;&nbsp;
<img src="<?php echo $this->getSkinUrl(‘images/flags/’ . $this->htmlEscape($order->getShippingAddress()->getCountry_id()) . ‘.GIF’) ?>" alt="<?php echo $this->htmlEscape($order->getShippingAddress()->getCountry_id()) ?>"/>
</p><!–在订单地址,城市后面,添加-“调用国家id.GIF",很好看懂–>
[/php]

标签

发表评论

评论已关闭。

评论列表(1)

  • chenqilong

    2014.5.10 16:05

    很需要这样的插件.谢谢


Warning: error_log(/www/wwwroot/www.ctrol.cn/wp-content/plugins/spider-analyser/#log/log-0215.txt): failed to open stream: No such file or directory in /www/wwwroot/www.ctrol.cn/wp-content/plugins/spider-analyser/spider.class.php on line 2900