Skip to main content
9 events
when toggle format what by license comment
Oct 22, 2018 at 14:52 comment added Gianni Di Falco That was the way i was able to save prices in a different website. Loading a product from the repository and setting its store_id did not worked for me. Well, maybe i just have to use the saveAttribute from the resource model and not filll a model product again. But the thing is, that when i execute the cron manually it just works! When then set up the automatic cron then it fails.... super strange
Oct 21, 2018 at 14:57 answer added CompactCode timeline score: 0
Oct 21, 2018 at 14:51 comment added CompactCode Well you are loading the product 2 times. First with the get and then with the $this->resourceModelProduct. ResourceModelProduct Load function will load it into $product and not in $resourceModelProduct. So that is a weird thing to do.
Oct 19, 2018 at 12:31 history edited Gianni Di Falco CC BY-SA 4.0
added 81 characters in body
Oct 19, 2018 at 12:29 answer added Ian at SSU timeline score: 0
Oct 19, 2018 at 12:18 comment added Gianni Di Falco Ok, ty! I'll take that in mind, please see the update
Oct 19, 2018 at 12:18 history edited Gianni Di Falco CC BY-SA 4.0
added 446 characters in body
Oct 19, 2018 at 12:05 comment added CompactCode Try to have less code in your try/catch just for read purposes. How sure are you that it is that certain get() that throws the exception?
Oct 19, 2018 at 10:16 history asked Gianni Di Falco CC BY-SA 4.0