how get data from this Array [closed]

Array ( [0] => Array ( [0] => Array ( [0] => Array ( [name] => Ladies Hand Bag [url] => http://127.0.0.1/bag-gallery/new- bags/ladies- bags/ladies-hand-bag.html ) [1] => Array ( [name] => Ladies Purse [url] => http://127.0.0.1/bag-gallery /new-bags/ladies- bags/ladies-purse.html ) ) [name] => Ladies Bags [url] => http://127.0.0.1/bag-gallery/new-bags/ladies-bags.html ) [1] => Array ( [name] => Gents…

How to edit shipping address after click order in Magento 1

I want edit shipping address after create order on frontend in magento 1. I used observer, it’s ok, but i cann’t set new shipping address Ex: i want change firstname to “ABC” $orderId = $observer->getEvent()->getOrder()->getData(‘entity_id’); $order = Mage::getModel(‘sales/order’)->load($orderId); $order->getShippingAddress()->addFirstname(“Abd”); $order->save(); And i also try this code but it not working $order = Mage::getModel(‘sales/order’)->load($orderId); $quote =…

magento 2.2.3 how to add a new cms block or new phtml to product page

I want to add a new cms block or PHTML to the product page. I have the following files composer.json, etc/module.xml, and registration.php I have view/frontend/layout/catalog_product_view.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”product.info.main”> <block class=”Magento\Framework\View\Element\Template” name=”staticblock” template=”module_name::staticblock.phtml”> </block> </referenceBlock> </body> </page> I have the .phtml template file -> <h1>TEST BLOCK DID IT WORK</h1> I…