Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

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

Load attribute set from category magento2.1

I want to load attribute set from last child of category. i have attribute set name same as last level child category. Ex: after select apple from category Electronic=>Mobile=>Brand=>samsung to ...
0
votes
0answers
31 views

How to skip the payment method step in checkout process in Magento 2.3.2

I have magento Open Source 2.3.2 setup my client don't want any payment method now. How to remove payment method step in checkout process. I just want to place order without selection payment method. ...
0
votes
1answer
62 views

Call store Switcher in phtml file directly in Magento 2

I want to call Store Switcher in phtml file directly. I tried to call directly but its not working. Kindly review. $this->getLayout() ->createBlock('Magento\Store\Block\Switcher') ...
0
votes
0answers
21 views

Magento 2.1 - Add prefix to category url

How to add a prefix for Magento 2.1 URL and show child without a parent? Example: Category level1: www.example.com/categories/fashion.html Example: Category level2: www.example.com/categories/men....
0
votes
0answers
12 views

Issue Executing a method in the Model from the button click in admin backend

I created a button called "Export Now" to export products data with certain criteria in admin backend. Updated system.xml file to include this button in template called export.phtml as shown in ...
0
votes
0answers
11 views

Magento 2.1.9 Class sortLinkInterface Does Not Exist

I'm running a theme on Magento 2.1.9 and when created a new customer account, I can fill out the form but when I click submit I get: Object DOMDocument should be created. In the logs it gives the ...
0
votes
2answers
31 views

Image Clarity Loses When Product Detail Page Is Loaded - Magento 2

Sometimes when we load the product detail page, Product image size of 100x100 is loaded from cache. The product main image seems to be blurred. Can someone please help me to resolve this? Shop URL - ...
0
votes
0answers
9 views

Order Invoice Template now showing up properly in Mail

The developer who had set up this template is not in touch anymore. So if anyone can help me get he order template right. Please check the screenshot below of how its appreating at the moment. Below ...
0
votes
0answers
17 views

Trying to find a particular login Form which pops up randomly in my Magento 2 website

Trying to find a particular login Form which pops up randomly in my Magento 2 website, please check the screenshot below. I have enabled path hint, but not getting its location, any other way to find ...
0
votes
1answer
123 views

magento 2 how can we send shipment and invoice pdf attachment in one email

i want to attach invoice pdf with shipment email so how can we attach invoice pdf in shipment email as i am using magento 2 mageplaza pdfinvoice module. it attach only one pdf at one time.
0
votes
1answer
68 views

Magento 2 - php 7.2 - The each() function is deprecated in AbstractCollection.php

I am getting below error in Magento 2.1 using PHP 7.2. main.CRITICAL: Exception: Deprecated Functionality: The each() function is deprecated. This message will be suppressed on further calls in /...
0
votes
0answers
18 views

check whether a product contains specific attribute in checkout tabs

I am new in Magento and i am trying to add a special validation in the checkout page of magento2. for that, I created one more tab in checkout page. I need to show that custom tab only when cart ...
0
votes
0answers
13 views

How can I add a custom URL in my home page sub category section

How can I add a custom URL in my home page sub category section. Attaching screenshot for reference. If you see the above Screenshot, the sub categoty "All products" was manually added by our free ...
0
votes
1answer
22 views

How to load the specific country name dropdwon in admin side magento 2?

Basically when i add below code in system.xml file it load all the countries in admin side <field id="showmethod" translate="label" type="select" sortOrder="80" showInDefault="1" showInWebsite="1"...
0
votes
0answers
15 views

How to change input type text field to dropdown in magento checkout page?

Basically when i want to select country then the input type text-field of city should be converted into drop-down and contains the list of cities of that country in drop-down?
0
votes
1answer
38 views

Mobile OTP function enabling

I have recently bought a extension for mobile otp, which had created its registration form where the mobile OTP function is working. please see the screenshot below. Now apart from this I have 2 ...
0
votes
1answer
14 views

