Magento:如何修改订单确认页面的HTML? [英] Magento: How to modify the HTML of the order confirmation page?

查看:42
本文介绍了Magento:如何修改订单确认页面的HTML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Magento商店的订单确认又称为结帐成功页面(网址以index.php/checkout/onepage/success/结尾的页面)中添加一些HTML.

I would like to add some HTML to the order confirmation aka checkout success page of my Magento store (the page whose url ends with index.php/checkout/onepage/success/).

是否可以通过管理面板执行此操作?我在任何现有菜单下都看不到它( http://grab.by/N1Ek ). /p>

Is there a way to do this from the Admin Panel? I don't see it under any of the existing menus (http://grab.by/N1Ek).

推荐答案

您可以使用小部件添加 HTML:

You can add HTML with a widget:

  1. 转到CMS>静态块,使用您的HTML代码作为内容创建一个新的静态块
  2. 转到CMS>小部件,添加新的小部件实例
  3. 选择类型"CMS静态块"和您的主题
  4. 选择标题,然后选择显示在:指定页面上"和页面:一页结帐成功".在块引用"中,选择应在页面上的何处添加内容
  5. 在窗口小部件选项"选项卡上,选择在(1)中创建的静态块
  1. Go to CMS > Static Blocks, create a new static block with your HTML code as content
  2. Go to CMS > Widgets, add new widget instance
  3. Choose type "CMS Static Block" and your theme
  4. Choose a title, select "Display on: Specified Page" and "Page: One Page Checkout Success". In "Block Reference", choose where on the page the content should be added
  5. On the "Widget Options" tab, select the static block, created in (1)

然后清除缓存,就可以设置了.

Then clear cache and you're set.

这篇关于Magento:如何修改订单确认页面的HTML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