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 […]
Magento2
so im using m2e pro extension on magento 2.3 suddenly the synchronizing stopped from working. thats because that m2e pro uses their own cron job and they sends curl calls to the server, but my server response with BOM byte. script for exemple: ?php $ch = curl_init(); curl_setopt_array($ch, array( CURLOPT_URL […]
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 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 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 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
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 know there are many article on this.Even try all ) Install fresh Magento 2.2.6 with new DB, every thing smooth and but frontend is not loading css and js. store VPS Server : Bluehost.com Magento version: 2.2.6 Already run following command bin/magento setup:static-content:deploy -f bin/magento cache:flush bin/magento cache:clean […]