Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

General questions about the Magento 2.2.x versions

0
votes
0answers
7 views

Magento 2 many to many product attribute

I want to create a module which is a product attribute and can have many items from my custom table, is there any guides or tutorials for something like this as I'm struggling to find anything but ...
1
vote
0answers
12 views

Magento2 - Different shipping prices on storeview level

We have a Magento 2 shop with multiple storeviews (Languages). Let's say shipping to my country costs USD 7, including tax. We have set this up in the backend with the flat rate shipping method. The ...
0
votes
1answer
18 views

Magento multi Language store

Good Morning, one client asked to internationalize a magento 2.2.3 store adding other two languages (english and spanish). The current website is on production since april with only the default ...
1
vote
1answer
26 views

Composer in Magento 2?

How to upgrade new version of module code by using composer in Magento 2 from the third-party repository. How to upgrade third-party module using composer? If anyone knows then please help me out. ...
1
vote
0answers
14 views

Magento2: Add Edit/Delete action link in separate Column in Admin Custom Grid using layout

I have created admin grid using layout. and i have added column generation code in app\code\Demo\Grid\view\adminhtml\layout\demo_grid_test_index.xml i am able to use below code for edit row, but i ...
0
votes
0answers
15 views

How to add pagination only in controller and view file in magento2.2 custom module? [on hold]

How to add pagination only in controller and view file in magento2.2 custom module ?
0
votes
1answer
24 views

Magento 2.2 Theme Layout

Can anyone elaborate the theme structure of Magento 2.2. I already refer the Theme document for it. Also I want to change the category page layout so please guide me. Category description block is ...
0
votes
1answer
11 views

Magento 2.2 admin domain and front domain is different so loaded iframe

We have 2 domain. and set into magento 2.2 as Front-Domain : abcxyz.com Admin-Domain : test.com Admin section called one iframe from front-end. Means: on admin call URL of the iframe is abcxyz....
0
votes
0answers
24 views

Grunt exec doesn't work

Magento 2 (2.2.4) I ran grunt exec:xyz Running "exec:xyz" (exec) task /Users//.nvm/versions/node/v10.7.0/bin/node: bad option: --force Exited with code: 9. Error executing child ...
1
vote
1answer
14 views

Magento2: Missing commands on build server

I try to make a Magento2 Pipeline Deployment and running in a awkward error. But first a few words to the deployment: I use a docker container with installed php and nodejs. I copy in the container ...
0
votes
1answer
11 views

Magento 2 Customizable Options for orders not appearing using API

Is there a way to get customizable options from an order to the API? For example, this product allows a customer to enter a name on a t-shirt - This also appears on the admin side of the order - ...
1
vote
1answer
41 views

how we can get product name , image, price and url in magento 2 product factory collection

How we can get product Name, image, price url in magento2 product factory collection
0
votes
1answer
18 views

Schema in magento2

I want to change the eav attribute table like UPDATE eav_attribute SET is_required = 0 WHERE attribute_code = ‘lastname’ How to update the eav attribute table without using query.
0
votes
0answers
21 views

How we can add custom attribute in attribute form using observer?

I want to add the new custom attribute on attribute form to select attribute set when creating an attribute. I've checked an event in Magento '...
1
vote
2answers
20 views

Remove Categories from Layered Navigation - Magento 2

I would like to remove the categories section on the layered navigation but do not see where they are called within layered navigation module.
0
votes
0answers
13 views

Move Customizable Options below product description

I need to move the Customizable Options block below the product description as the options I am adding to the product are quite long and push the content too far down. They also need to be in four ...
1
vote
0answers
13 views

Magento 2.2.5. What would be the correct way to update a price based on tier pricing

Is there a way to update the product price based on user selection when I have enabled tier pricing in a product? For example, in the below image, if the user enters 5 in the Qty box, the price gets ...
3
votes
2answers
28 views

After changing store for different language it does not change static content or user added content in magento 2?

