Skip to main content
18 events
when toggle format what by license comment
Nov 7, 2017 at 8:26 comment added jscar :) Well spotted. That was my mistake in renaming everything. Sorry about that. Glad you got there in the end. I have edited my answer just in case anyone else wants to use it.
Nov 7, 2017 at 8:26 history edited jscar CC BY-SA 3.0
corrected code
Nov 7, 2017 at 6:45 comment added Piyush Hi jscar i find the solution $order->getPiyushOrderExported() instead of $order->PiyushOrderExported()
Nov 7, 2017 at 6:42 vote accept Piyush
Nov 6, 2017 at 12:18 comment added jscar I'm really sorry Piyush but I didn't write the code so I don't think I can help you further. Good luck finding what's going wrong. If you do find out post your answer here.
Nov 6, 2017 at 9:33 comment added Piyush yes but value in this column is null
Nov 6, 2017 at 9:16 comment added jscar Do you have a column called piyush_order_exported in sales_flat_order table?
Nov 6, 2017 at 9:13 comment added Piyush i think issue with this code $order->PiyushOrderExported(). help me to fix it
Nov 6, 2017 at 9:07 comment added jscar It is the value from the piyush_order_exported column in sales table
Nov 6, 2017 at 8:38 comment added Piyush what is PiyushOrderExported
Nov 6, 2017 at 8:35 comment added jscar My mistake - there was a bit of code in observer that I had not renamed. You probably need to go through and make sure that all variables and method names are consistent. As I said, it's a starting point.
Nov 6, 2017 at 8:32 history edited jscar CC BY-SA 3.0
corrected code
Nov 6, 2017 at 7:58 comment added Piyush it gives me an error 'Varien_Exception' with message 'Invalid method Mage_Sales_Model_Order::PiyushOrderExported(Array ( ) )'
Nov 6, 2017 at 5:06 comment added Piyush Thanks for help but after adding this code i am unable to place an order.
Nov 3, 2017 at 9:13 comment added jscar Answer updated with code. Should be enough to get you started. Hope it goes well.
Nov 3, 2017 at 9:11 history edited jscar CC BY-SA 3.0
updated answer with code
Nov 3, 2017 at 5:44 comment added Piyush Yes Please! show me your module so i can start working on this .
Nov 1, 2017 at 11:19 history answered jscar CC BY-SA 3.0