Getting some error after going to checkout page

Getting a error while entering the checkout page, attached below is the screenshot. Below is the code inside the file. <?php $mobileHelper = $this->helper('Meetanshi\Mobilelogin\Helper\Data'); ...
0
votes
2answers
47 views

error coming in magento2.1 catagories

I face this problem. Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Framework\Pricing\Price\Pool::__construct() must implement interface  or be null, array given, called in C:\...
3
votes
2answers
171 views

How to add configuration button in system.xml file?

I want to add a button in the system.xml file that is linked to the google home page in the system.xml file.
2
votes
3answers
203 views

Upgrade magento 1.5.1 to Magento 2.3x

Please how do i upgrade my website from Magento 1.5.1.0 to Magento 2.3x Detailed steps of how to go about it will be appreciated
0
votes
1answer
42 views

Magento2 attribute default label issue

when i want add more than 36 character I get below error on add attribute, default label section: Attribute code "attr_______________________________" is invalid. Please use only letters (a-z), ...
1
vote
2answers
51 views

Override template file to theme vendor/amzn/amazon-pay-module/view/frontend/templates/widget/resetpassword.phtml

I want to override this template file to my theme vendor/amzn/amazon-pay-module/view/frontend/templates/widget/resetpassword.phtml here is my theme path : app/design/frontend/Custom/luma_child/...
0
votes
0answers
19 views

magento 2 sort using ORDER BY FIELD

Case : i have create attribute name : Populairty attribute details as below , i have set Used for Sorting in Product Listing as yes , value of it can be as 1: yes 2: no 3: very popular i want to ...
0
votes
1answer
39 views

Magento 2 Order Shipment Email File

I want to know, which file responsible for sending an email to customer when a shipment is created by admin (IF CHECKED Email Copy of Shipment)
0
votes
0answers
21 views

Magento 2.1.9 Admin Menu Empty

As you can see below the admin interface just doesn't have any Buttons. I already tried clearing the static folder and switching in the app/etc/di.xml “Magento\Framework\App\View\Asset\...
0
votes
0answers
26 views

How to send order confirmation email after placing order using rest API?