I have created 2 store views one for English and another for Persian and it works,but when I change website language, it converts only Magento phrases, Actually, I want to convert all additional ...
3
votes
1answer
27 views

Create Link Dynamically By Customer Group in Customer Account Navigation - Magento 2

I am attempting to add links to certain customer groups that will show on Customer Dashboard. I'm having trouble figuring this out! Help!
0
votes
0answers
11 views

How to extend the built-in elastic search?

I'm totally new on elasticsearch. I'm curious on how to use the built-in elasticsearch function. And I want to build a custom facet search. I want to have a search bar like this website. We can ...
1
vote
0answers
15 views

Magento 2 : Add Additional Cart Item Notice to Transactional Emails (Out of stock notice)

I am relatively new to Magento and am developing a site on version 2.2.5. I am trying to figure out how to display the cart item message notice in the transactional email. This is the notice that is ...
0
votes
1answer
12 views

How to crop square images in Magento 2 using view.xml

I am absolutely confused to hell with view.xml image cropping. I am just trying to take the images I have uploaded and crop them to a square size using the etc/view.xml file from my theme. I have ...
0
votes
0answers
9 views

Display the product image in shipment email template in magento2

I need to display the the product image in shipment email template. $_item = $block->getItem(); $productId = $_item->getProductId(); $objectManagerHere = \Magento\Framework\App\ObjectManager::...
0
votes
0answers
6 views

Magento 2, how to get all product options with their price of configuration for view reorder by API?

Using Magento 2.2, API, Reorder. I need to get all cart item information from Product Detail page by programmatically. Step 1: Click Reorder from My Dashboard -> Recent Orders I need belove ...
1
vote
0answers
18 views

Edit Data is not coming selected with Ui component grid

We have created one grid with UI component for our custom module. Add New, Delete and Mass delete functionality is working fine. I have also added Edit data functionality. I can get the data while ...
0
votes
0answers
14 views

Add list of users with specific role as customer attribute

How can I add customer attribute similar to Group attribute but with users with specific user role? With this site > http://www.silksoftware.com/magento-module-creator/magento2x.php I generated ...
1
vote
0answers
10 views

Cron job error SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

Suddenly and without reason, I get error via the mail concerns a cron job that could not be executed. Here is the report : *[Magento\Framework\DB\Adapter\DeadlockException] ...
0
votes
0answers
8 views

Magento2 extending class in a custom module conflicts with other module extending the same class

I have created a Custom Module to override the Image sizing on upload. In my block I have the class, which extends like: namespace Myweb\ImageResize\Block\Media; class Uploader extends \Magento\...
1
vote
1answer
27 views

Magento 2.2 | Add breadcrumbs to catalog product view

How can I add breadcrumbs to the catalog product view page? I override in my theme: catalog_product_view.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
3
votes
0answers
19 views

Magento2 Creating custom product type combining two other types

I want to create custom product type combining Virtual type and Grouped type, how can I customize what's available for the user to edit? I have created a simple custom product but I have no idea how ...
1
vote
0answers
18 views

How to change tab order on product page?

I added some custom tabs to magento, but I can't change order of that. I tried do it by xml by set priority and I even tried overwrite table in details.phtml in fona core, but it don't work. I want do ...
1
vote
0answers
12 views

Magento 2.2.5 Question about permissions - checkout infinite loop

Currently I am in developer mode and I think I am having a problem with permissions. I am only using a magento user to run magento tasks and never sudo/root. I have seen that the files that get ...
0
votes
0answers
9 views

Magento 2, How to respond array in API without sort

Using Magento 2.2, API. I need to return array sort by value but although I try to sort by value the result still return array sort by key. CODE $listStore = array(); // Store locator collection $...
0
votes
0answers
17 views

Magento 2, How to create API for customer login by using facebook

Using Magento 2.2, API. How to create login/logout into magento by using Facebook. I got user profile info form facebook and I need to use this info to get Get Customer Token.
0
votes
0answers
17 views

