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
1answer
86 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:...
0
votes
1answer
46 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/...
0
votes
0answers
22 views

magento 2 override style for custom theme

I am trying to override file .less. The file, in the parent theme, is at vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/_module.less So I copied and edited the file at: app/...
1
vote
1answer
21 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 ...
0
votes
1answer
135 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-...
1
vote
2answers
165 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 ...
2
votes
1answer
331 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 ...
1
vote
2answers
266 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 ...
0
votes
2answers
287 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.
2
votes
0answers
158 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
33 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->...
1
vote
1answer
2k 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 ...
0
votes
2answers
1k 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\...
0
votes
2answers
3k 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
0
votes
3answers
862 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' => ...
0
votes
2answers
306 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.
0
votes
1answer
105 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 ...
1
vote
1answer
330 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.
1
vote
1answer
1k 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
1
vote
1answer
972 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.
0
votes
0answers
18 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.
0
votes
1answer
1k 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 ...
0
votes
1answer
697 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" ...
0
votes
3answers
469 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 !
0
votes
1answer
98 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
0
votes
1answer
201 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.
0
votes
1answer
46 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://...
1
vote
2answers
2k 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-...
5
votes
2answers
5k 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 &...
0
votes
3answers
624 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/...
1
vote
2answers
998 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....
1
vote
1answer
172 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();
0
votes
1answer
127 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
0
votes
1answer
164 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 (...
3
votes
0answers
109 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 ...
0
votes
1answer
2k 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 ...
1
vote
0answers
750 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 ...
0
votes
2answers
986 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/...
1
vote
1answer
551 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 ...
2
votes
0answers
355 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 ...
1
vote
3answers
1k 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 /** ...
3
votes
2answers
916 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="...
1
vote
1answer
74 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 ...
0
votes
2answers
695 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 ...
0
votes
1answer
264 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=...
0
votes
1answer
916 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 ? . ...
6
votes
3answers
8k 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;...
1
vote
0answers
57 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) ...
0
votes
1answer
1k views

How to remove comma separator from price in magento 2.1?

How to remove comma separator from price in magento2.1 Product List and Product page? please check and give your solutions ...