Timeline for Unset custom data from product attribute
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 13, 2016 at 8:34 | comment | added | Derek | I just tried, nope, method 2 does not work as well unfortunately. | |
Dec 13, 2016 at 8:33 | comment | added | Rakesh Jesadiya | Is it useful in your case? | |
Dec 13, 2016 at 7:50 | comment | added | Derek | I just understood your 2nd method, i'll try it again soon | |
Dec 13, 2016 at 5:58 | comment | added | Derek | Thanks for the reply Rakesh. i tried the 1st way, it does have the same behavior as the methods i used previously. It sets the attribute value to null, however, it doesn't persist through the save method. And the second method, doesn't seem to affect anything though ( I used $updatedProduct->unset($customAttributeA); | |
Dec 13, 2016 at 5:09 | history | answered | Rakesh Jesadiya | CC BY-SA 3.0 |