Magento2 remove slider of gallery images on product detail page

I'm using Magento2.2.5 Version, On product detail page by default gallery images showing in the slider. Here is the screenshot for the same:- http://nimb.ws/YrIb2P But I want to show, gallery ...
0
votes
0answers
20 views

Address Information And Customer address are not showing in magento 2

I have upgrade m2.2.1 to m2.2.5 but address template or customer address are not working This is not only in order view, but also everywhere that displayed the customer address by the template and ...
0
votes
0answers
7 views

How to add scroll in bundled product custom options?

I have created one bundled product and I have added 9 sub-products in this product Refer below screenshot for all sub-products: I want to add a scrollbar when the no. of sub-products are greater ...
0
votes
2answers
30 views

Magento 2, How to create API for customer forget password?

Using Magento, API. I need to create an API for customer send forget password. I found the page that allows to customer send e-mail for request change password but I don't how to use this page for web ...
0
votes
1answer
29 views

admin/url/custom cause media directives to break

If admin uses a custom domain, different from the default website, the WYSIWYG image-selector will return malformed media directives, causing broken links to images. Expected directive: {{media url="...
1
vote
0answers
26 views

I need a help to convert magento 1.9 code to Magento 2.2.3 version [closed]

app/code/local/EBL/Skypay/controllers/PaymentController.php <?php class EBL_Skypay_PaymentController extends Mage_Core_Controller_Front_Action { public function gatewayAction() { if ($...
2
votes
0answers
22 views

Minify the html in Magento 2.2.5

After minifying html in developer mode and change into production mode (in Magento 2.2.5) I can't see the any product in cart page. Only load the total section in cart without any product . How ...
0
votes
0answers
15 views

Checkout page error required fields

I use google maps autocomplete to fill address[0] field and city field and autocomplete these fields from jquery after getting response from map. After the fields populated I press place order but ...
0
votes
0answers
25 views

Magento 2 Login Password Issue after Migration

After Migrating data from old website Magento 1.9.1.0 to new Magento 2.2.4, customers are not able to log in and they are getting an error You did not sign incorrectly or your account is temporarily ...
0
votes
0answers
24 views

Image preview not display in magento2

Upload the customer image in the backend.But not display the image preview.(magento 2.2.5) I'm using this extension https://github.com/php-cuong/magento2-customer-avatar How to fix the issue? ...
0
votes
0answers
10 views

Wrong count in admin Grid when using GROUP BY clause in collection in Magento 2

I am trying to add a custom column in my custom grid in the admin panel. To add the custom column, I have used LEFT JOIN and GROUP BY in the collection which I get from the parent grid class. After ...
0
votes
0answers
19 views

Magento 2 : Display Loader While Ajax call on Column row action?

Grid xml column: <column name="actions" class="My\Test\Ui\Component\Listing\Columns\Feeds\AdvancedActions> <argument name="data" xsi:type="array> ...
1
vote
0answers
21 views

extend “private method” in a define module via mixin

Let's say we have a class that returns a Magento uiComponent, that I want to extend (original.js) /* file name: original.js */ define(['uiComponent'],function(Component){ 'use strict'; //here'...
0
votes
0answers
17 views

Tier price for customer group does not automatically apply after logging in

I have a store with customer groups for different customer "levels". Each level has discounted pricing that is set up using tier pricing. My problem is the tier pricing does not apply if a customer ...
1
vote
0answers
20 views

Magento 2: Show Tax amount in Product View

I'm trying to show the Tax Amount in Product View. I've set the TAX to including TAX in Calculation Setting. I wanna show the Tax amount like this. and I've Create the Tax Rate & Tax Rule. I ...
0
votes
0answers
9 views

Magento 2 remove unwanted paramaters from category tree response

I have used magento 2 tree structure method to get the list of the category and it's sub categories. I need only Category name,category id and children only in response. How can i remove all this ...