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.

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

Slick slider with ajax not appending in slider

I am trying to follow this answer but for me its not working perfectly I created custom phtml & block which will show the product slick slider, till time is working perfectly, but after the use ...
0
votes
1answer
19 views

Magento2 - How to develop for Magento Enterprise Edition

One of our client asked us to implement an ecommerce solution based on Magento2 Enterprise Edition for which they have a license. We, as contractors, don't hold the license, and the client don't want ...
0
votes
0answers
18 views

Magento2 Programmatically set product images order

I am creating a product programmatically. The problem is that those product images are then displayed in random order in Admin and on storefront. Could someone, please, suggest how to forcingly set ...
0
votes
1answer
23 views

M2 - Get attribute set ID

I've looked through different posts and options but nothing that fits my question. How can I get the Attribute set ID of the current product on the product detail page?
0
votes
0answers
14 views

Placing configurable products in a different category than associated simple products

This is not really a technical question but I couldn't find an answer online. Is it considered bad practice to have configurable products placed in a different category than its associated (not ...
0
votes
0answers
9 views

Magento 2 UPS settings with cart price condition

I am trying to setup UPS shipping Method rate in Magento ver. 2.3.2 where there are some conditions as per cart price subtotal. Order Subtotal Shipping Cost 0-35.99 10 36-55.99 ...
0
votes
0answers
25 views

Magento2 - Change position of wishlist on catalog-category view page

I want to change the position of Wishlist icon on the top of image . Do I have to achieve this through xml or through css? I tried through xml but I couldn't move it over the image. Here is the ...
0
votes
1answer
23 views

Magento 2 addFieldToFilter check for NULL not working

What i am doing ->addFieldToFilter('value', array(['eq' => '', array('isnull' => true)])) What i want in the query - '((value = '' )is NULL)` Can anyone help me on this Thanks.
0
votes
0answers
18 views

Magento 2: "Add to Wishlist” not adding configurable products options

I am trying to add wish list button in mini cart,it works well for simple products but not adding the options for configurable products. Override Magento_Checkout mini-cart template: <?php ...
0
votes
2answers
54 views

Magento 2 get current store currency code [duplicate]

In Magento 2 I have tried to get the current store code by the below-mentioned code line. But it returns an empty string. $this->_storeManager->getStore()->getBaseCurrencyCode();
0
votes
0answers
14 views

Authorize .Net depricated in 2.3.4 and problem in installing from the market place

Recently i had installed Magento 2.3.4 and it is observed that Authorize .Net and Authorize .Net Direct Post has been depricated. and magento says install from the market place. when i try to download ...
0
votes
0answers
15 views

Use of vendor/magento/magento2-base?

After setting up a Magento shop with composer create-project --repository=https://repo.magento.com/ magento/project-community-edition I've got a file structure that seems to be identical to the ...
0
votes
0answers
19 views

Add the word “Pre-owned” before every product name on my print PDF invoice

How can I show the word "Pre-Onwed" on start of our every product name in the print invoice template.
1
vote
3answers
24 views

Magento2 - How to make custom module for customize maintenance mode?

I want to customize maintenance mode in Magento2. Magento2 error message will be hide and my custom message will be visible. If you know anything related to this then share with me.
0
votes
0answers
19 views

Magento 2 reindex process stuck on Category Products and Product Categories

I am working on Magento 2.3.2. I am doing reindex but the process is never ends for Product Categories and Category Products for total of 60K Prducts I tried to reset these both and tried to reindex ...
0
votes
0answers
15 views

Magento2 How To Set This Program Block File [closed]

