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
490 views

Payment method Doesn't Show full credit card options on checkout page in magento 2

However my custom Payment method show credit card options but not functional neither show CVV option and Dropdown for years and months. Help me? Here is the screenshot Here is the console error
0
votes
1answer
649 views

Javascript translation not working

I have override the register template in my custom theme. In this form use the validation to validate my fields but the translation of the error messages aren't showed. I declare the function where I ...
2
votes
2answers
1k views

Fatal error in magento 2 compilation

After running compilation code php bin/magento setup:di:compile I'am getting the following error Fatal error: Cannot use 'Void' as class name as it is reserved in /va r/www/html/m2/vendor/...
1
vote
4answers
1k views

Can't access magento 2.1.3 admin getting some error

While trying to access the admin panel i got following error. This was shown up from yesterday up to that time i don't have any issue 1 exception(s): Exception #0 (Magento\Framework\Exception\...
0
votes
1answer
976 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 ? . ...
0
votes
1answer
53 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\...
2
votes
3answers
1k views

Magento2 error when trying to add new integration from admin

I have being working on a new magento website using magento 2.1.3 and I now need to add an extension but when I go to system->integrations and click "add new integration" I am given the following ...
0
votes
1answer
967 views

Magento2: How to remove extra white background from uploaded image from admin

Extra white background appears when the image uploaded is not the same dimension where it is requested. I used resize code for image resizing: if (!file_exists($imageResized)) { $imageResize = $this-...
0
votes
1answer
909 views

which phtml file is use for New Order Confirmation Template for Guest/Seller?

i have created and implemented the code to call product thumbnail and product url for "New Order Confirmation Template" thats is use for customers.my code is below $objectManager = \Magento\Framework\...
2
votes
2answers
1k views

Magento 2 Redirect to cart page on event 'sales_order_place_before'

I'm using Magento 2.1.3 I have an observer 'sales_order_place_before', I want to validate some information before the payment is made and if validation is false, I want to redirect the page to '...
1
vote
2answers
1k views

How to import products from another database into magento2's database

I have an ERP system with a database that holds more or less 400,000 items. I need the 400,000 items to be migrated to my Magento 2.1.3 database. Is it possible to directly import items from my ERP ...
1
vote
1answer
2k views

How to save quote billing address in magento 2?

For our project we have customized theme in Magento2. This has billing and shipping address pages. We have to save the billing address details in quote address table. But we didn't come across any ...
1
vote
1answer
754 views

magento 2 how i ca override the config save controller adminhtml?

magento\vendor\magento\module-config\Controller\Adminhtml\System\Config\Save.php how can i override this controller in the magento 2
0
votes
1answer
3k views

Show Billing Address Form In Checkout First Step In magento 2

Stuck:On when select new address I want to customize checkout page Need to show billing with shipping i have done most of part but fields are not showing. I try Like this. Create a new region in ...
0
votes
1answer
830 views

Magento 2 Category Url not working after migration from magento 1

I have a problem with my magento 2 site. this site was originally migrated from magento 1. now my problem is that. the original url is not working for example: Instead of this one: site.com/products ...
0
votes
2answers
2k views

Magento 2 : How to Customise Admin Sales Order Grid Collection

I am trying to customise admin sale order grid collection. I have created an custom sale_order attribute store_manager. These store managers are admin users eg: 'manager1', 'manager2'. 1) Orders are ...
0
votes
1answer
756 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" ...
1
vote
2answers
1k 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
2k views

Unable to place order with authorized.net direct post magento 2.1.3

I am having issue with place order with magento 2.1.3 version. When i place order with authorized.net direct post have facing error Which from transact.dll response: <html> <head> <...
0
votes
4answers
4k views

magento 2.1.3 pub/media/styles.css file not existed

