Timeline for Custom block on success page for my Payment Method
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2015 at 8:28 | comment | added | ElectricSid | That way it works, but Magento shows my version of success.phtml with every payment method. I need it only to appear when the client uses my module for payment. Thanks a lot for your comments, they're helping me a lot. :) | |
Jul 2, 2015 at 6:26 | comment | added | Amit Bera♦ | need copy the file to frontend/YourPackage/YourTheme/template/checkout/success.phtml | |
Jul 2, 2015 at 6:25 | comment | added | ElectricSid |
The full path to the success.phtml file is frontend/base/default/template/checkout/success.phtml But doesn't that solution show mysuccess.phtml for every payment method? I'd like it to be shown (if possible) only when you select my payment method.
|
|
Jul 1, 2015 at 20:38 | comment | added | Neklo.com | What is full path to success.phtml ? Is it located in frontend/base/default? If yes you can copy success.phtml to your current theme and edit it. Otherwise you can change template for checkout.success block: <reference name="checkout.success"> <action method="setTemplate"> <template>mymodule/mysuccess.phtml</template> </action> </reference> | |
Jul 1, 2015 at 13:10 | comment | added | ElectricSid | It works!! Sadly I can't use this solution because the payment method is going to be a redistributable module so I can't edit success.phtml (which is part of magento core files). | |
Jul 1, 2015 at 12:54 | history | answered | Amit Bera♦ | CC BY-SA 3.0 |