All Questions

0
votes
1answer
31 views

Create event and observer for customer sign up (Magento 2)

How can I create my own event and observer for customer sign up, From this link, Magento2 : customer_account_create event is not triggering I found that We can use customer_register_success for ...
0
votes
0answers
18 views

Link attributes to attributes set

I'm new in magento2 and I need your help. In my InstallData.php, I created lot of product attributes with the following script : $eavSetup->addAttribute( \Magento\Catalog\Model\Product::...
0
votes
0answers
15 views

Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() must be of the type string, null given

When i trying to install data migration tool then getting this error in SSH PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() ...
1
vote
1answer
13 views

Magento 2. How to Hide Price for multi Price products

I'm Hiding Price using Plugin. the Plugin is Hiding price for every product except the multi value products. My code is Vender/Module/Plugin/Price.php <?php namespace Vender\Module\Plugin; ...
0
votes
1answer
10 views

“invalid Domain for site key” issue in Captcha in contact us form in magento 2

While opening contact us form it shows error like below Please provide me a solution to sort out this.
0
votes
0answers
14 views

How To Fetch Product Image From Product Name Or Entity Id In Magento 2 [duplicate]

I Have Given A Foreign Key in my table field name is productid with an entity of product I have already fetched product name from id but now I want to fetch product image from that id and display it ...
0
votes
1answer
20 views

What is different between subtotal and subtotal_invoiced

sometimes I see in sales_flat_orders table that an order have subtotal but haven't subtotal_invoiced. What is different between them? subtotal subtotal_invoiced grand_total total_invoiced ...
0
votes
0answers
20 views

How to copy file in magento 2?

protected $_fileSystem; public function __construct( ... \Magento\Framework\Filesystem\Io\File $filesystemIo, ... ) { $this->filesystemIo = $filesystemIo; } ... $filePath = '/...
0
votes
3answers
24 views

Magento 2 API to get all products with filter

I am working on an API where I need all product of Magento store. I am using postman to make a collection, but I am getting this error. kindly tell me what is causing this error image with the new ...
0
votes
0answers
11 views

How to show product custom attribute value on sales order view page under magento admin

How to show product custom attribute value on sales order view page under magento 2.2.6 admin.
0
votes
0answers
13 views

display product name in custom page in admin grid in magento2

I want to display product name in the custom page in admin grid it displaying in the grid but I want to display in the custom page which will open on view click <field name="...
0
votes
1answer
14 views

Getting error in catalog product price indexing

I am facing below error while running indexing for catalog product price. Command: php bin/magento indexer:reindex catalog_product_price Error: SQLSTATE[23000]: Integrity constraint violation: ...
0
votes
1answer
16 views

Magento 2 in SEO Checker - “The Accessible Index Page is Configured wrong”

So I run our site (on Magento 2.2.3) thru an SEO checker and it flagged up an interesting issue: The Accessible Index Page is Configured wrong. Search engines see your https://www.xyz.co and https://...
0
votes
0answers
8 views

When I try to generate Fedex shipping label using magento version 2.2.6. The error is showing “Customs Clearance Detail is required.”

If I try to change file Carrier.php add 'CommercialInvoice' => ['Purpose' => "SOLD"], the error is showing like [08-Feb-2019 12:20:39 UTC] PHP Fatal error: Namespace declaration statement has to be ...
0
votes
1answer
13 views

Admin Ui component grid search filters not working in custom module

search by keyword is not working in admin UI component grid
0
votes
2answers
21 views

Magento 2 How to Add a New Column to Newsletter Subscribers Grid

I've added a new column to the table newsletter_subscriber called "name", now I want to add new grid column with the data from the "name" column. How can I do it using Event Observers?
0
votes
1answer
14 views

different template files for product detail page of simple and grouped product types. - Magento 2.2.x

I have 2 types of product in my website. 1) simple products and 2) grouped products i wanted different design for both this types of product types. so how can i have different template file for ...
0
votes
0answers
14 views

Magento 2.3 add shipping line to cart totals

We use a quite simple shipping cost line. When the total is below 29.95 it adds 5.95 for shipping. If the subtotal is above 29.95 it is free. Now I want to extend the default totals column in the ...
0
votes
1answer
20 views

How custom attribute of “sales_order_item” table will be save also in “sales_order”

