Blog
Hello people I juste wanted to announce that the version 1.0.0 from thecodingmachine/safe is finally live. In case you don’t know about safe, it is a library that rewrote every core php function that returns false or null on error to throw an exception instead. See this blog article Some […]
I have created multiple store views, pattern lang_country. It is my understanding that the REST API url syntax is as follows /rest//V1/ where becomes all when targeting the default store view. Now, if I create a customer from Magento frontend, while browsing a particular store view, I see the customer […]
I am using the following code to find an existing Shopping Cart Price Rule. $pCoupon = Mage::getModel('salesrule/rule')->load($name, 'name'); $pRule = Mage::getModel('salesrule/rule')->load($pCoupon->getRuleId()); This works fine but when I try to modify its data there are no changes. The following code when used on a new price rule works fine. if($pRule->getData()) { […]