$fieldset->addField( 'html', 'text', [ 'name' => 'html', 'label' => __('Html Content'), ...
0
votes
1answer
39 views

Magento 2.3.4 - Missing records in the Content->Design->Configuration

Magento 2.3.4 - Missing records in the Content->Design->Configuration Can't add favicon in the Magento2. In Admin panel -> Content -> Design -> Configuration. Shows We couldn't ...
0
votes
1answer
34 views

Get attribute value in magento2

I am using an object manager to get the attribute value even though it's not recommended. I am getting NULL in product-object which causing error "GetattributeText() on NULL". Below is the code that ...
1
vote
0answers
17 views

How to pass form id to insetListing components dataprovider in magento 2?

I want to add affected products listing inside catalog price rule form. I have followed related product example to do the same. Same as related products I have added insertListing component inside ...
0
votes
0answers
17 views

undefined Index : store in schemabuilder.php [duplicate]

After up-gradation Magento 2.1.4 to 2.3.4, I got the issue when I run upgrade command <pre>storeNotice: Undefined index: store1 in /var/www/html/magentou/vendor/magento/framework/Setup/...
0
votes
0answers
18 views

Magento 2 Internet Explorer Loader Stuck at Checkout

I am using Internet explorer browser, Checkout page is simply loading with loader image. It is working fine in all other browsers, I am getting below error in console. Please anyone can help me ...
0
votes
3answers
33 views

how to move fotoroma navigation thumbnail vertical to horizontal in magento 2

how to move fotoroma navigation thumbnail vertical to horizontal to the bottom of the main image in magento 2
0
votes
0answers
11 views

Magento2 Admin Grid first (Base table) table data store foreign Key table data not store

In Database data store 2 table using foreign key First table store data while another second table does not store data. public function __construct( Context $context, CancelFactory ...
0
votes
2answers
32 views

Magento2- Email template not being translated

I have created a custom email template, all works well everything is shown, except when I use the trans dictionary to translate a string from English to German, the translation does not seem to work. ...
0
votes
0answers
22 views

after Upgradation 2.1.4 to 2.3.4 undefined index :Store schemabuilder,php

after upgradation from 2.1.4 to 2.3 when run upgrade command this noice terminate the upgrade process. Notice: Undefined index: store in /var/www/html/magentou/vendor/magento/framework/Setup/...
1
vote
0answers
43 views

Magento2 - override extension template

The project using an extension called 'Amitshree'. I need to override an email template file (filename.html) created in this extension in my project. I need a step by step solution because I am not ...
1
vote
0answers
37 views

Error while getting the access token(oAuth based authentication) through postman in magento v2.2

I must include oauth_verifier request parameter in the Authorization header in the postman call to get access token from request token through postman in magento v2.2, I could generate the access ...
0
votes
0answers
24 views

Magento 2 : update product custom attribute value (type: date) in specific product programatically

I want to update product custom attribute value in specific product which is type date programatically can anyone suggest how to update. I trying below but not success. $date = 31/03/2020; (string) $...
0
votes
0answers
17 views

magento 2 Failed to parse time string

I want to serialize array of date to store in DB while serialize date i am getting error Failed to parse time string, i have tried this if (isset($data['startdate']) && $data['startdate'] ...
0
votes
0answers
11 views

how to create bundle product dynamic programmatically

<?php use Magento\Framework\App\Bootstrap; include('app/bootstrap.php'); $params = $_SERVER; $bootstrap = Bootstrap::create(BP, $params); $objectManager = $bootstrap->getObjectManager(); $...
0
votes
0answers
36 views

Magento2 - More than 80 product cant able to import

I have total 1280 proudcts in my csv file in my csv only qty and sku column is there and I try with that in my live server at a time 80 products are imported successfully but more than 80 products is ...
0
votes
2answers
53 views

How to Fetch database table value to frontend

I have a custom module that checks Pincode, kindly check the screenshots below:- I have created a custom import function and added a table to the database which will hold the value imported by CSV ...
0
votes
1answer
16 views

Magento 2: Admin grid search is not working [closed]

Admin grid search is not working. I have googled but not get the solution. Anyone have a solution for this. Thanks
0
votes
1answer
23 views

Magento2: How to pass data from model file to knockout.js?

I want to pass the data from model file to knockout.js in Magento2. My Code: Model file: <?php namespace Amy\MyPackage\Model\Total\Quote; /** * Class Custom * @package Mageplaza\HelloWorld\Model\...
1
vote
1answer
30 views

Don't understand the details of upgrading Magento from 1 to Magento 2 latest version

I have a website on Magento 1.9.0.1 on one Linux server with PHP 5.6 and I need to upgrade it to the latest version and install it on another Linux server with PHP 7.2. So, I'm very confused about my ...
0
votes
1answer
25 views

How to use systemd timer to replace OS system cron?

My Linux distro does not have a system cron by default. I can install one, but as an alternative, is it possible to replace that functionality for Magento 2.3 with a systemd timer? If so, what are the ...
0
votes
1answer
32 views

Problem with installing mcrypt on PHP 7.3.13 Ubuntu

I have moved my magento 2 project from one vps server to another. So im currently setting up all the PHP modules. But there seem to be some problem with the mcrypt module. This is what I have been ...
0
votes
0answers
17 views

Magento 2: How to add spellchecker in tinyMc editor in custom module?

I am using tiny editor in custom field in frontend form. I want to use spellchecker in this editor. I have a form with different fields including description that have tinyMce editor. The code of ...
0
votes
2answers
21 views

output information from the database magento 2

/Block/Reviews.php <?php namespace Training\Reviews\Block; use Training\Reviews\Model\ResourceModel\Reviews\Collection; use Magento\Framework\View\Element\Template; class Reviews extends \...
0
votes
0answers
15 views

M2: no_NO not recognised despite installed via community engineering lang pack

bin/magento info:language:list This return nb_NO and nn_NO for Norwegian, however no_NO does not exist. I can see some packages having the no_NO language file though (Stripe, Mageplaza). I tried to ...
0
votes
0answers
25 views

Using EAV attribute as foreign key?

What would be the best way to link products and customers. I want that all products are assigned to customers. So customers can create their own products. As I am new to Magento I can think of 2 ways:...
0
votes
1answer
35 views

How to make offline payment type as prepaid in magento 2?

I created a offline payment method for admin. If I use that payment method to create an order means it showing as COD as the payment method type. But I want to make as Prepaid.
0
votes
0answers
32 views

How do I send Order Confirmation Email after successfull Payment in Magento 2.3.0

I am struggling with this from past 3 weeks and tried almost all of the solutions suggested but nothing works for me. I want to send an Order Confirmation email after successful payment (Payment ...
0
votes
0answers
24 views

Magento 2 Home page Banner update issue [closed]

Whenever I try to update my home page banners from admin panel , content > pages > home page. After saving it, the home page banners disappears from the front end. Reverting back to the old code also ...
0
votes
2answers
34 views

How to manage CSS performance in Magento 2?

I have a performance question about css and themes in Mangeto 2. Is is better for performance write the specific css for some page like homepage in a separated file, and only load that file in ...
0
votes
0answers
11 views

How to add new order status like Ship as I want to create new order status for order delivered to fire mail like ship

How to add new order status like Ship as I want to create new order status for order delivered to fire mail like ship and change the order status. For Order status flow for in Magento normally is: ...
0
votes
2answers
43 views

Magento 2 PWA and Which Magento version is necessary?

Which PWA better for Magento 2? Magento 2 PWA Studio? or vue storefront PWA? Also If we use Magento 2 PWA Studio then it's only work on garter 3.0 Magento 2 version? Thanks in advance.
0
votes
1answer
33 views

Magento 2: Checkout order summary show custom product attribute failed to load component issue

I'm trying to show custom product attribute in checkout order summary section. I have achieved this by override vendor/magento/module-checkout/view/frontend/web/js/view/summary/item/details.js and ...
0
votes
0answers
15 views

magento 2 in how to category filter in all subcategory list show?

magento 2 in how to category filter in all subcategory list show ? Category • Technology & gadgets ◦ Power Bank ◦ Fitness Tracker ◦ Smart Watch ◦ Wireless Chargers ◦ Mobile ...
0
votes
1answer
20 views

syntax error, unexpected end of file in C:\xampp\htdocs\porto\app\code\Order\Tracking\view\frontend\templates\order\history.phtml on line 73

i am getting error in last line <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @codingStandardsIgnoreFile /** @var \Magento\Sales\...

1 3 4 5 6 7 748