I am using the following code to create an order using rest API. $apiURL="https://domain.com/index.php/rest/V1/carts/mine/payment-information"; $data_string =json_encode(array("paymentMethod"=>...
0
votes
1answer
23 views

How to add custom script form admin in head or footer which call on every page?

Basically i want to add script of google analytic script to my store .
0
votes
1answer
43 views

Ajax search suggestions don't work

I want to search by SKU but suggestions don't appear. For example, most SKU start by "600", the ajax request made by Magento 2.x is: search/ajax/suggest/?q=600&_=1571930826272 The result is ...
0
votes
1answer
23 views

Blank Screen After Magento Setup

I have just installed fresh version of Magento 2 locally with XAMPP but the admin panel shows me a blank screen This is a screenshot of the problem:
0
votes
0answers
23 views

Magento 2 Sales order ( cannot be able to export all Columns)

Can Anyone please guide me how to get these columns in csv? right now only default columns are exporting in csv from sales order
0
votes
1answer
30 views

No command works in Magento 2.x

I used sudo php bin/magento setup:upgrade command but get [InvalidArgumentException] There are no commands defined in the "deploy:mode" namespace. after ...
0
votes
0answers
15 views

Magmi image processor import issue

I am using Magmi to import my date, have remote image addresses. The problem is when I import them, all images are same! I am Using version magento 2.1
0
votes
0answers
19 views

Magento 2 JSON.parse: unexpected non-whitespace | and <pre> tag in json after json response in every APIs

show JSON.parse: unexpected non-whitespace | and tag in json after json response in every APIs; And tag is appending after tag in all front end and admin pages and also in ajax response ][send ...
0
votes
0answers
39 views

Magento 2 Rest API return multiple interface class

On the Magento 2, I want to custom return object on my custom rest API, I have code like this on the Hz\Clients\Api\TransactionInterface.php <?php namespace Hz\Clients\Api; interface ...
0
votes
1answer
46 views

How to add og tags for facebook

I want to add of tags for facebook social media in Magento 2. So I do not know by where I can add this from code. Please help me to figure out this.
0
votes
0answers
52 views

Please An error has happened during application run. See exception log for details magento2.32 bitnami

I installed my magento via .. bitnami-magento-2.3.2-2-linux-x64-installer .. and I put a folder app in apps/magento/htdocs and put app to replace the root .. and now see this error: An error occurred ...
0
votes
0answers
11 views

Design Product Details Page like this one

I am trying to override the catalog_product_view.xml to achieve the layout similar to this page: https://www.article.com/product/3055/svelti-pure-black-dining-chair. Can anyone help me with ...
0
votes
1answer
24 views

Any suggestions of a Single Sign-On to users from external apps (Mobile) to Magneto 2?

The titles say it all. Is there any extension, or suggestions to add this feature to Magento 2 store? I want users to access the store from a 3rd-party mobile app. And from there, users will be able ...
0
votes
0answers
25 views

Can we create a cart rule with condition matching based on Grand total value

I want to apply a cart rule based on the final grand total value i.e it should be applied based on the grand total value that is calculated after all other discounts (with higher priority) have got ...
0
votes
1answer
23 views

display customized option value in shopping cart view

In shopping car view i can see only configure option that i selected in product page. i want to display customized option value too. last option gem color is customized option. while viewing cart ...
0
votes
0answers
32 views

Migrate Disable Products from M1 to M2

Products which are out of stock are disable in M1 but during migration form M1 to M2 i need to migrate product url.Is there any way to do this?
0
votes
1answer
39 views

The website with id 1 that was requested wasn't found error when migrate data using migration tool

During migration i face this error i have run the following command sudo php bin/magento migrate:data vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.0.1/config.xml
0
votes
1answer
88 views

Magento 2 .3.3 installation is stuck at 99 percent?

Installation is incomplete error at 99 percent but when i login to admin panel its working fine .what i next to do ?any one kindly state the issue?
2
votes
0answers
81 views

Magento2 Mobile SSO - OAuth-based authentication

I have been asked by a mobile dev to provide Magento 2 API to create a single sign-on application for my store. I have provided this info: • curl -X POST "https://example.com/rest/V1/integration/...
0
votes
0answers
29 views

Magento 2 Same Coupon code with different Actions

I am having 3 types of Category C1,C2 and C3. In every category there are products. 1) C1 has P1,P2 and P3 (Each P cost $38) 2) C2 has P4, P5 and P6 (Each P cost $58) 3) C3 has P7 and P8 (Each P ...
0
votes
0answers
7 views

Magento 2.2 Customizable Options Checkbox more then Not add to cart

on product detail page check box when check more then two product cart will set zero , but work on only select one product
0
votes
1answer
31 views

How to load product on button click in HTML table using KnockoutJS in magento 2?

Basically i want to load product on button click using KnockoutJS.
0
votes
1answer
108 views

Fatal error: Uncaught Error: Class 'Cli' not found in bin\magento:30

I wanted to install a new extension in my store and I keep on getting this error in CLI. An exception was raised while creating "Application"; no instance returned#0 Sites\XXXXX\vendor\zendframework\...
1
vote
1answer
51 views

Magento2: Enable path-hints for specific IP when site is in production-mode

Basically I have only the admin credentials of the client site and the site is in production mode. The client only provides admin credentials. How to enable path hints?
0
votes
0answers
11 views

credit card payment not change the pending to available status for downloadable products in magento 2

For the downloadable products, Once the user do payment via credit card (eway payment) than order going to be success. But the payment status not gong to be change from pending to available. While ...