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

Questions tagged [magento2]

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

1
vote
1answer
20 views

Free Shipping for magento 2

I'm very new to the Magento 2 framework. I would like to know that how to set up free shipping above the amount 50 dollars and below amount should have 6.5 dollar shipping charges. Please help me to ...
2
votes
0answers
16 views

Magento 2. how to hide price only for specific categories

Actually I hide the price using Plugin but now I want to hide price only for specific categories like I only want to hide the Price for bags. I want to do this thing by using Admin configuration like ...
1
vote
0answers
12 views

configurable price issue in quickview and list page magento2

I'm having an issue with pricebox.js/configurable.js and configurable products. They are used in quickview and on individual product pages. same Issue I can see in this platform in this link ...
1
vote
0answers
9 views

Magento 2 - Configurable product with multiple price attributes

I'm facing a dead-end with my configurable product and my simple products. Right now, im struggling setting up my configuration prices in a way that make sense for my products. Since Magento 2 , the ...
0
votes
0answers
11 views

Show Drop down attribute value in Magento 2

I have the following problem. We do have a attribute 'delivery_time' and the block calls the attibute.phtml under vendor/magento/module-catalog/view/frontend/templates/product/view. Unfortunatly is ...
0
votes
0answers
9 views

Migrated Attributes with 1000 options not saving “Use in Layered navigation” value to “yes”

I have a select attribute with 1000 options. When I tried to save the attribute as use in layered navigation as "yes". It will be saved successfully but with "no" as value.
1
vote
1answer
20 views

route shows user login page title

In one Magento 2.2.6 instance something very odd occurs: the meta page title shows <title>Customer Login</title> and the page title in the content also shows Customer Login - even though ...
0
votes
1answer
25 views

Magento 2 How to add custom attribute to customer address and how to insert value in that attribute?

I want to add a new custom attribute to "customer_address" that I did with an attribute installer script, now I am able to see that field in "eav_attribute" table. I have created a module and I have ...
3
votes
1answer
56 views

How to get product video in product listing page in magento 2?

How to get product video as base and thumbnail in product listing page. Currently, Only Video preview image is showing in listing page. But I want to display video in listing page instead of the ...
1
vote
1answer
31 views

phpinfo() in magento2

I created a phpinfo.php page in my Magento2 project but when I try to access it via URL it shows a 404 page. It's set up here in the magento root: |-Magento2 |-----<other folders etc.> |-----...
2
votes
0answers
22 views

Replacing string in checkout summary

We have managed to modify the " Talla" Field in order to remove the "(-)" part. What happens is once we go to next, once selected the address we want to send to, it reloads the page and the "(-)" ...
0
votes
0answers
33 views

install magento 2 onto local WAMP Server

