Stack Exchange Network

Stack Exchange network consists of 175 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 [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

1
vote
0answers
18 views

display particular product name and image in custom admin grid page

I want to display product name and product image in a custom page in admin grid that page opens on view click in action
0
votes
0answers
18 views

How to set different stock store-view wise?

Anyhow, is it possible to set stocks as per website or store? It's really urgent.
1
vote
1answer
32 views

Change from “1 Day USPS Priority Mail” to "USPS Priority Mail” - Magento 2

Modify on the shipping name from “1 Day USPS Priority Mail” and just have it say “USPS Priority Mail” Ensure this is updated on all transactional areas (email/invoice details/etc) how to do this ...
1
vote
2answers
24 views

Export files to google drive using Magento 2 Programmatically

I want to export/transfer files to Google drive using Magento 2. Please help me out.
5
votes
1answer
132 views

Megamenu issue - Clicking menu opens category page for that menu in mobile in Magento2

I need to resolve issue of responsive megamenu for mobile. The issue is when I click on the subcategory to opens its child sub-categories the link gets clicked and gets redirected because of which ...
1
vote
0answers
53 views

Uncaught TypeError: $.initNamespaceStorage is not a function magento2

Some functionality is not working properly and it shows some errors in console Any help will be appreciated.
0
votes
0answers
24 views

Magento 2 : Some texts don't switch to the second store view?

I have two store views in Magento 2 Arabic English Issue: Product name, Shipping Method & Payment Method are showing in the incorrect store view language in a specific scenario. How to ...
1
vote
1answer
44 views

Database-Based & Redis-Based Customer-Session Empty Data Issue in Magento 2 Using 2 Web-Servers

I am facing a problem in getting session data in Magento 2, when I deploy my Build on 2 Web-Servers. I am facing no issue on Single Web-Server. Problem Details I am setting some data in session, in ...
2
votes
1answer
63 views

Magento 2 Terms and Conditions

am having a problem on checkout it gives me error message "Please agree to all the terms and conditions before placing the order" but the whole block not showing and it's enabled and i've put a ...
0
votes
0answers
34 views

How to override actions.html and js

I am working on Magento 2: target=“_blank” in UI Listing Action Links To enable action list target="_blank", I need to override: vendor/magento/module-ui/view/base/web/templates/grid/cells/actions....
1
vote
2answers
22 views

Custom Customer Attribute not being read from Request

I'm trying to add a new Custom attribute to the Magento customer model, and I think that I've set everything up correctly from what I've been able to scour off of this website & google, but I'm ...
0
votes
0answers
18 views

Magento 2.1 - Display RRP attribute beside price

I added a custom attribute to use for RRP and I need it to display along side the price on both the product page and product list. From digging around it looks like I can override the price template ...
0
votes
0answers
14 views

how to add attribute in product in magento in 2.1 in dropdown options?

I want to add some custom option in drop down option of product.But i want this work as dynamical.No static way.Thanks in advance.
0
votes
1answer
38 views

Not able to save an item magento 2

I have a table which store certain data in database. First i am checking if the content is already there in the database if yes then update it else insert a new data. $sync = $this->...
1
vote
2answers
59 views

How to increase related products slider image size?

I am using Ultimo theme. Does anyone know how to increase the related products slider image size on the product page in magento 2?
0
votes
2answers
24 views

Load all items in magento ui listing

Currently the items are showing by default 20 per page. Is there a way to load all items?
0
votes
1answer
39 views

How to get image from image uploader file path and bind in custom collection? Magento 2

I have created custom image uploader to upload category icon. I also created custom model and controller for the same. After click on save button image will save in pub/static folder successfully. ...
0
votes
1answer
46 views

how to add footer on invoice pdf magento 2

I am using magento 2.1. I want to add some "term & condition" at the bottom of customer invoice. How can I add a Custom footer on PDF invoice that is generated in Magento2? Can anyone explain me ...
0
votes
1answer
44 views

Unable to load the collection in DataProvider by matching values in array

I am trying to fetch Collection of specific ids by using filters in my custom DataProvider public function getData() { $id =$this->request->getParam('id');//returns 5 $answerids=$...
0
votes
0answers
15 views

Displays the list of Newsletter subscribers in Next page in magento 2

When I am trying to export the newsletter subscribers from admin to CSV file is not generating and instead, all the CSV content is displaying in next page. please help me?
0
votes
0answers
19 views

Magento 2, adding price value 1,000 convert and save as 1.00, issue

https://github.com/magento/magento2/issues/13851 In the above issue, in Magento 2 they did that on every price field, but they don't do that if Magento prefilled those values. For example, if we can ...
1
vote
2answers
46 views

How to override a advance search & orders return page in magento 2? [closed]

In magento 2 how to override a advance search page and order return page in my custom theme
0
votes
2answers
27 views

import categories from magento 1 to 2

I need to import categories on magento 2 that I exported from magento 1, Is it without issue, I mean is it risky for magento 2 store. Help me please if you have any proposition?
1
vote
0answers
106 views

Magento Checkout Stuck: [ERROR] Failed to load the “StoreCredit_Discount/js/view/checkout/discountform” component

I want to create a Custom Store Credit section for my project, but after adding the component in checkout_index_index.xml I got the below error in console.log Failed to load the “Magento_Checkout/js/...
1
vote
0answers
22 views

Edit doesn't work in UI Component

<layout> <navContainerName>left</navContainerName> <type>tabs</type> </layout> I have used the tab in form.xml but data not being populated within form while ...
0
votes
2answers
43 views

Magento 2 Different Final Price Templates for Category and Product Page

I have modified the final_price.phtml to customize the final price on the product page. It is working fine. But I am getting the same customization on Category page which I do not want. Please let me ...
0
votes
0answers
16 views

Magento 2: country (Website) switcher

I´m planning to build up an international Online-Store with Magento 2.1, every single country is configured as one Web Site for each available local language, has got a dedicated Store and one Store ...
1
vote
2answers
47 views

Admin Configuration page showing Error: Exception #0 (Exception): Notice: Undefined index: id in Iterator.php on line 59 [duplicate]

On the Admin > Store > Configuration page, Showing Below Error Exception #0 (Exception): Notice: Undefined index: id in /var/www/html/Magento/vendor/magento/module-config/Model/Config/Structure/...
0
votes
0answers
50 views

Product drop down attribute with custom source model not display in layered navigation Magento 2

I have created a product's attribute select type (dropdown) source model of this attribute from custom table. Everything is fine but when I set this display in layered navigation, It's not showing in ...
1
vote
2answers
76 views

Filtering not working in UI component

I have created a UI listing in Magento 2. The first column was getting the id of the product. Since I don't want to display the id, I wanted to display its SKU. So I applied a class for the column. ...
1
vote
2answers
33 views

How To Add Whatsup Share on product Page in magento2?

How to add whatsup share link in magento2 Product page?
0
votes
1answer
18 views

How to change the status value in orders api?

In the orders api of Magento 2, I'm sending status parameter as completed. But I have custom status as "ProdCompleted. So everytime I get status="completed" That's why I want that if api get ...
0
votes
0answers
10 views

Why Tax Report is showing blank everytime when we do filter in Magento-2.1.12?

I want to generate tax report in magento-2.1. I will click on Tax through Reports->Sales->Tax . We will select filter and click on Show Report . But it always show blank .Please tell me why it ...
0
votes
0answers
21 views

Quickbook Desktop + Magento 2 Integration

I have installed an extension Magenest QuickBooks Desktop Integration in Magento 2 and working fine with Quickbook desktop app. Extension Synchronise data from Magento 2 to Quickbook Desktop ...
0
votes
1answer
23 views

Images not loading and size and color dropdown also not loading with Apache and NGINX

im struggling with Magento 2.2.4, its giving so many errors. Initially we had Apache web server with PHP 7.1 and NO nginx. In this scenario sometimes the color and size dropdown were not getting ...
0
votes
0answers
22 views

How to reset the ID of customers in magento2

In my magento 2 admin panel I have Customer ID as 1,2,3,4 and so on. I need to reset it start with 001,002,003,.... How can i do this? see attached screenshot: https://imghostr.com/t5MRKF2p if I ...
0
votes
1answer
20 views

How to overwrite meta robots?

I'm having an issue with changing the meta tag on category pages from: <meta name="robots" content="INDEX,FOLLOW"> To: <meta name="robots" content="NOINDEX,FOLLOW"> I tried adding the ...
-1
votes
1answer
21 views

How to show the count of reviews

How to show the count of product review on the category page? Now i just can get the stars, but no counts
0
votes
1answer
29 views

magento2.1 dropdown attribute list.phtml

How to get a dropdown attribute value on the category page, i set the show in listing to yes and added this attribute to product. any suggestion?
0
votes
0answers
26 views

magento2.1 bottom pagination when there is no page

When i set pagination to 60 and i have 55 items, so shows 55 items and it is nice, but still shows a bar of pagination on the bottom of the page. how can i remove it when there is no pagination page ...
0
votes
0answers
12 views

Magento 2 : I need to add optgroup in custom Ui form with static options

public function toOptionArray() { $options = [ ['value' => " ", 'label'=> __('======== Product Page Sections ========')],` ['value' => self::PRODUCT_CONTENT_TOP, 'label'=&...
-1
votes
1answer
83 views

Implement Custom REST API end point returns list of best selling products

I have an assignment from clients to implement Custom REST API end point returns list of best selling products. Which I have done here Supports pagination, sort and filter can be filtered by date ...
0
votes
1answer
30 views

Magento 2, Change On click instead of 'hover' for menu

In Magento 2 for the main menu, they dropdown with hover. How to change the dropdown on click instead of 'hover'.
0
votes
2answers
29 views

How to get dropdown value Magento2.1

I want to get a dropdown attribute value on the category page, i set the show in listing to yes and added this attribute to product. then set below code to my list.phtml: ...
0
votes
0answers
49 views

Magento2.1 wishlist on category page

How to set an active class to magento2.1 wish-list button on list page? I mean that, when i go to product page, if marked that product to my wish-list before, just shows already added to wish-list or ...
2
votes
0answers
38 views

Composer update dependencies Magento 2.3

Is it okay to update the dependencies of a magento store using command composer update? The store is functional and running on magento 2.3 at the moment.
0
votes
2answers
50 views

Magento2.1 different mobile view

I want to see search results in list mode by default in desktop, and see it on grid mode on mobile. What should I do? Right now I edited catalog search list.phtml to show list mode by default on ...
0
votes
0answers
13 views

Remove Auto-generated URL Rewrites

I've been having this issue with auto-generated URLs. The catalog/* URLs keep auto-generating the red box are the URLs that auto-generate, the green box are the URLs that I want. How do I stop the red ...
0
votes
1answer
15 views

select product details page options if dropdown has one value in Magento 2.1

I want to select the options in each dropdown in product details page if it has one option. for example dropdown : 1 (option) dropdown : 2 (option) dropdown : 1 (option) Then on the selection of ...
0
votes
0answers
17 views

How to merge multiple order and create new one order in magento 2?

try { $store=$this->_storeManager->getStore(); $websiteId = $this->_storeManager->getStore()->getWebsiteId(); $customer=$this->customerFactory->...