All Questions

1
vote
0answers
18 views

Disable payment option in checkout when specific shipment is used via js only

I've disabled alost all payment modules when in store pickup i set as shippemnt. I'm using for this plugin for Magento\Payment\Model\Method\AbstractMethod and is working fine. Only one module payu/...
-1
votes
0answers
12 views

pages elements got wrapped

I've received a storefront and trying to make it responsive and add some images and icons. I've a problem of that is the storefront view has unexpected behavior like some element of profile appear in ...
2
votes
0answers
13 views

Magento 2.3 - How to modify language pack

I have a language pack that I cloned from git into my project. The path to the module is: app/i18n/magenerds/de_DE It's registration.phpsays \Magento\Framework\Component\ComponentRegistrar::register( ...
1
vote
0answers
15 views

Delete Product Custom Option value if it is null in magento 2

I wish to delete the custom options value of a product if it is null without deleting the option. Please provide me a solution to delete it without affecting the option
2
votes
0answers
19 views

Disable catalog search module - Magento 2.2.2 EE

we are trying to disable the modules "Magento_Search & Magento_CatalogSearch" because we are using algolia search not default magento search. But, we can't disable the module, it has dependency ...
2
votes
1answer
31 views

Magento 2.3 Update Source Stock

Im currently creating a module that should update product quantity per source, based on SKU. Im using Magento\InventoryApi\Api\SourceItemsSaveInterface and Magento\InventoryApi\Api\Data\...
2
votes
2answers
32 views

Magento 2 : How to run bin/magento setup:static-content:deploy command programatically?

Is there a way to run bin/magento setup:static-content:deploy in a M2 script? or programatically? I have a scenario where in the CSS file is replaced within the admin panel. So I was thinking to ...
1
vote
2answers
41 views

How can Select arrays from associate array in php on the basis on element [on hold]

