The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Magento 2 - Is it possible to enable “Customizable Options” feature in Bundle products?

I want custom option feature in bundle products in Magento 2. So anyone can help here. How I can enable this feature in admin for bundle product creation. Thanks
1
vote
2answers
47 views

Magento2: redirection problem from observer or Logging Out from two application at same time from observer

I am trying to logout from two applications I have a logout observer, where I am trying to logout from external application and also from Magento. Here Problem is when I am logged out from the ...
1
vote
0answers
83 views

How to get Order Id after place order in javascript?

I am defining placeOrder method in my payment method, here is my code: placeOrder: function (data, event) { var self = this; if (event) { event.preventDefault(); } if (this....
0
votes
0answers
116 views

PHP Fatal error: Uncaught Error: Cannot instantiate interface in magento 2

I'm getting an error while running bin/magento setup:upgrade or any command from CLI. PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework \Cache\FrontendInterface ...
1
vote
1answer
19 views

when i add category it give me this “Secondary Description” attribute value is empty"

Suddenly Magento starts giving this error ... I tried to var_dump() what is missing, also check the file but there is no problem with it.
0
votes
0answers
44 views

Authorize.net accept.js on magento 2.1

How can i implement authorize.net accept.js on magento 2.1. I use authorize.net direct post and its working but some of the orders dont get response from authorize and they stay with pending status.
1
vote
0answers
19 views

In magento 2 how to display a form fields in under payment method

In magento 2 how to display a form fields in under payment method
0
votes
0answers
32 views

Export Custom Gird CSV and Excel file not working

I have followed how to make CSV and Excel from here Export to csv showing undefined index UiComponentFactory.php but an exception is throw while clicking export Exception #0 (Magento\Framework\...
0
votes
1answer
58 views

Magento 2.1.7 - Problem on Readiness Check on “Check Cron Scripts”

I have a Client with Magento 2.1.7, I need to success the Readiness Check so I can install extensions or upgrade Magento version... All the checks are ok! It says to: "Your PHP version is correct (...
2
votes
1answer
48 views

Magento 2 How to duplicate category products into another category

I am working on duplicate category, In my controller file, I am able to duplicate the category but I need to assign the same products to the newly created category from the old one. i.e. I have the ...
0
votes
1answer
35 views

can we have multiple branch with one database on magento2 cloud?

on Magento cloud when we create a new branch we have to have new database and instance but it is not efficient, we should be able to have different branches using same database, is it possible? I know ...
0
votes
1answer
35 views

Magento 2 Add column in customer grid with name approve_account

I want to add a column in the customer grid with the name approve_account, it is not displaying in the gird. when I change the name (approve_account) to different names like approve_accounts it ...
0
votes
0answers
14 views

Magento User Group API Access

We want to have vendors users need to upload products through REST API. But I don't know how to create different access tokens for each vendor. Can anybody guide me on this?
0
votes
1answer
25 views

Magento\Cms\Block\Widget\Block file location magento 2

How can i find where this function is written <?= $block->getText() ?> what does it mean /* $block \Magento\Cms\Block\Widget\Block */ Is this file location or what.? /* @var $block \...
1
vote
2answers
47 views

Memory Limit difference between PHPINFO and Readiness Check!

when I execute phpinfo() it says 2000M, but when i run Readiness Check it give me 128M... what I have to do? I don't understand where it takes this value, is there any way to skip this check? I tried ...
0
votes
0answers
23 views

Magento 2 frontend ui components grid for company users page not working.it's always spinning

Magento 2 company users page in frontend not loading.it's always spinning with loader.if we checked in console i am getting the following error. The Company Users page is rendering by using ...
0
votes
2answers
43 views

Magento 2 - Full width for a section in product view page

I add a new block in Product View page: <referenceContainer name="content"> <container name="containertwo" as="containertwo" label="ontainer" htmlTag="container" htmlClass="my-...
0
votes
0answers
18 views

Magento 2 How to display place order button in ajax response in COD payment method

I want to display place order button in ajax response for COD payment method. I have add mobile number for verification. When customer click on send OTP button, customer get OTP. When customer enter ...
0
votes
2answers
43 views

Redirection issue after website duplication with Magento 2

I'm currently working a Magento 2 (2.1.14 exactly) mutli-store website and I have some problems for create a development website. I'm the only back-end developer in the company and had never work on ...
1
vote
0answers
62 views

upgrade issue from 2.1.14 to 2.2 :: magento2

I have upgrade magento version from 2.1.14 to 2.2.0. First time when i run run php bin/magento setup:upgrade command it gives this error: Module 'Magento_TaxImportExport': Module '...
1
vote
1answer
22 views

what are the tables being inserted when import product in Magento2?

I want to know what are the tables being inserted while import product in magento2. or what are the main table to be inserted for showing products in home page( don't think big. just to display in UI)...
0
votes
1answer
386 views

Failed to load the “Magento_Checkout/js/view/cart/totals” component

I'm getting an error on the checkout page. Magento (2.3.1), PHP (7.1). If I'm activating the default theme (Luma) then working correctly. that error showing on my custom theme only. I need urgently ...
0
votes
0answers
31 views

How to show the highest Configurable Product price in magento 2

How to show the highest Configurable Product price in Magento 2. At the basis, Magento shows the lowest price ( from the simple product ) for configurable products. Is there a way to display the ...
2
votes
3answers
39 views

Magento 2 Create A custom grid for product using Ui component

I want to create a gird using the UI component in Magento. The grid must have product id and product SKU. I tried using the below code but it's not working. Here is the below code to create the grid. ...
0
votes
0answers
10 views

Items added in quote table but showing cart page empty

I have a strange issue as When I adding a product to cart, it is adding in quote table but cart page, minicart is showing empty cart, can anybody face the same issue? also, I am not able to login to ...
1
vote
2answers
54 views

Magento 2 - OWL Carousel 2 in related products issue

I try to setup OWL Carousel for Related Products in Magento 2. I overwrite this file: Magento_Catalog/templates/product/list/items.phtml this is my custom code: <div id="owlslider" ...
1
vote
0answers
27 views

product.info.details already has a child with alias 'additional'

[2019-07-04 07:03:12] main.CRITICAL: Magento\Framework\Exception\LocalizedException: The element 'product.info.details' already has a child with alias 'additional' in /var/www/html/elec/vendor/...
2
votes
2answers
59 views

Magento 2 : how to change order status processing to complete using Rest Api

Any option to update order status processing to complete in Magento 2 using Rest API.
1
vote
2answers
54 views

How to get Special price of product list in magento2?

I have created one countdown timer for special price, now i want to hide timer if product does not have any special price so how can i do?Please help me.
2
votes
1answer
28 views

Create Update product REST API magento2.1

I got below error on my rest API on magento2.1 { "message": "%fieldName is a required field.", "parameters": { "fieldName": "product" } } My URL is: https://XXX/rest/all/V1/...
0
votes
3answers
25 views

Reindexing cron not executing at specified time

I am trying to execute cron job of reindexing at specified CST time but not working, so anyone let me know what to do? Thanks Ketan
4
votes
0answers
28 views

Where, why and how are we using Data Providers in Magento 2

Explain how to use Data Provider, situations and requirements. Tips and advices will be a plus.
2
votes
2answers
66 views

How to Install Packages for manually added magento2 extension using composer

I have a magento2 extension, In that composer.json requires extra packages other than the default magento2 packages. How to Install those packages. composer.json "require": { "php": ">=5.5", ...
2
votes
0answers
33 views

How to redirect to Magento2 Customer Login page from 3rd Party Application/External application…?

How to redirect to Magento2 Customer Login page from 3rd Party Application/External application. Suppose, when we want to redirect from any application to WordPress site we write redirect to http://...
2
votes
0answers
30 views

Magento 2 Elastic search results show different relevant results

We are using Magento 2.1.8 and facing issue with elastic search results, it's returning all relevant results instead of exact results.
1
vote
0answers
64 views

Error after applying patch to authorize.net module

I have applied patch from MD5 to SHA-512 to Magento 2 Authorize.net direct post module, when i tried to test purchasing with a credit card i got this error on exception.log file main.CRITICAL: ...
1
vote
1answer
117 views

Magento 2 Extra fees add with tax

How can I apply tax in extra fee in magento 2? (With inc and Ex tax)? Thanks in advance.
0
votes
0answers
23 views

Magento2.1 URL structure

I want to show my products by below URL structure in Magento2.1: localhost/products/ID/product title What should I do?
1
vote
1answer
78 views

Rest API import product Magento2

I want to add a product using REST API but don't know how should I do. could you please help me what should I do? Magento 2.1 I use. this is the code that i used: { "id": 989898989989989898, "...
0
votes
0answers
16 views

Stock Issue: cataloginventory_stock_status table doesn't hold correct final status

AFAIK, cataloginventory_stock_status table holds the final status of the product stock (Which is the result of stock indexing). But it seems it not working as expected. Expected Results When any ...
0
votes
1answer
43 views

Is it possible Magento 2 site work without ssh/command prompt? [closed]

I am installed Magento 231 site. After that, I want to installed Magento extension and theme but I have no ssh or command prompt? Someone help me how can I achieve this. Thanks in advance.
1
vote
0answers
17 views

Update disable product quantity programmatically in magento 2.1.X

How to update disable product quantity programmatically. Below code update product quantity which are in enable status. Any one help me for this one. Here is my code. public function updateStock($...
1
vote
1answer
45 views

how to add custom field under shipping address in checkout magento 2?

how to add custom field under shipping address in checkout magento 2?
2
votes
1answer
38 views

admin area getting error 'require is not a function at editor.js:6' after upgrading magento 2 from 2.1.1 to 2.1.17

After upgrading Magento from version 2.1.1 to 2.1.17, I am facing this error Uncaught TypeError: require is not a function at editor.js:6 across admin area especially in edit pages when I look ...
0
votes
2answers
62 views

call contact form on phtml page

I called contact form in my .phmtl page using this code: <?php include ($block->getTemplateFile('Magento_Contact::form.phtml')) ?> The problem is when I click on submit, there's no success ...
2
votes
0answers
38 views

Magento 2.1.10: Sort by Special Price doesn't working

I'm working on category page, and try to sort the products collection by Special Price. I've override setCollection() of \Magento\Catalog\Block\Product\ProductList\Toolbar And the result is the only ...
2
votes
2answers
156 views

Magento2 - New order e-mail for us

we have an extension that sends out a new order e-mail to our own private mailbox. Which is different from the ones that customers get. We print these mails automatically on a receipt printer. We use ...
1
vote
1answer
210 views

how to add a custom customer attributes under shipping address in checkout page in Magento2?

how to add a custom customer attributes under shipping address in checkout page in Magento2? i m using this extension for customer attributes. In customer registration page In Shipping Page
0
votes
0answers
21 views

How can I add custom heading in tiny mce 4 editor in Magento2?

I want to add custom heading in tinymce 4 editor in magento2. Is anyone having knowledge? like below screen shot.
0
votes
0answers
18 views

Add bundle product in Wishlist with child product which selected

I am trying to add bundle product into wishlist but there are one issues we found. When i select the child product which associated with bundle product. When we clicked on Add to wishlist, only bundle ...