Magento: How to modify the HTML of the order confirmation page?

只愿长相守 提交于 2020-01-14 19:57:09

问题


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/).

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).


回答1:


You can add HTML with a widget:

  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.



来源:https://stackoverflow.com/questions/34519735/magento-how-to-modify-the-html-of-the-order-confirmation-page

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!