You are viewing an old revision of this post, from May 19, 2015 @ 14:44:03. See below for differences between this version and the current revision.

How to show pending payment order on front-end

This will be a very quick tutorial today but I bet that it’s helpful to you. As you know, some orders have status of pending payment and by default, Magento doesn’t show them on frontend. It makes customers unable to view details of their orders. However, you can configure to display these orders on frontend by adding the code below to the configuration file (config.xml) of any active module.

 

<config>
<global>
<sales>
<order>
<states>
<pending_payment>
<visible_on_front>1</visible_on_front>
</pending_payment>
</states>
</order>
</sales>
...
</global>
...
</config>

 

Similarly, you can totally disable showing any order status by setting the status’s attribute visible_on_front to 0. For example:

<config>
<global>
<sales>
<order>
<states>
<processing>
<visible_on_front>0</visible_on_front>
</processing>
</states>
</order>
</sales>
...
</global>
...
</config>

 

 

Enjoy your code!

Revisions

  • May 19, 2015 @ 14:44:03 [Current Revision] by admin
  • May 19, 2015 @ 14:44:03 by admin
  • May 19, 2015 @ 14:41:08 by admin

Revision Differences

There are no differences between the May 19, 2015 @ 14:44:03 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply