Questions tagged [magento-2.1.3]

Denotes questions related to Magento CE and EE of version 2.1.3 Used in case the issue is connected with 2.1.3. version: update to this version, this version bug etc.

Filter by
Sorted by
Tagged with
1 vote
1 answer
31 views

How to write integration test for below condition?

I am trying to write integration Test for my custom module that have very basic functionality to block the frontend page. 1 . created one controller to submit the password and on that basis we return ...
Yogendra - eCommerce Developer's user avatar
0 votes
1 answer
1k 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\...
Notsobad's user avatar
1 vote
1 answer
1k views

In magento 2 admin custom field value stored in db but when edit a product edit page custom field came empty, how to solve this

app/code/Cm/Preoder/view/adminhtml/ui_component/product_form.xml <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Divya Sekar's user avatar
  • 1,451
0 votes
1 answer
516 views

Magento2 PayPal Recaptcha module not working for multi website

Due to the recent carding activity of PayPal Payflow Pro, I'm working on getting the magento recommended PayPal Recaptcha module installed and configured per this article (https://support.magento.com/...
mlunt's user avatar
  • 575
1 vote
1 answer
170 views

Magento 2.1.3 Build multiple store views with unique subdomains pull CSS and JS from parent website URL?

I've been googling this all afternoon, suffering from Search Engine blindness, so much so I even tried bing for a moment... I have a multiple language site set up with different URL's assigned to ...
cygnus digital's user avatar
0 votes
1 answer
234 views

Magento 2.1.3 to 2.2.5 Upgrade Error

I tried upgrading Magento 2.1.3 to Magento 2.2.5, But I faced some errors after running composer update. Any Ideas? Here's the error codes: Problem 1 - Conclusion: don't install magento/product-...
MazeStricks's user avatar
  • 1,235
1 vote
2 answers
335 views

Magento 2.1.3: Overriding of vendor layout file with my custom layout file in Magento 2.1.3 is not working?

I have created a custom module in Magento 2.1.3 and its layout file is located in app/code/RP/Testmodule/view/frontend/layout/customer_account_create.xml but the system loads the layout from vendor/...
Kunal Ray's user avatar
3 votes
1 answer
2k views

Magento 2.1.3: Undefined offset error when exporting all customers via csv

I tried to export all the customers in the form of csv from a Magento 2.1.3 site. But after I clicked export this will be the outcome: 1 exception(s): Exception #0 (Exception): Notice: Undefined ...
MazeStricks's user avatar
  • 1,235
1 vote
2 answers
345 views

Magento 2.1.3 : URL key For Specified Store Already Exists When Saving Categories

I searched for this kind of issue and saw many others experiencing this thing like me. I tried those fixes that they recommend but it's not working on my end. Maybe you guys can suggest what is the ...
MazeStricks's user avatar
  • 1,235
0 votes
2 answers
2k views

How to set value for existing registry variable?

I want to set value for an already existing registry variable. E.g. current_category I need to set some different value for this registry variable. Could someone kindly elaborate how to do it.
Sukeshini's user avatar
  • 9,935
2 votes
0 answers
376 views

Extend Configurable to show on category listing

I am trying to show the configurable product options on the category page, for our store set up these are configurable products with simple products as options - not as custom attributes. I want to ...
Aravona's user avatar
  • 367
3 votes
2 answers
7k views

Magento 2: Get Coupon Code for Order in Order Success Observer

I created an observer with event checkout_onepage_controller_success_action. I need applied coupon code on checkout onepage success in magento 2. I have to send order coupon code to third party with ...
Pankaj Sharma's user avatar
0 votes
1 answer
486 views

Magento 2: CURL response into array

I am getting this response in magento 2 curl. Do you know, how we can convert this response into array? Here is my code: $this->curlClient->post($url, $post); $responseCurl = $this->...
Pankaj Sharma's user avatar
2 votes
1 answer
5k views

Magento 2: change shipping address form fields order

Magento 2 having checkout shipping form fields order as its in below image. I need to change fields order in to Country->State/Province->Zip/Postal Code as mentioned in same image. Do you have ...
Pankaj Sharma's user avatar
2 votes
2 answers
5k views

Magento 2: Update customer custom attribute value in observer

I have created a custom attribute by the help of this link. Now I have to save/update value of this attribute in customer_save_before event observer. Here is my observer.php code: namespace Vendor\...
Pankaj Sharma's user avatar
2 votes
2 answers
4k views

We're unable to send the password reset email in Magento 2

When i try to reset my password by using forgot password link, i get this error. We're unable to send the password reset email
Mohd Hasan's user avatar
0 votes
3 answers
3k views

Magento 2: convert curl response into array

I am not able to convert magento 2 JSON response into array. Can you please help in short out this problem? Here is my code: $url = 'http://example.com/api/coop'; $post = [ 'firstname' => ...
Pankaj Sharma's user avatar
0 votes
2 answers
833 views

Magento 2 : How to Disable/Enable Custom Shipping Method Based on State / Region

I want to show my custom shipping method based on state/region.
Avinash Sain's user avatar
0 votes
1 answer
459 views

Magento 2 : CURL Use in Observer

I am using event customer_register_success for sending customer detail to a third party website. I am facing problem in implementation of CURL in event observer. Do you have any example of using CURL ...
Pankaj Sharma's user avatar
1 vote
1 answer
779 views

How to Add custom text before product's price in product details page in Magento 2?

I am working with Magento 2.1.3 and i want to add some custom text before product's price in product details page.
Mohd Hasan's user avatar
1 vote
1 answer
3k views

How to add some text before price in product detail page in magento 2

How to add some text before price of product in product details page . for example:- price - $200.00. Guys any suggestion from your end.Thanks
Mohd Hasan's user avatar
1 vote
1 answer
2k views

How to get the Qty left in stock of a particular product in Magento 2

anybody can suggest me that how can i display the left quantity in stock of a particular product in product details page ?. I am using Magento 2.1.3.
Mohd Hasan's user avatar
0 votes
0 answers
28 views

How to customize top header links in magento 2

Hello guys i am working with magento 2.1.3 and i want to customize the top header links of my magento ecommerce store. Anybody help this poor guy.
Mohd Hasan's user avatar
1 vote
1 answer
3k views

observer event after order invoice status paid executed in magento 2

I am working on this Magento 2 extension and part of the features is need to entry in another table where order total will be inserted. so what I need is to find order invoice status paid event ...
Virang Jethva's user avatar
0 votes
1 answer
2k views

Reload Total section in checkout/cart page - Matgento 2

I want to reload total section when checkbox checked/unchecked. Here is the code I am trying to implement. etc/frontend/sections.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Dharmesh Hariyani's user avatar
0 votes
3 answers
2k views

How to get a database table data in a new module?

I want to create a new module in which I would like to have data of a specific database table. Is it possible ? If yes, please guide !
Learner's user avatar
  • 833
0 votes
1 answer
446 views

It seems cronjob not running

How can I confirm that all Cron Jobs working fine? As synchronization of accounts stopped suddenly. All things were working fine earlier. Show processlist result
Learner's user avatar
  • 833
0 votes
1 answer
509 views

How to disable Cash On Delivery on specific customers in using magento 2.1.3?

Customer for COD and return order three time, make him as blacklist and for his new order COD should be disable.
Avinash Sain's user avatar
0 votes
1 answer
87 views

How can I execute a extension from the vendor’s bin folder?

Hi I install a extension magerun2 using composer which is install in vendor . now how I can execute it from vendor as on root director it is showing no command found Manual for this is https://...
Learner's user avatar
  • 833
1 vote
2 answers
6k views

Extend checkout order summary section in Magento 2

I am trying to add custom text in beside shipping method section in Order Summary from Magento 2. But my data is not affecting. For this, I have added custom text in root\vendor\magento\module-...
Bojjaiah's user avatar
  • 4,028
11 votes
2 answers
22k views

Knockout If-else condition inside html file in Magento 2

I am customizing the shopping cart page, Here I worked knockout js and html code file. I successfully wrote If statement by below code. <!-- ko if: isFreeShipping() --> //My Code goes here &...
Bojjaiah's user avatar
  • 4,028
0 votes
3 answers
2k views

If Free Shipping Replace Text with Free instead of $0.00 in Magento 2

I am trying to customize the shopping cart page, If customer select Free Shipping Shipping Method needs to replace Free instead of $0.00. For this stuff, I followed steps. Customized the root/vendor/...
Bojjaiah's user avatar
  • 4,028
2 votes
2 answers
5k views

How to use custom variables in Magento 2?

I have seen email templates to use built-in custom variables. Can someone explain how to use System -> Other Settings -> Custom Variables? For example category count, which will show in frontend....
Bojjaiah's user avatar
  • 4,028
1 vote
1 answer
310 views

What is the equilent of Mage::app()->getResponse()->setHeader('HTTP/1.1','503 Service Unavailable') ->sendResponse(); in Magento 2

What is the equivalent of Magento 1 to Magento 2? Mage::app()->getResponse() ->setHeader('HTTP/1.1','503 Service Unavailable') ->sendResponse();
Manoj Kumar's user avatar
  • 1,348
0 votes
2 answers
402 views

Magento2 Visual Swatch : transparent image black background

Is anyone else having this issue, In visual swatch, I've uploaded transparent image and in frontend it showing like this? Magento ver. 2.1.3
Kaushal Suthar's user avatar
1 vote
1 answer
1k views

How to show only 5 items in wishlist Magento 2

On customer account I only want to show just 5 items of wishlist. How can I do this ? item.phtml is <div class="products-grid wishlist"> <?php $iterator = 1; ?> <?php if (...
ephemeral's user avatar
  • 303
3 votes
0 answers
316 views

How to maintain the customer's active quote after Magento 2 database migration?

As per our client requirement, after our Magento1 to Magento2 data migration they expecting that all the active quote customers should not loose their cart items when they back. To be more clear, A ...
seeni's user avatar
  • 1,247
0 votes
1 answer
6k views

Extending Order Email template in Magento 2

I am trying to extend the Order Confirmation Email Template to add the custom attribute. When I am trying to add code to core class it's printing the value in the email template. When enabling to my ...
Bojjaiah's user avatar
  • 4,028
1 vote
0 answers
1k views

make a custom attribute on catalog to upload a file

I want to upload a file from admin side for a user to show on product description page.I just want to make a file uploaded for now on admin. In store->attribute. how to achieve this in magento2 ? I ...
ephemeral's user avatar
  • 303
0 votes
2 answers
2k views

Overriding .html file in Magento 2

I'm trying to override shipping.html file, but it's not working. For this, I tried the code as below. requirejs-config.js var config = { map: { '*': { 'Magento_Checkout/...
Bojjaiah's user avatar
  • 4,028
1 vote
1 answer
2k views

On account pages , In My order section Print order page not showing order detail

In Customer account . All order are showing correctly and And when I get on specific order it aswell showing its detail but when I click on print my order . Page is shown like this. Item order ...
ephemeral's user avatar
  • 303
2 votes
0 answers
393 views

how can i change length of meta description from 255

I tried to update the meta descriptions for my products so that they are different to the normal description. My main problem is, I need to change meta description length of the products is shown as ...
My gravestone's user avatar
1 vote
3 answers
4k views

How I can override this Magento\Catalog\Block\Breadcrumbs.php

How I can override the breadcrumb.php file .as If I am using in app/design/frontend/Oc/jb/Magento_Catalog/Block/Breadcrumb.php its giving error. UPDATED CODE // @codingStandardsIgnoreFile /** ...
Learner's user avatar
  • 833
3 votes
2 answers
2k views

Trying to override magento-customer layout XML

I want to override the layout of magento-customer in my theme. The vendor path is /vendor/magento/module-customer/view/frontend/layout/customer_account_index.xml And its code is <?xml version="...
Learner's user avatar
  • 833
1 vote
1 answer
142 views

Plugin not working in live environment in Magento 2

I have overwritten the Tax class for IGST calculation customization. It's working fine on my local system. After I uploaded the live server it's not working, I don't know where anything I missed. For ...
Bojjaiah's user avatar
  • 4,028
0 votes
2 answers
2k views

How can I remove a footer from specific cms page?

Can I remove footer from a cms page ? and I added that page using admin panel . default.xml file <?xml version="1.0"?> <!-- /** * Copyright © Infortis. All rights reserved. * See ...
Learner's user avatar
  • 833
0 votes
2 answers
695 views

How to remove order history tab?

How to remove order history tab from magento2 admin sales order view page? I am using the following code in sales_order_view.xml <referenceBlock name="sales_order_tabs"> <action method=...
Magento Developer's user avatar
1 vote
1 answer
1k views

How I can show 'My orders' in MY Dashboard?

I want to show my all orders list in my dashboard .with this wishlist page. I think its in luma by default but I am using a theme so where in xml I have to again activate this ? . ...
Learner's user avatar
  • 833
6 votes
4 answers
26k views

Magento 2: setdata() is not saving the values into the database

Controller file Post.php <?php namespace QaisarSatti\HelloWorld\Controller\Index; class Post extends \Magento\Framework\App\Action\Action { protected $_objectManager; protected $hello;...
Selva Kumar's user avatar
1 vote
0 answers
76 views

cant make pdf invoice when in production mode

When in development mode I can create pdf invoices just fine but when in production mode I get an error. Under sales > Invoices I'm clicking the "Print" button to get a pdf of a invoice (see link) ...
Mike's user avatar
  • 21

1
2 3 4 5
7