问题
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:
- Go to CMS > Static Blocks, create a new static block with your HTML code as content
- Go to CMS > Widgets, add new widget instance
- Choose type "CMS Static Block" and your theme
- 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
- 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