I am using plugin for converting "quote_item" to "sales_order_item" from below give code it work. public function aroundConvert( \Magento\Quote\Model\Quote\Item\ToOrderItem $subject, \...
0
votes
0answers
25 views

Magento2: Class not found error

Product category page is not working. My Magento v2.0 Got the error below. use Magento\Framework\EntityManager\MetadataPool How can I solve the issue. ?
0
votes
1answer
15 views

Magento 2 - Move Layered Navigation above products

Currently my Layered Navigation on mobile is under the products. On a large Category we have 60 Products displayed with additional filters for the layered navgiation. Since the users cant find the ...
3
votes
1answer
19 views

Attach invoice pdf to custom e-mail in magento 2

I created a custom email and it's working fine like this: $data['amount'] = round($amount); $data['customer_name'] = $customer->getFirstname() . ' ' . $customer->getLastname(); $...
0
votes
0answers
7 views

display image in custom page in admin grid through image name [duplicate]

hello everyone i have image name in my admin grid through that i want to display the image in custom page in admin grid below code is for image name <field name="customization_attachment"> ...
0
votes
0answers
12 views

Magento 1.9 : How to fetch image from url?

I am using core php functions file_get_contents, file_put_contents but I was asked to change it with alternate functions in magento. I am attaching the following code. $imgUrl = $picture_url; ...
0
votes
0answers
6 views

Changing image position using magmi

We use magmi to import images and other product details. We have a requirement right now where we need to upload a new image at position 1 for a lot of products. How can I achieve this using magmi?
0
votes
1answer
9 views

Disable Magento RSS module - Magento 2

I have been disabling modules that we don't require and as anyone who has tried this knows some cannot simply be disabled because of dependencies. There are a number of modules we have absolutely no ...
0
votes
2answers
20 views

Which block file calls for My Account page when it loads

I have written some helper functions, which does some database inserts The problem is I am calling all these functions from my phtml which gets loaded first time when My account is loaded for the ...
0
votes
0answers
12 views

Broken reference Error log in Layout magento 2?

Actually i am facing this error due to layout mistake.please guide me. [2019-02-18 06:28:17] main.INFO: Broken reference: the 'breadcrumbs' tries to reorder itself towards 'category.cms', but ...
0
votes
1answer
11 views

Editing bundle product page

i'm still new in magento 2 and i want to edit layout of bundle product page of magento 2, so i extend xml file of magento 2 from module-bundle. i create folder Magento_Bundle/layout/...
1
vote
1answer
13 views
0
votes
0answers
8 views

Magento2 : Grouped Product's child product add to cart issue

I have an issue in grouped product's child product add to cart validation issue. In one grouped product have three (3) child products while click on add to cart button of last child product without ...
0
votes
0answers
26 views

Magento 2 : How to fetch product thumbnail images in admin grid?

<?php namespace Magneto\PopupQuestion\Ui\Component\Listing\Column; use Magento\Framework\View\Element\UiComponentFactory; use Magento\Framework\View\Element\UiComponent\...
0
votes
1answer
33 views

display uploaded image in custom page in admin grid

I want to display an uploaded image in a custom page in admin grid at is shown in 1 picture and want to display in 2 picture <field name="customization_attachment"> <argument name="...
0
votes
1answer
38 views

Magento 2 :Get Customer Zip from Checkout Shipping Step

I have a custom module with a custom section in Checkout Payment Step. I want to display the xip code of the customer in the custom section ( both customer logged in and logged out case). I have ...
1
vote
1answer
103 views

I want hide Add New Customer button for specific admin roles

I want to hide "ADD NEW CUSTOMER" button on customer_grid page for certain admin roles, how to specify Specify ACL's for ui_components..?
0
votes
1answer
17 views

CSS not reflecting after modifications

I'm new to Magento 2 I have an edited CSS file somewhere in app/design/frontend//web/css/, then I run the deploy static content command. I can see the new CSS file is already in pub/static/ folder. ...
0
votes
0answers
11 views

Custom Customer Attributes not showing in user account - Magento 2

I have created 3 custom customer attributes. So far I have them saving and displaying correctly in the account creation page and for the admin in the backend. In the users account on the frontend ...
0
votes
1answer
14 views

how to click on yes / no in system configuration, does it show custom content inside?

I want to click on yes, it will show the contents and click on it to hide it
0
votes
0answers
10 views

Disable image cdn stuck

I am having an issue with my Magento site and any assistance would be greatly appreciated. I recently migrated my Magento (1.4.1.1) site from Rackspace to a private server. The site was configured to ...
1
vote
1answer
17 views

How do I persist data in custom table in Magento Database (the right way)?

I have created a module that adds a custom table. I also created a Model, ResourceModel and Collection classes, and was able to use them to insert data into this new table by calling the ...
1
vote
4answers
15 views

when ever i change single line of css should i have to deploy static content all time

I was working with magento 2 and trying to change some css whenever i change single line of css forexample i was trying to change the _module.less file in Magento_Theme/web/css/source whenever i ...
0
votes
1answer
19 views

Translation of a module

How can I translate an extension (module) ? I tried to create the i18n folder and create the it_IT.csv file. But it does not work, how can I do translation?
1
vote
0answers
13 views

Obtain all the information related to a customer

I wanted to obtain all the information related to an specific customer (given their account number) I mean, i want to obtain name, lastname, email, billing/shipping addresses(including the ...
-1
votes
0answers
18 views

magento2 hosting on Litespeed [on hold]

i'm seeking help to host magento2 on litespeed webserver. Please contact me at googlina.web2atgmail.com for the same. i'm waiting for your response. Thanks in advance. Regards, Magento friends
2
votes
0answers
26 views

The store that was requested wasn't found

I just made new magento2 project. I got this: Magento\Framework\Exception\NoSuchEntityException: The store that was requested wasn't found. Verify the store and try again. I copied nginx config ...
1
vote
0answers
11 views

Observer for the event controller_action_predispatch not working for default Magento2 REST APIs

I have created an observer for the event controller_action_predispatch. The observer is working only for the front end and backend request but not for default REST APIs. I have place the event.xml ...
2
votes
1answer
12 views

Adding data to EAV attribute deprecated

I have an existing module with code like this: $attribute = $customerUpgrade->getEavConfig()->getAttribute(Customer::ENTITY, 'my_custom_attribute') ->addData([ 'attribute_set_id' ...
0
votes
0answers
11 views

Output customer group id into div class magento 2.3

I would like to get the customer group id to put them into an class I have changed the emty.xml as follow app/design/frontend/{store}/{storefront}/Magento_Theme/page_layout/empty.xml <container ...
2
votes
1answer
29 views

Obtain all orders from MAGENTO B2B without success

I wanted to get all orders (B2B) that are stored in MAGENTO database (using SQL) and obtain all the information about them (Items, price, transport information, current status, user information and so ...
0
votes
0answers
18 views

How to add filters(Filter Form ) in Grid( Custom Table Collection)?

I want to add Filter to Grid like Sku or name fillter in Manage Product here my code Grid.php class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\...

15 30 50 per page