I have an array "$arrItems['items']" in which 5 more arrays(associate array) and each array contain 5 element(f_name,l_name,contact,address,seller_id). Actually I want to get all those arrays(from "$...
1
vote
1answer
21 views

How to add a custom field under shipping method in magento 2?

How to add a custom input select field under shipping method in checkout page in magento 2?
1
vote
0answers
17 views

Image slider for pwa studio

I have just started playing around with Magento 2 pwa studio. Now i need to add an image slider which I want to show in my pwa homepage. How i can add slider on pwa venia homepage any suggestions ?
1
vote
0answers
15 views

Magento 2 PWA Venia - how to set 404 page

I'm using Venia from PWA Studio and I want to create redirect to my 404 page when someone use wrong link for example "http://venia.loc/wrong-route". Page on dev environment when running "watch:venia" ...
1
vote
1answer
18 views

How to Import Product Meta Title for Multi Store Website in magento 2

I have multi store website in Magento 2. I want to import different different Meta Title as per store by CSV file. i am using bellow format but its not working for me. SkU store_view_code ...
3
votes
0answers
25 views

Magento 2 migration issue || Integrity Check failed

I am facing this issue while migrating from Magento1.9.2.2 to Magento2.3.0. I am doing this in my localhost.
3
votes
1answer
20 views

API call and observer on customer creation

I want to create an observer when a new customer is registered through the REST API (POST /rest/V1/customers). I have created an observer customer_register_success but it's only been triggered when a ...
1
vote
0answers
10 views

How to get the zonos store Id and API key for magento2?

I registered in zonos app account and i got the custom hello script via email.I copied that script in head tag of my website and setup the zonos app extension in local also.Now In admin configuration ...
2
votes
1answer
16 views

Magento 2 Category page add custom view mode

On category page I want to add addition view mode as "expand" with "grid" and "list" mode. If any one has created custom view mode for category page then help. Thanks in advance.
1
vote
0answers
16 views

Magento 1 : How to add custom filter in list page like price or name?

I'm building the frontend of the category page, among the filters that I have to create custom filter. I have no problem taking the data and having it available in the ...
3
votes
1answer
17 views

Email template 'customemail_email_template' is not defined. in magento2

hello everyone i am sending mail to admin form details it is Getting error : Email template 'customemail_email_template' is not defined. The link i have referred : http://www.codextblog.com/...
0
votes
0answers
15 views

While importing custom options for products throws exception in magneto 2

While importing custom options throws following error in Magento2.2.5 Undefined offset: 6405 in /var/www/html/xx/vendor/magento/module-catalog-import-export/Model/Import/Product/Option.php on ...
-1
votes
0answers
14 views

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away Error after migration; details of log file in text

Magento 1.9.1 We just got migrated to a different node because we had performance problems on the old node (within the same hosting company) and ever since then, none of our Magento stores even load. ...
1
vote
1answer
17 views

PHPUnit_Framework_TestCase not found

just made upgrade to 2.3.0 and while compilation get this error: server@server:~/web/server.dev.company.com/public_html$ /usr/bin/php7.1 bin/magento setup:di:compile Compilation was started. ...
0
votes
0answers
9 views

Add swatches of custom attribute in catalog widget file

I have one query regarding swatches attribute I need to display these attribute in home page grid file. Anybody can help me Thanks.
0
votes
1answer
44 views

magento 2 multi-website This site can’t be reached

I have setup Magento 2 in WAMP stack. I have created two virtual hosts. magento230.com wateroff-test.net # magento230.com <VirtualHost *:80> ServerName magento230.com ServerAlias www....
1
vote
1answer
13 views

How apply Discount Sticker(Label,image) on Selected Product or Category

I want to this type of the image as a sticker on Product left or Right upper corner. Has any extension or anything else.
1
vote
2answers
54 views

Magento 2 query url rewrite

If I have URL like this - mainpage.com/products?test_category=99 and want it to be rewritten to this mainpage.com/testproducts Since magento2 URL rewrite won't take query how can this be ...
1
vote
0answers
17 views

How to disable frontend for CMS/API-only, headless Magento 2.3

I'm currently working on a web-app that uses Magento 2.3 as a CMS-only. How can I disable the customer-facing frontend and leave only the admin pages accessible? Alternatively, is there a way to set ...
1
vote
2answers
27 views

Magento 2 : How to convert class object to string using observer?

I am getting error during to save order data to xml format using observer.. Recoverable Error: Object of class Magento\Sales\Model\Order\Item\Interceptor could not be converted to string in ...
2
votes
1answer
29 views

How to add order summary in e-mail templates? Magento 2.3

I want to edit email templates. For now i can see billing info, payment info and items. I want to add order summary below items but i can't find any variable for this section. Could you help me with ...
2
votes
1answer
26 views

Magento 2 How to add external Js in a page

I want to add an external js in my home page. The external js loads a popup form in my home page. I have tried the code in phtml file and also in xml file. In both case the form will appear. But some ...
2
votes
1answer
20 views

Unable to get value from core_config_data in M2

I am developing one extension in which I have one configuration form, after filling form when I click save button it successfully save the data in core_config_data, but to retrieve that data from ...
2
votes
0answers
22 views

How Service Workers can speed up the store?

It may be useful to introduce service workers to increase loading speed? If yes, which resources are the high priority ones? Link to Service Workers docs : https://developers.google.com/web/...
1
vote
0answers
21 views

How do I replace &nbsp; with the €-symbol in my order invoice?

Recently I changed my €-symbol to "&nbsp;" to remove the €-symbol from my front-end store (see screenshot) But that also made my Invoice display the "&nbsp;" instead of the €-symbol. How do ...
2
votes
1answer
25 views

When should i reindex Design Config Grid?

There are different types of magento indexers as mentioned in https://devdocs.magento.com/guides/v2.3/extension-dev-guide/indexing.html Whats is use of Design Config Grid Indexer? and when does it ...
1
vote
0answers
29 views

How to make street field not required in M2

I want to make street address field on checkout page not required. For this I made change in eav_attribute table inside is_required removed 1 and added 0. But when I click place order button, the ...
1
vote
0answers
21 views

How admin menu.xml configuration file process in mageno2

How Admin menu.xml config file process in mageno2? which file responsible for processing admin menu.xml configuration file?
2
votes
1answer
52 views

How to update sales_order_item in Magento 2.3 using order_id(entity_id)?

In Magento 2, we can update an order data (a data in sales_order) using Magento Sales OrderRepository . My questions is: How we can update the sales_order_item data (the qty_invoiced and ...
0
votes
0answers
10 views

Show Vendor List in Payment mtehod

I have Created custom payment method i have 3 field in my payment method 1 - Vendor list(dropdown) in the drop down all vendor list show from other table how can do this.using knockout
1
vote
0answers
13 views

API V1/orders add product_options

I want add product_options to API V1/orders in items, how to do this? please help me! Im a freshman use magento2. have any easy way to do this?
1
vote
0answers
15 views

How to improve google search skills? [on hold]

I'm quite new in programming and especially in magento2. For me to find information I need, it takes a lot of time, mostly enormous amount of time. Very often I can't even find what I am looking for. ...
1
vote
1answer
19 views

How to save custom frontend form to database in Magento2.2.5?

How to save custom frontend form to database in Magento2.2.5? Any help would be appreciated
1
vote
0answers
16 views

how can we display state code in place of state name in checkout step?

I am not sure from where can I display state codes in place of the default name of the state in checkout step shiiping step.
1
vote
0answers
16 views

Change store attribute option value to display in product edit magento 1

I added my attribute, but it can not display another store view option value (ex: below picture) in product edit. It always display default value. Please help me find a solution to this problem. ...
2
votes
1answer
40 views

put country dropdown in phtml file in magento2

sayhello.phtml <!DOCTYPE html> <html> <head> <h2>Wholesale and Dealer Inquiries Form</h2> </head> <body> <table align="center"> <form action="&...
0
votes
0answers
9 views

Create config product with multiple attributes in magento1.9 soap api

Can anyone help me how to add multiple attributes to config product creation using soap api. I am followed the below link: link but iam unble create multiple attribues in associated product section....
2
votes
3answers
69 views

Need to override the core file in magento 2

How to override this core file because of real path issue magento230\vendor\magento\framework\View\Element\Template\File\Validator.php Can you suggest how can we override this ...
1
vote
1answer
26 views

Programmatically create a wysiwyg editor for frontend magento 2.3

I don't see any examples in frontend of magento for this case. Wonder how to add editor field from php class instead template When try to call wysiwygConfig->getConfig() in my block class i got error ...
0
votes
1answer
27 views

Magento 2 Add Billing and Shipping Company Column on Sales Order Grid

I have added two new column ('Billing Company', 'Shipping Company') in sales order gird using below code. di.xml <type name="Magento\Framework\View\Element\UiComponent\DataProvider\...
2
votes
1answer
26 views

Order Status Processing after Shipment and Generate Invoice also Invoice status showing pending in Magento2

Shipment completed and generate invoice but order status showing Processing and invoice is in pending. Also invoice showing a Capture button. why? Anyone Know?
0
votes
4answers
24 views

Magento 2 - Add custom js in admin product edit

I want to add custom js in product edit page (Admin) Is it ok to add it in some xml or is there any other way to do it? If it is xml, which XML do I need to work on?
0
votes
1answer
17 views

How to add loader for image on page load

How to add loader for image on page load .. I want to add loader until the main image is ready on page load. how to do this Thanks Update: <div class="outer-box"> <nav class="social"&...

15 30 50 per page