Experts! I've installed Magento 2 (CE 2.3.0) into local WAMP server. Everything looked fine until I try to get to Administrator's page. This page looks like complete black screen (I am using Chrome as ...
0
votes
0answers
11 views

Magento2: Magento media to S3 bucket uploading issue

I have installed the Thai Module for transfer media to S3. When I run the php bin/magento s3:storage:export images upload successfully but images not showing on S3 bucket. Please check the screenshot....
1
vote
1answer
20 views

Magento2: crontab not working in magento for emarsys catalog generation?

I am trying to run the command php bin/module cron:run but getting error in CLI. Here is my crontab.xml enter code here<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
18 views

How to fix the migration error [Exception] Warning: PDOStatement::execute(): MySQL server has gone away

How to fix the migration error How to fix the migration error [Exception] Warning: PDOStatement::execute(): MySQL server has gone away in C:\xampp7.0\htdocs\magento220\vendor\magento\data-migration-...
2
votes
1answer
40 views

Magento2 : how to change admin startup page programmatically

I want to change landing page of admin based on some condition how can I achieve this ?
0
votes
2answers
32 views

How do I add a custom message block at the beginning of the maincontent div in product list/ detail page

How do I add a custom message block "Lorem Ipsum dolor sit amet" at the beginning of the "maincontent" div that appear below the breadcrumbs in product list/ detail page. Thanks in advance.
0
votes
1answer
12 views

Magento 2.2.4 Composer Patch Failed: “1 out of 1 hunk ignored”

Applying patch to v2.2.4 for Github issue 14968, but I keep getting hunk fails error. After looking Looking here: SUPEE-9767 - Hunk #1 FAILED at 225. 1 out of 1 hunk FAILED I believe the problem is ...
1
vote
0answers
14 views

What causes the Magento2 interfaces and APIs to leak implementation details at every orifice?

One of the things that surprised me so much, after spending multiple times more than working with typical platform, is the degree undocumented and ever changing implementation details must be known to ...
1
vote
1answer
38 views

load product grid ui component

I want to load the product grid via an ui_component. <fieldset name="fieldset_name"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
0
votes
0answers
7 views

Issue with productlist widget - VES_ALL and VES_Productlist [on hold]

Im facing a problem, Installed the VES_ALL and VES_ProductList module to have widget with lot of options like latest arrivals, sorting , season style and may other. This module is from LandOfCoder.com....
1
vote
0answers
22 views

Call php in system.xml

I want to call a php file containing first name in system.xml. I know that it can be done by using source_model and using class class_name implements \Magento\Framework\Option\ArrayInterface Is ...
0
votes
0answers
16 views

Magento2, Is it still necessary to disable a module before uninstalling it, and setup:upgrade? Any idea why this can't be the one command?

To disable a Magento2 module, I do the following. php bin/magento module:disable <ExtensionProvider_ExtensionName> --clear-static-content php bin/magento module:uninstall <...
0
votes
1answer
30 views

Invalid template file:in Magento 2.2.7

When i am installing magento 2.2.7 in my local dev window system using wamp, Than i getting 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'D:/...
0
votes
1answer
27 views

How can I change the sender name?

How can I change the sender name in Centos? All magento transactional emails are delivered with the user name i@prokaryotes.ru. Please see attached.
0
votes
0answers
8 views

add to compare list

I'm building rest api to add product to compare list. that's my code: /** * @api * @param int $productId * @return array */ public function addProduct($productId){ $userType = $this->...
0
votes
0answers
8 views

JS Error on Custom Renderer for AbstractFieldArray

I have added a field array to one of my config pages, and it worked until I decided to add a checkbox. I created a custom renderer for the checkbox with the name is_syncable, but get the following JS ...
0
votes
0answers
22 views

Magento2: Notice: Array to string conversion?

I am getting the following error after updating my custom admin record only for image upload field in magento2.2.5. (Notice: Array to string conversion in /var/www/html/magento2/vendor/magento/...
0
votes
0answers
7 views

Magento2, Can attribute value conflicts be avoided in a large product catalog?

I'm working with a very large catalog of products, and am preparing the data for importing into the cart. However I've got a pretty ugly problem, different products place different meanings on the ...
0
votes
0answers
8 views

Can it's possible to set JavaScript variable on <script type=“text/x-magento-init”> tag data in Magento 2

I want to make the changes of spConfig variable by javascript variable. <script type="text/x-magento-init"> { "#product_addtocart_form": { "configurable": { ...
1
vote
1answer
26 views

Prevent Magento2 display information on script on homepage

I would like to know how can i stop magento2 to printing information about my plugin and script on homepage.If u analyze my code i have got all these script that contain information about all plugin i ...
0
votes
0answers
19 views

Remove label from custom field

I have magento 2.1.1 and I want to remove custom field label which is added by 3th party module. In that module appropriate xml file is placed by path Namespace_ModuleName/view/frontend/layout/...
0
votes
0answers
17 views

Magento 2.x how to get ui-select selected value

I have place ui-select component and i want to get value in my custom component. How can i get selected value in custom component ? list.js file Here is my output.
1
vote
0answers
8 views

magento 2 - Access denied for user - cache problem

1 exception(s): Exception #0 (Exception): Warning: mysqli_connect(): (HY000/1045): Access denied for user 'aromacak_db30'@'localhost' (using password: YES) in /home/aromacakes/test.aromacakes.online/...
1
vote
0answers
9 views

Why 2 classes Magento\Framework\HTTP\Client\Curl and Magento\Framework\HTTP\Adapter\Curl for same purpose?

Magento Framework has 2 classes for Curl operations: \Magento\Framework\HTTP\Adapter\Curl and \Magento\Framework\HTTP\Client\Curl What is specific use-case for each as both are capable of doing ...
0
votes
0answers
17 views

Migrate only single store data from magento 1 to magento 2

I need to migrate only single store data from magento1 to magento2. Could any body share how to achieve such functionality? I have migrated all data from magento1 to magento2 but not able to figure ...
0
votes
1answer
14 views

How to render HTML entities in the wishlist sidebar

I have added the © symbol to product names in Magento 2. These all appear fine on the category and product pages, however when I add an item to my wishlist the product name appears with the text &...
1
vote
0answers
14 views

Magento 2.2.5 Enterprise Edition Price Reindexing On Checkout fails in case of backorder

I have been facing issue on checkout page in case of Back Order product. The exception I am getting "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '42438-0-1' for key 'PRIMARY',...
1
vote
0answers
11 views

frontend layout handle not working

frontend layout handle not working other than default.xml. Folder structure: Namespace Mymodule Block view frontend layout default.xml -- loading ...
1
vote
0answers
27 views

Magento 2 How to separate every product on products layout

I want to separate every product on products layout. Now: I want separate product:
0
votes
0answers
5 views

Creation of Folders in subdomain folder on root: Whenever creating files on cpanel in Subdomain's folder, the ownership of user is wrong

Since I started working with Magento 2 I have had consistent problems with permissions, usually with the var/cache directory. Typically when I clear cache using the command line I start running into ...
0
votes
0answers
11 views

Magento 2 Email Templates css not working

Iam using Magento 2.17, In this iam working on Email Templates , When iam trying to add my custom css in "Template Styles" its not working Plase help me out this..... Thanks in advance....
0
votes
0answers
11 views

In Magento 2.1.1,Warning: Invalid argument supplied for foreach() in Product.php.

When I placed the order I get the below warning on the checkout page in the frontend. Warning: Invalid argument supplied for foreach() in /chroot/home/wsfdepot/wsfdepot.nextmp.net/html/vendor/...
3
votes
1answer
26 views

Interceptor does not Exist

Hello guys , I am currently on magento version 2.3.0 and I am getting this error whenever I try adding a product in my admin panel. Can someone kindly assist me . After running php bin/magento setup:...
0
votes
0answers
4 views

magento 2 in select all products in update attributes not working?

i have try to select all products in admin panel side catalog but its not working? selet all products and update attributes. its come to some of issues ?
0
votes
0answers
26 views

Magento 2 integration with digital voucher management platform

We operate a business where we sell products and services via our Magento store that are actually provided by external companies. The model is similar to a Travel Agency, which traditionally issues ...
4
votes
5answers
131 views
+50

Magento 2 Setup di Compile Problem

After I upgraded to Magento 2.3, running the command setup:di:compile, I get this error: Area configuration aggregation... 5/7 [====================>-------] 71% 58 secs 276.0 MiB In ClassReader....
0
votes
0answers
24 views

Magento2 certification retake questions same as 1st attempt?

I was failed magento2 professional developer exam, I'm studying on these days to 2nd attempt. Anyone know do we have similar set of questions for 2nd attempt?
0
votes
0answers
6 views

Error while trying Schedule new Update for a Product

Trying Schedule new update for a Product, I get this error after click Save: Error: : Something went wrong while saving the Magento\Catalog\Api\Data\ProductInterface. I have 2 environments ...
0
votes
0answers
13 views

Magento2 QTY is always decimal, is this default? Can it be set non decimal?

My QTY is always in decimal for all products I import, is the decimal qty actually magento2's default? I've set the column on my import, but it seems I always get the decimal regardless. How do I set ...