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()) { […]
Daily Archives: December 21, 2019
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 need to be able to query from mysql these fields shipping_method_code shipping_carrier_code for a custom shipping method (ShipperHQ) I am trying to use from the REST Api. Thanks
I work in a soft-and hardware company. We started cleaning up and I found about 16 harddrives that are together about 4.5TB. I want to use them all and make a sort of file server in my home. But I found out SATA expansion cards are quite expensive so I […]
I am a little new to the networking side,what i want to achieve is I have my website running on my localhost is there any way i can expose it to internet, I have a AWS VPS( I dont have any router or any other stuff), Can you please guide […]
..hi. Today I played with my BIOS, applied settings and then things gone wrong. Display isnt turning on, external monitor as well, when I have RAM installed onto the baord, it restarts itself multiple times till it establishes and keeps on, removig cmos and any power for 20 mins didnt […]
I’m working with a data set of two columns. Column A is a set of IDs and Column B is email addresses. Column A is all unique, but there will be duplicates in Column B. I’m needing to find the duplicate instances in Column B and consolidate the unique data […]
When executing watch tree . I get output as follows Every 2.0s: tree . macbook.local: Fri Dec 20 16:23:33 2019 . hello.txt hi.txt hmm.c subdir hello.txt 1 directory, 4 files I want it to look like regular tree command output. Like below: . ├── hello.txt ├── hi.txt ├── hmm.c └── […]