Timeline for Method returns null / If statement not working
Current License: CC BY-SA 3.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Oct 9, 2017 at 11:08 | history | bounty ended | Stordon | ||
S Oct 9, 2017 at 11:08 | history | notice removed | Stordon | ||
Oct 9, 2017 at 11:08 | vote | accept | Stordon | ||
Oct 8, 2017 at 20:10 | answer | added | Roman Kabanov | timeline score: 0 | |
Oct 2, 2017 at 18:52 | vote | accept | Stordon | ||
Oct 2, 2017 at 18:53 | |||||
Oct 2, 2017 at 16:52 | comment | added | Amit Bera♦ |
what value give by $control and $id ?
|
|
Oct 2, 2017 at 13:48 | comment | added | Siarhey Uchukhlebau |
What returns the var_dump($id); in observer?
|
|
Oct 2, 2017 at 13:07 | history | edited | Stordon | CC BY-SA 3.0 |
added 236 characters in body
|
Oct 2, 2017 at 13:01 | history | edited | Stordon | CC BY-SA 3.0 |
added 236 characters in body
|
Oct 2, 2017 at 12:09 | answer | added | PЯINCƎ | timeline score: 0 | |
S Oct 2, 2017 at 11:28 | history | bounty started | Stordon | ||
S Oct 2, 2017 at 11:28 | history | notice added | Stordon | Draw attention | |
Sep 29, 2017 at 17:05 | history | edited | Stordon | CC BY-SA 3.0 |
deleted 75 characters in body
|
Sep 29, 2017 at 12:13 | comment | added | Stordon | @Prince just updated it | |
Sep 29, 2017 at 12:13 | history | edited | Stordon | CC BY-SA 3.0 |
added 7271 characters in body
|
Sep 28, 2017 at 22:24 | comment | added | PЯINCƎ |
Please share your config.xml
|
|
Sep 28, 2017 at 19:36 | history | edited | Stordon | CC BY-SA 3.0 |
deleted 210 characters in body
|
Sep 28, 2017 at 19:27 | comment | added | Stordon | still nothing... and now the product is not being added to the cart | |
Sep 28, 2017 at 19:08 | comment | added | Abhishek Panchal |
remove the static word from your function and then try
|
|
Sep 28, 2017 at 19:04 | comment | added | Stordon | yes, that worked too. I tried to add that to a custom table and the correct value was added | |
Sep 28, 2017 at 19:01 | comment | added | Abhishek Panchal |
if your function works fine then, $id = $event->getData($control); did you check ID?
|
|
Sep 28, 2017 at 18:58 | comment | added | Stordon | I think so. This function works fine when I call from other places. I call it from a grid and it works. It just doesn't work in this observer | |
Sep 28, 2017 at 18:57 | comment | added | Abhishek Panchal | is your helper function calling properly? | |
Sep 28, 2017 at 18:49 | history | asked | Stordon | CC BY-SA 3.0 |