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
29
votes
6answers
37k views

Static Content is not loading after upgrade

After upgrade from the Magento 2.1.0 to the Magento 2.1.3 (using composer) static content is not loading anymore. In the browser console I can see that all files is unavailable (404): I don't see ...
7
votes
9answers
10k 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 ...
1
vote
3answers
7k 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 ...
12
votes
6answers
37k 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("...
4
votes
3answers
7k 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 ...
6
votes
10answers
49k 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 ...
7
votes
1answer
35k views

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.design_config_grid_flat' doesn't exist

I just upgraded to Magento 2.1.3 and I'm getting the following error message when I go to the design configuration section: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db....
6
votes
2answers
8k views

How to migrate only orders with Data Migration Tool?

I want to migrate ORDERS from magento1. What i already achieved: Migrate all data(customers,orders,products,categories,settings etc) Migrate ONLY Customers Main objective to know config steps ...
2
votes
4answers
773 views

Upgrading Magento 2.1.3 to 2.1.8

I'm currently facing an issue with regards to upgrading Magento from 2.1.3 to 2.1.8. Unfortunately, My ISP refuses to run commands on their shared hosting server as this affect other clients as well ...
1
vote
1answer
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
12
votes
3answers
17k views

Magento 2: How to add additional block on checkout page?

I would like to override the below file & display my custom block in the li. magento\vendor\magento\module-checkout\view\frontend\web\template\shipping.html <li id="shipping" class=&...
8
votes
1answer
15k views

Magento 2 Products Not Showing in Category (but are visible via search)

Got a little issue here with Categories. Running Magento 2.1.3 All other categories display the correct amount of product, except this one Under Products->Categories->"Kingdom Death" category ...
8
votes
2answers
14k 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 &...
4
votes
1answer
5k views

How Can I apply server side validation in magento 2

I am new to magento 2, and I want to apply server side validations, Can anyone please help me, Or suggest me how to apply. I have searched many links for this but i didnot understand. Here is my phtml ...
1
vote
1answer
1k views

Issue with country and region field in custom module using ui-component

I am trying to add country and region fields in my custom module in admin section. I have managed to populate the country field values, but while selecting country, unable to get the regions. This is ...
1
vote
3answers
2k views

Magento 2.1.3 - Import products. Issue with categories

When I'm trying import eg 2 products: I have no error with Check Data but on import: Category "MAN/zakiet/zakiet" has not been created. URL key for specified store already exists. in row(s)...
1
vote
1answer
2k views

Magento 2 - Very slow performance, Cache/static files issues after disabling cache and flushing static files cache

Today is my first day using Magento 2 (I know Magento 1). I'm running Magento 2.1.3 locally on MAMP, PHP v 7.0.13. I had installed Magento 2, I was trying out creating a new theme, and the site was ...
0
votes
1answer
603 views

Magento 2: ACL Permission Call Manually for Logged In Admin

Magento 2: ACL Permission for Admin Module In magento\app\code\Custom\Module\Controller\Adminhtml\Posts\Index.php namespace Custom\Module\Controller\Adminhtml\Posts; use Magento\Framework\View\...
0
votes
1answer
1k views

Magento 2: Composer Update is Not Working [Failed to open stream: Connection timed out]

I'm trying to update composer but it gives below error. root@magento-2:/var/www/html/magento# composer clear-cache root@magento-2:/var/www/html/magento# composer diagnose Do not run Composer as root/...
3
votes
2answers
2k 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 '...
2
votes
5answers
3k views

UIcomponent Dynamic Rows . Image Upload Problem

I Created a form using uicomponent . In Dynamicrows i have two element fileuploader And Simple textbox. <dynamicRows ... > <field name="path"> <argument name="data" xsi:...
2
votes
2answers
3k views

Magento 2: How to create custom email template for a specific form?

I created a custom form and even extended the controller of Magento Contact Us and modified it. Now my problem is that whenever, I fill out the form that I created, It will use the email template of ...
1
vote
4answers
2k views

Override base empty.xml file to rename the page-wrapper class

I am creating a magento theme based on the magento/blank theme, and I am trying to change the opening div's class from page-wrapper to container. Attempt I tried to create a file in /app/code/...
1
vote
3answers
3k 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 /** ...
1
vote
2answers
2k views

Hebrew words in PDF invoice are reversed and currency symbol not showing

I'm using magento 2 CE 2.1.3 When I'm trying to prin PDF invoice the hebrew words are reversed, for example: םולש instead of שלום. And also the currency symbol (NIS ₪) is not showing. I have seen ...
6
votes
6answers
12k 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->...
5
votes
1answer
3k views

Update Magento 2.1.2 for 2.1.3 : Undefined index issue

My magento current version is 2.1.2 and upgraded with Composer by following command: composer require magento/product-community-edition 2.1.3 --no-update composer update php bin/magento cache:clean ...
4
votes
1answer
6k views

Magento 2 “Layout Update XML” in Admin not working

I need to update sorting on just one category in our Magento CE 2.1.3 site. I tried placing the following code in the Layout Update XML field on the category in the admin, but it doesn't seem to do ...
3
votes
2answers
2k views

Mutiple website with multiple sub domain in Magento 2

I'm trying to implement multiple website in Magento 2.1.3 For that, I have created an extra website store and store view My site URL is like www.example.com My subdomain is www.kw.example.com(where ...
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 ...
3
votes
10answers
8k views

Magento 2.1.3 static content issue

I have installed Magento 2.1.3 , After that I reload the page, css and js are not loading so, I remove the pub/static content. Then regenerate the static content, after that I checked css url path ...
2
votes
1answer
4k views

Importing products with custom options

I'm trying to add custom options for my products, using import product tools. This is how my csv file looks like: sku,custom_options 1001BG,"name=Line 1,type=field,required=0,price=0.0000,price_type=...
2
votes
3answers
2k views

Getting category image

I'm trying to create a list of child categories with links to those categories and their image. I'm having an issue with getting the image, but all the other functions seem to be working properly. ...
2
votes
3answers
8k 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
1answer
473 views

Settings defined in website scopes are ignored

Since one month, I set up a multistore platform under Magento 2. Everything worked perfectly under version 2.1.2 but since I updated it in 2.1.3 two weeks ago I got a big problem : All settings ...
2
votes
1answer
2k views

Magento 2: How to override Zend library files function only?

I would like to override below file magento\vendor\magento\zendframework1\library\Zend\Captcha\Image.php Can we do with magento\app\code\zendframework1\library\Zend\Captcha\Image.php ? What will ...
2
votes
1answer
741 views

UiComponent Ui Element Ui-select Not Properly Working

i m trying to create form using ui-component. i want to create element SELECT like Product attribute set. This field is created in my module but the searching is not displaying like below ...
1
vote
1answer
802 views

SOLVED : Magento 2 : Any Specific Solution for “Front Controller Reached 100 Router Match Iterations” Error

I m using magento 2.1.3. Looking Specific Solution for "Front controller reached 100 router match iterations" Error...? I checked some answers on stackexchange but not working for magento 2.1.3. ...
1
vote
1answer
2k views

How do I add images into the “header content” class with a block?

I have a theme that extends luma. It is called "Custom Dev" and it is in "adventist_store" folder. I want to replace the logo at the top with a block. (I'm doing this because I want to have two logos ...
1
vote
1answer
114 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
6k views

magento 2 : which tables is used while creating configurable product

when i am creating configurable Product from admin, i want to know in which table the entry related to configurable product is stored.
0
votes
1answer
124 views

Magento Production Custom theme custom css file is not loading

My custom theme is not loading the compiled Less CSS file. In the theme layout XML, I am loading the CSS files as below in default_head_blocks.xml: <page xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
5k 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
565 views

Worldpay\Worldpay' not found [closed]

I am working on Worldpay payment module to enable Worldpay payment method in my magento 2 website but i got following error while click on place order. i am using Worldpay module from https://github....
0
votes
0answers
60 views

Disable payment section using plugin feature in Magento 2

I'm doing some functionality in Magento 2 plugin feature. Here I took the shipping information before saving it and checked the delivery availability. Now I need to prevent the next step payment if ...
0
votes
1answer
158 views

How I can move a element in product description page?

I want to move a small div which html is like in console <div class="feature-wrapper top-border"> <div class="addthis_toolbox addthis_default_style "> <a class="...
0
votes
1answer
5k views

Magento 2: How to get product type in observer?

I have below code. namespace Custom\Module\Observer; use Magento\Framework\Event\ObserverInterface; use Magento\Framework\App\RequestInterface; class TestObserver implements ObserverInterface { ...
0
votes
1answer
502 views

Magento Upgrade to 2.1.3 Module Disable Error

After upgrading to Magento CE 2.1.3 (from 2.1.2) I am unable to disable a module through CLI. Issuing command php bin/magento module:disable Module_Name results in error: [Zend_Json_Exception] ...
0
votes
1answer
723 views

Magento 2 add css to order grid on basis of custom column

I want to add css class and highlight the order from grid on the basis of my custom column value(Yes/No). Anyone please suggest solution. Below is my custom column : $setup->getConnection() ...
0
votes
1answer
460 views

Magento2: how to add remove header links conditionally

how to add remove header links conditionally. I am trying to show my account link only when the customer is logged in. Otherwise it should be hidden. How to do the same using xml files.