Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Magento 2: Product review page layout gets changed

When I click on "add your review" button of the product domain_name.com/concession-trailer-8-5-x20-black-1599.html it redirects me to domain_name.com/review/product/list/id/1427/#review-form ...
0
votes
1answer
31 views

How to get the store id for customoptions?

I have 3 languages in my site. I need to add different titles based on language. If I add through back end it will take much time (more than 300 values I have to enter for each product). If I get the ...
2
votes
1answer
35 views

Using getUrlPath in Magento 2.2.7 - URL Redirect

I have this script working on Magento 1.9 but can't figure out how to use it for Magento 2.2.7. <?php require_once 'app/Mage.php'; $sku = $_GET['sku']; $store = Mage::app()->getStore(); $path = ...
2
votes
1answer
71 views

How to add return form in magento 2.2? [closed]

How to add return form in my Magento 2.3. I added "MAGEWORX" for shipping service ?
3
votes
1answer
144 views

Magento 2: Make category field required in product form in backend

I want to make the category field required for product form in the backend. I have tried to add the required class in the block class, but nothing happened. Since the category field is not an input ...
1
vote
1answer
40 views

How to enable customer account in Magento 2?

I am not able to log in to Magento 2 frontend. "You did not sign in correctly or your account is temporarily disabled." This message is showing after the correct login. How to solve this ...
3
votes
1answer
133 views

Magento 2 - Page cache with hole punch

Magento page cache cached some of the blocks that has dynamic value, like Wishlist count on header for logged in customers I can make it dynamic using Ajax, but then it came to my knowledge that it ...
2
votes
3answers
43 views

How to export all customers based on ordered items SKU?

How to find all customers who ordered a certain SKU ?
1
vote
1answer
28 views

Move theme layout elements on a product view from within a Module Magento 2

I am having trouble moving the short description on the product page. I tried with the move command within the layout file without any luck. I can move any new created block where I want but I can't ...
2
votes
0answers
24 views

When I try to get quote shipping address, it returns customer default address. Does the quote session not updated with value in the table?

When I try to get quote shipping address, it returns customer default address instead of returning from my quote_address table. I'm trying to pre-populate checkout fields with quote address details. ...
2
votes
1answer
93 views

Which tables are updated in data migration tool Map step

In Magento data migration tool, we have a map step which migrates catalog and sales data. As I only want to migrate sales data, I need to ignore the unwanted tables in map.xml that are related to ...
1
vote
0answers
64 views

Magento 2 Associate Developer Exam [closed]

I'm starting to prepare for the Magento 2 Associate Developer Exam. Can you help with some tips for this preparation? Some books, tests, sites or something else? Thank you very much.
2
votes
0answers
15 views

Is it possible to set default checked for selected Product Categories?

For some specific requirement, I want to have some of the categories for the product selected by default, How I can achieve this?
3
votes
1answer
192 views

Create shipment and invoice in mass action

I want to create shipment + Invoice using mass action in order grid. Can anyone tell me the approach to do this? Share code if possible otherwise approach would be good. Thanks.
3
votes
2answers
199 views

Run Magento 2 inside a Docker Container

Is there a way to run my existing magento 2 project inside a docker container? I have an existing project that is run inside a vagrant but I'm encountering a lot of issue in the vagrant and we decided ...
2
votes
0answers
51 views

Get Quote and Quote Items using Magento 2 SOAP API

I am working with Magento 2 Rest APIs ( For Abundant cart ) and having issue with Quotes, I am able to get all Quotes ( with desired filters, is_active = 1, items_count > 0 ) using API : /rest/V1/...
1
vote
1answer
149 views

Magento 2 filter not working on custom customer attribute

I have created custom customer attribute. It is displaying in customer grid in admin panel but when I try to filter on my custom attribute, I get error SQLSTATE[42S22]: Column not found: 1054 ...
0
votes
1answer
34 views

Only 1 product adding to order when creating orders programmatically in Magento 2

I am in a process of creating orders programatically in Magento 2. below is my code: <?php namespace Eight65media\MpowerSync\Helper; use \Magento\Framework\App\Helper\AbstractHelper; class Data ...
2
votes
1answer
224 views

Magento 2 - Failed Authorize.net Transactions Are Not Being Canceled and Not Getting a Response from Auth.net

I have a pair of sites I manage that are on Magento 2.2.4 and 2.2.5. Both are using Authorize.net Direct Post and I have applied the Authorize.net MD5 patch from Magento to utilize the signature key ...
2
votes
1answer
58 views

M2.2 - Get Total Image Count for All Products

I recently did a migration from M1 to M2, and with doing that, all images came along. Some products tend to have north of 10 images, and some more like 1-3. I am trying to find a simple and fast way ...
1
vote
0answers
10 views

whenever loading url and reloading getting white blank page and it loading 2 -3 secs it's coming

We are working magento2.2 version hosted website. Everything working Fine but when loading website www.example.com it's getting some time white Blank page and again loading page as usual after 2-3sec....
3
votes
0answers
51 views

Magento 2 ExportButton component Product grid not working

I have added ExportButton on admin product grid and when i click on export it shows error Exception #0 (Magento\Framework\Exception\LocalizedException): A joined field with this alias is already ...
0
votes
1answer
77 views

Override onepage/link.phtml

we are trying to override the cart "go to checkout" button in a custom module, but can't get it working state. (CE 2.2.6) I am using view/layout/checkout_cart_index.xml with the following content &...
0
votes
0answers
21 views

Unable to add prototype.js and protype/window.js in custom page Magento 2

