Here I want to display only those data who has emailstatus=1 from my custom table. Here I have xml code. filepath : app/code/chirag/stockproduct/view/adminhtml/layout/stockproduct_index_newlist.xml < ?xml version="1.0"?> Out of Stock Product Notifier : Display New List spinner_columns add Add New Post primary */*/new id ChiragStockproductModelResourceModelTestNewlistcollection id DESC 1 1 ID id […]
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 […]
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 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 […]
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 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 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