These are the steps I used to deploy content: rm -rf var/di/* var/generation/* var/cache/* var/page_cache/* var/view_preprocessed/* var/composer_home/cache/* sudo chmod 777 -R var pub pub/media app/...
4
votes
5answers
5k views

Magento 2 : Created Custom Product Attribute but Not showing in Configuration Section

I Have Created custom attribute for configurable products. It is Showing in Add configurable Product section. But I Can't get those attributes in below section. $eavSetup = $this->...
7
votes
8answers
8k views

cannot read property 'section loadurl' of undefined

I'm getting this error on the firebug while loading homepage. Due to this error the pages are not loading fully. only the Header, Nav Menu and Footer and showing. The main content sections are not ...
2
votes
3answers
4k views

Magento 2: unable to set payment Transaction Id after successful payment processing (solved by myself)

I am unable to set payment transaction id after successful payment processing... I have got payment confirmation transaction details by payment gateway on my controller action. Now I need to save the ...
2
votes
3answers
4k views

Magento 2: Low Stock Notification Email to Admin

We have below settings Admin -> Stores -> Configuration -> Catalog -> Inventory -> Product Stock Options Notify for Quantity Below -> 1 Admin is not getting email fo Low Stock Products. Notify ...
0
votes
1answer
8k views

Magento 2 : How to delete the record in custom table?

How to delete the record from my custom table. without using object manager? Example : delete from customer_comments where comments_id=124
9
votes
0answers
815 views

Magento2 : How to hide a Product from a specific Customer Group?

I want to create an extension that will hide a product from a specific customer group.
1
vote
2answers
2k views

Scheduled/Automatic Backups in Magento 2

How to make Scheduled Backups work in Magento 2? After setting up "Scheduled Backups" in.. Magento > Shops > Configuration > Advanced > System > Settings for scheduled Backup (translated) .. ...
1
vote
1answer
845 views

How to add dynamic page URL in HTML template on Magento 2?

Is there anyone expert to help me out how to add dynamic page URL in my mention file path? For example: I want to get Create account url in html file but I didn't set it. I was trying with <?php ...
2
votes
1answer
895 views

Fatal error: Uncaught Error: Call to a member function count() on null in list.phtml

<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ use Magento\Framework\App\Action\Action; // @codingStandardsIgnoreFile ?> <?php /** *...
2
votes
7answers
25k views

Magento 2: Requested store is not found

I had two websites with different store and storeviews. I just deleted one website which is not the default one. After deleting it the admin panel page and also the front page shows this error ...
1
vote
3answers
4k views

Magento 2: Display Custom attribute value under the product name on category page

I want to display custom attribute value under the product name on category page. Attribute type is dropdown and attribute name is Brand. I want to display the brand name under the product name on ...
3
votes
2answers
1k views

Magento 2.1.3 Multi Website or Multi Store

I have a requirement like this: "Single backend admin site. Front end shows a main eCommerce website from which another website should open based on Product Category selection. I mean there will be ...
0
votes
2answers
1k views

How do I make customer telephone number mandatory?

How do I make the customer contact telephone a mandatory field during the checkout process on the Magento 2.1.3? Part of our service is to call the customer before the delivery is made to ensure ...
1
vote
1answer
111 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:...
1
vote
0answers
59 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
113 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/...
1
vote
0answers
463 views

Problem compiling!!! setup-di-compile yields segmentation error Magento 2.1.3

php bin/magento setup:di:compile Compilation was started. Proxies code generation... 0/7 [>---------------------------] 0% 1 sec 18.0 MiProxies code generation... 1/7 [====>--------------------...
3
votes
1answer
917 views

Increase display time of exception message in magento 2

I am using Magento 2.1.3 and I need to display an error message in the shipping information page. Currently I'm using this code: throw new StateException(__('Shipping is not available on the provided ...
0
votes
1answer
832 views

Magento 2 Class Catalog\Model\Product\Attribute\Backend\Media does not exist

When trying to edit or add a new product on the backend I receive the following error Class Magento\Catalog\Model\Product\Attribute\Backend\Media does not exist. It stops me from editing or adding ...
0
votes
1answer
401 views

Checkout Troubles in Magento 2

I am having issues with the checkout section in Magento 2. I have version 2.1.3 installed in the community version. I bought an extension and the checkout has not been working properly. The developer ...
0
votes
3answers
1k 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' => ...
9
votes
5answers
20k views

Magento 2: How to update order status programmatically in custom module?

$orderId = 1; $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create('\Magento\Sales\Model\Order')->load($orderId); $order->setState("...
0
votes
1answer
437 views

not getting child product for bundle product, using Magento 2 REST API

I am trying to get child products for a bundle product using Magento 2 REST api /V1/bundle-products/{productSku}/children. But it always return empty array "extension_attributes": { "...
0
votes
1answer
610 views

Magento 2 Cron PHP Parse Error

I'm setting up a Magento 2.1.3 site, first time using M2. I'm having issues setting up my crontab to re-index etc., looking online it seems that it is a fairly common problem although all of the ...
0
votes
0answers
24 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/...
6
votes
2answers
3k views

Notice: Undefined index: id_field_name in vendor/magento/module-ui/Component/Form.php on line 78

I am getting this error while editing my form. This is my code : <?xml version="1.0" encoding="UTF-8"?> <!-- /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for ...
1
vote
1answer
33 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
3answers
438 views

Overwrite pdf.xml

I want to overwrite pdf.xml in Magento 2.1.3 to change order for the total block, but i can't figure out how i can do that. The totals are ordered in pdf.xml in Magento/sales/pdf Edit: First I had ...
1
vote
3answers
5k views

Magento 2: How to Override Abstract Class for Product Category Indexing Issue?

I have 2000 products which is assigned to multiple categories. When i run php bin/magento indexer:reindex catalog_category_product In catalog_category_product_index total record count is 1700. So ...
0
votes
1answer
340 views

Newsletter is not going to subscriber in magento2

well there is an issue with newsletter in magento 2.is i have created newsletter template for subscriber but when i set a date and time to it.it was still not going to my subscribers.apart from this ...