I just want add a custom function in layered navigation block MagentoLayeredNavigationBlockNavigation the function : public function getActiveFilters() { $filters = $this->getLayer()->getState()->getFilters(); if (!is_array($filters)) { $filters = []; } return $filters; } ive tried to create custom module to override block with preferences as well as plugin, but no luck […]
Yearly Archives: 2019
We are using Magento 2.2.8 When we refund back-ordered items, the order status is not set to complete even though all items have either been refunded or shipped. I’m pretty sure this is the functionality of Magento, but it doesn’t seem right to me and I’m not sure what would […]
I have custom fields at checkout being saved into quote and sales_order tables. InstallSchema.php public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { $installer = $setup; $installer->startSetup(); /* While module install, creates columns in quote_address and sales_order_address table */ $eavTable1 = $installer->getTable('quote'); $eavTable2 = $installer->getTable('sales_order'); $columns = [ 'input_room_shipping_field' => [ 'type' […]
I’m having an issue whereby when I click ship to this address on Magento 1 I get redirected to the cart. I’ve checked and this is not php or server related. Can anyone help?
I want to create images uploader like this one on product page, when i add new product. I’ve create a custom extension in which i can upload one image. It save in /tmp folder, i can get this image on frontend, but i dont know how to upload more images? […]
I have two customer groups like CG1 and CG2 and for product A CG1’s price is 10 $ CG2’s price is 20 $. my user is currently on customer group 1 (CG1) and i switched him to customer group 2 (CG2). But when am switching him from group 1, his […]
I am very new to Magento. Recently i have to add extra styles to my magento website. So I go to adminpanel -> content-> design->configuration->my theme ->HTML Head I add the following line Then I save that one. Now new styles are working on my website. But I edited some […]
I want to Move Side-bar on My Account Page to Right On The Basis Of Admin Configuration Value After Some Research i found that it can be done by setting Page layout="2coloums-right" i saw Lots of Post doing this in app/design/… how i can do this in my Custom Module