How to add prototype.js and protype/window.js in custom page Magento 2?
3
votes
1answer
152 views

Magento 2.2.5 After Upgrade To 2.3 CLI commands don't work

I upgraded magento version by documentation, after upgrade this happens: When running php bin/magento cache:flush or any other bin/magento command error appears There are no commands defined in the "...
2
votes
2answers
282 views

What is the meaning of triple curly braces {{{ }}} in phtml template files? When and how do we use them?

There is a phtml template file in one of the third party Magento 2 extension which has triple curly braces {{{ }}} in it. When is this notation used, What does it represent?
3
votes
0answers
97 views

Magento 2 How can I add State and Country attribute for customer in Admin?

How can I achieve State and Country field functionality in Admin under customer Account Information? I have referred this link to create in front-end https://magecomp.com/blog/create-country-...
1
vote
0answers
65 views

Product prices always round up [closed]

I'm using a minimal modified Magento CE 2.2.7 with a free Solwin template, nothing fancy. When I add products, Magento automatically rounds up the prices. eg: €2.30 becomes €2 €2.60 becomes €3 I ...
0
votes
2answers
105 views

How to disable welcome email in magento2.2 [duplicate]

I want to know how to create a custom module to disable this welcome message.
1
vote
0answers
44 views

Magento 2.2 - How to Create a custom dynamic checkout form

I have to solve following situation and need some help for the way of the solution. I have to create a custom checkout form, which input elements are defined in a db table. If the user has the ...
1
vote
1answer
23 views

Enabling DHL Marketplace in Magento 2

How can I add DHL Market Place in my Magento 2 admin? Been searching on how to enable it but can't find any solution. Should I just copy the download file into the app folder? or do I need to go to ...
1
vote
1answer
53 views

Should we update mySQL and Maria in Magento 2.2?

I am getting messages from our server that we need to update the installation of MySQL and possibly install Maria. (MySQL 5.6 to 5.7) Problem is that we are on a self hosted VPN and the server ...
1
vote
1answer
38 views

Get Postcode and make ajaxcall to API

im have no idea if im doing it right or not, and also i cant it put it work, im tyring to make a ajax call to get some information from a API and then present in the html, but first i need to check of ...
0
votes
2answers
98 views

Magento 2 : Custom Column Error

So, I have added a column to sales_order table. It is varchar type and it has some data in it. I found tutorial: here that show what I want to achieve exactly. Now, I am running Magento 2.2.3. and ...
0
votes
0answers
11 views

Rest API to a Magento 2 Site

Is there a way to make a REST API call to a website built in Magento 2? The scenario is I have multiple site and the header of these sites are shared whether I go to website 1 or website 2. Now when I ...
0
votes
0answers
33 views

Custom Magento Extension Enable and Disable by my custom admin module not working

I want to admin user can able to do module enable disable from back end, Its reflecting but doesn't worked. Please help. below is my system.xml code <?xml version="1.0"?> <config xmlns:xsi="...
2
votes
0answers
40 views

Magento 2 - product details tab title as an clickable link url to another page

How to make the product details tab title is clickable link, and grab the SKU from the current product page to the link? For example, I created a custom product tab called "Download", and when ...
5
votes
2answers
373 views

How do I post JSON to a web API method?

I want to send a JSON string via API, and then parse the JSON in code. I don't want Magento to try to convert my JSON parameter to a PHP object. I'm trying to add this to the stock registry API. ...
0
votes
0answers
15 views

How to add code to Magento?

I need to implement Magento for a customer, but it also needs an Magento-SAPB1 implementation by some Web Services that we already have, so i just have to invoke it from de E-commerce backend and ...
1
vote
0answers
32 views

Magento 2 : How to add configurable product to cart with the selected custom options?

I had a configurable product with two variants such as color and size and I have one customizable custom option, I am trying to add this product to cart with a custom controller, but it says the ...
0
votes
0answers
30 views

What is the best way to save a custom field in shipping address?

I have added a custom field on checkout in shipping address section using below code. etc/frontend/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
2
votes
4answers
164 views

Magento2 : How to add custom link in footer inside newsletter block?

To add custom link in newsletter block magento 2 ??
0
votes
1answer
139 views

How can i add custom button (not add to cart) in product page in Magento2?

I want to add a new button to the product page , in which file can I add or should I create a module for this?
1
vote
3answers
516 views

Unable to serialize value problem with Magento 2.2.6

Please teach in order to solve the problem. cd /vagrant sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy sudo php bin/magento ...
0
votes
0answers
26 views

Magento 2 - Problem with Payment Gateway - Not redirect

the bank of my client gave me a module to be installed on my magento 2.2.4 which enables the credit card payment system linked to that bank. they also gave me ID, SIGNATURE and URLs, but when I try ...
1
vote
1answer
34 views

How to add module template on theme template

Please check the picture below.
0
votes
2answers
287 views

Magento 2 - get final prices include tax and round

I've custom block phtml in my old store and I need to be converted to Magento 2. Magento 1.9.x code: $_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(...
2
votes
0answers
121 views

Magento 2.2 Layered Navigation Category Page issue

Thank you for taking time to read this: We have customised our theme to show Category images on Category Pages – and also Category Banners. All this is controlled form the Category Settings from ...
1
vote
2answers
24 views

Get Category URL multistore and multisite

I have a 2 website. https://website.com (Default Website) https://site.website.com (Secondary Website) Now I'm accessing the admin panel using the https://website.com/admin/catalog/category... Now ...
2
votes
1answer
53 views

How to change tab position sorting order from admin catalog product Magento 2

Need to change sorting order up/down tab product add/edit from admin catalog product.