Gulshan
  • Member for 4 years, 10 months
  • Last seen more than a month ago
magento 2: 'i18n:collect-phrases' command creates different csv files
Accepted answer
5 votes

The CSV with 4 columns is the global CSV for all modules. That's why it contains 3rd column as module and 4th column as Module_Name.This file should be placed in i18n folder parallel to app. The CSV ...

View answer
Magento 2: New added products not showing
4 votes

Showing products is not related to cron. Please open your admin panel > Manage product grid and pick any one id from Id column. For example id is 2. Now go to frontend of your site. after your site ...

View answer
How to pull the number of customers that have signed up and registered
Accepted answer
4 votes

@thismethod, The answer is in your question description only. You already told that, In admin when i click on the menu item CUSTOMERS > MANAGE CUSTOMERS it gives me a number that seems like a lot. ...

View answer
How to get list of all users?
3 votes

Please print the collection and then check data as same code worked for me. $adminUser = Mage::getModel('admin/user'); $collection = $adminUser->getCollection()->load(); print_r($collection-&...

View answer
icon is not clickable in product view page , but working in listing page
Accepted answer
3 votes

Please check your product view page and product list page for the div which you are using are actually present or not. For example: I have found that, you are using java script function: ...

View answer
Magento 2.4.3 Installation Error
2 votes

There might be multiple PHP versions installed on the server. So you can run the below command to check that. which PHP; or whereis PHP; Through this, you can get which PHP version is getting called.

View answer
"Additional Data" in Magento 2 Checkout Order Summary
Accepted answer
2 votes

You can add additional options to order items using observer and it will show everywhere. First need to create events.xml for the observer: <?xml version="1.0"?> <config xmlns:xsi="http://...

View answer
Can't access backend: Cannot send headers; headers already sent in
2 votes

Please enable developer mode for your magento. For this do below things: go to your magento root directory and check index.php file and do some changes. Write below code above #ini_set('...

View answer
Stop redirect to Contact us in Product Page
Accepted answer
2 votes

You dont need to change the url where the form is posting. You just need to change the url where it is redirecting after going to contacts/index/post. Means you just need to replace following code in ...

View answer
How to override a core function when a third party module isn't using it
Accepted answer
2 votes

Instead of above static code you can also check for current controller and module. Like if it is sales module and order controller running then run your custom code other wise run default code. if($...

View answer
Solved - Adding Mass Delete Action to the Grid
1 votes

You just need to add a function in your grid file in which you have written code for adding grid columns. I am providing you an example for mass action of catalog grid on admin panel. Please check ...

View answer
Magento 2 Sending emails triggered by observer
1 votes

I have just followed the first link you shared. Please check their construct: public function __construct( \Magento\Framework\Mail\Template\TransportBuilder $transportBuilder){ $this->...

View answer
add "shipping method (carrier)" column to csv file
Accepted answer
1 votes

You can do this by override Mage_Adminhtml_Block_Sales_Order_Grid Just need to change prepareCollection funcion with the below code: protected function _prepareCollection() { $collection = Mage::...

View answer
Magento 1.9.2 - How works Magento for take the value of the field VAT Number?
Accepted answer
1 votes

getCustomerGroupIdBasedOnVatNumber() This function is defined in Mage/Customer/Helper/Data.php. And this function is called from below files, so you can check depending upon your need: 1) Mage/Sales/...

View answer
cant set up Germany localization in magento 2
0 votes

After this process you need to select locale from Admin > Stores > Configuration > General. Change locale and then run deploy command and clear cache. Now you can see your changes made in translation ...

View answer
How can i set product custom options by observer event(checkout_cart_after_add_product) in magento 2
0 votes

You can add additional options to order items using observer and it will show everywhere. First need to create events.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...

View answer
Magento 2 Use Symlink In Default or Production Mode for Pub Static Files
0 votes

When not in production mode Magento 2 will try to create symlinks for some static resources. You can change that behavior by doing the following. Open up app/etc/di.xml and find the virtualType name="...

View answer
Override local code block
0 votes

There is mistake in your config.xml. From curent code it looks like you are trying to rewrite app/code/core/Mage/Catalog/Block/Filter/Price.php with your custom block file app/code/local/Vendor/Module/...

View answer
I want to add jquery validation to my form ! How can i do it?
0 votes

Please change your form tag with the below code and then check. <form class="form contact" action="<?php /* @escapeNotVerified */ echo $block->getFormAction(); ?>" id="contact-form" ...

View answer
Resolved - Admin Grid Redirects to Front End Page Instead of Backend
0 votes

First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you ...

View answer