We’re rewarding the question askers & reputations are being recalculated! Read more.

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
2answers
234 views

Product tabs sorting issue in Magento 2

I am trying to sorting the product tabs, but it is displaying wrong. For this stuff I have tried below code. details.phtml <?php if ($detailedInfoGroup = $block->getGroupChildNames('...
0
votes
1answer
885 views

Magento 2 css/js/urls not working after change domain name

After changing domain name css js and links admin are not working in my site http://www.shopbrow.com/ i have change the base url and secure url and clean the cache folder after changing it but its not ...
2
votes
1answer
972 views

How to add Show / Hide Editor for custom attribute in magento 2

I am created product custom attribute(specification) and which is showing perfect. Now I am looking for add the Show / Hide Editor for my custom field. Any help on this.
1
vote
0answers
640 views

Error on place order in magento 2

While placing an order, there is an error occurred like this: "an error occurred on the server please try to place the order again" then the cart becomes empty and we need to again add the product....
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\...
5
votes
2answers
315 views

How to override class which extends Abstract Class

I want to override a class Magento\Catalog\Model\Product\Type\Simple di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
843 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 ...
1
vote
0answers
290 views

How to use region updater in magento 2 custom module?

I am working on the region updater in magento 2. Region Field needs to change based on the selection of country. Below is my region updater code: var billingRegionUpdater = new RegionUpdater('#...
2
votes
1answer
4k views

Store switcher not showing in frontend magento 2

I have created a new website store and store view in magento 2.1.3 backend and configure the new site language but i can't see the store switcher in frontend Here is my back end setup heare i ...
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
682 views

Debug in Magento 2

Product update Button is not working in my Magento 2 Store Admin Panel. In console of Browser I got below message. JQMIGRATE: Logging is active /new_site/pub/static/version1494750734/adminhtml/...
1
vote
5answers
3k views

Magento 2: How to get category product collection

I am trying to get category product collection if is_feature variable Yes. I went around the google, but unable to get the solution. my code use Magento\Catalog\Api\CategoryRepositoryInterface; ...
0
votes
0answers
463 views

How to add custom dropdown on customer address checkout in Magento2

How can we add custom dropdown field on the checkout page in customer address. Also, it should be reflected in the backend and in Customer my account section. For example:- Customer primary business ...
0
votes
1answer
66 views

Undefined index: title in Unknown on line 0 while add new integration

I am getting below message Notice: Undefined index: title in Unknown on line 0 #0 /var/www/html/projects/humblechic/vendor/magento/module-integration/Helper/Data.php(24) on clicking Add New ...
1
vote
1answer
207 views

Magento2 InstallData.php Does't working on registration page

i need to add new field in magento2 registration form so i was created new module Kratos/Seller. It's working the custom attribute created on database but if i submit customer registration form it ...
5
votes
2answers
6k 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 ...
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 ...
0
votes
2answers
661 views

Open Template Path hint in magento2

I want to enable template path hint in Magento 2 by code as we do in Magento 1.9 we set params so how we can do in Magento 2?
2
votes
1answer
1k views

Move more views images to the left of the main product image

I would like to move the more views product images from bottom of the main product image to the left of the main product image, with all the existing functionality intact. It would be very nice if ...
9
votes
0answers
813 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
0answers
471 views

Magento 2 : Get Data From Two Tables or Model

I have created ui component and it works fine, I added data provider file and customized my getData function:- public function getData() { if (!$this->getCollection()->isLoaded()) { ...
0
votes
1answer
425 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() ...
2
votes
1answer
2k views

How do you get the new product ID after programmatically creating the product?

I have a configurable product and am trying to programmatically create a new simple product and then associate it with my configurable product. This is what I have so far... $newProduct = $this->...
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
1answer
130 views

Magento 2.1.3 to magento 2.1.6 upgrade possible Issue?

Magento ver 2.1.6 - Added on Apr 11, 2017. Magento 2.1.6 contains over 15 significant performance enhancements when compared to 2.1.5 http://devdocs.magento.com/guides/v2.1/release-notes/...
1
vote
0answers
82 views

Magento2 - adding notice under counry_id field in checkout

So Im trying to add notice under country_id, I tried the following layout in checkout_index_index.xml: <referenceBlock name="checkout.root"> <arguments> <argument name="...
0
votes
0answers
349 views

Magento 2 pub/static content will result to 404

I'm having a problem in deploying my magento 2 site. It's weird because after content deploy the site will reload slowly and it's not generating the proper static content path. Please correct me if I'...
0
votes
1answer
436 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
1k views

Magento2 how to add non category drop down menu in frontend

Dears, how to add non-category drop-down menu in fronted Need Help
2
votes
3answers
389 views

M2: customer address increment_id column

There's a column called increment_id in customer_address_entity. Is this used for anything?
2
votes
2answers
2k views

Magento 2: How to programatically mark product image as hidden from product page?

I'm trying to programatically set the "Hide from Product Page" setting on an image. The setting can be found here: Products > Catalog > (select a product) > Images And Videos > (click on an image). ...
1
vote
2answers
612 views

Error in Importing CSV in Magento 2

I am getting error like below while I am trying to import product as CSV in Magento 2 Admin Panel. My Import screen is like below. UPDATE I am getting new error now.
0
votes
1answer
295 views

Unable to render custom CC from in magento 2

I am trying to render the custom phtml file for credit card payment. Below is my code, In model file, I have assigned my block file protected $_formBlockType = \Mypackage\Mytheme\Block\Form\Cc::...
0
votes
1answer
487 views

Server Error on placing order via Braintree Paypal during guest checkout

I am getting following exception on guest checkout via Braintree. I am using Paypal Sandbox for testing. Anyone know why I am getting this error. An error occurred on the server. Please try to ...
1
vote
1answer
1k views

How to get Default Quantity of child product of Bundle Product in Magento 2

Today I am working on Bundle Products, Here I am trying to get the Default Quantity of child product of Bundle Product. But I am unable to get the details. Even though I debugged in product page, I am ...
0
votes
0answers
563 views

Magento 2 minicart

I'm Using magento 2.1.3 and i face a problem regarding minicart when there is no item in the minicart its showing only the value "0" and the label items was not displaying After adding a product the ...
0
votes
1answer
828 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
1answer
547 views

How to create new container inside <main> tag in magento 2?

I am working with magento 2 layout containers. I need to create a container inside and below <div class="columns"> . My HTML should be like below, <main id="maincontent" class="page-main"&...
0
votes
2answers
2k views

Magento 2 Custom error Landing pages (500, 401 and etc)

I have a question on how to display those error pages except for 404 error page. because it can be created using cms page. I wonder why on how to create error pages like 500 and etc. I hope someone ...
1
vote
0answers
229 views

From which class category filter is added to the filter groups used for aggregation : magento 2 layered navigation

From which class category filter is added to the filter groups used for aggregation : magento 2 layered navigation. The aggregation and search classes are used for getting the count of products in ...
1
vote
2answers
2k views

Magento2 Add custom field to review form

I am trying to add a custom field in review form in the product page. Below is my code: InstallData.php namespace Namespace\Mymodule\Setup; use Magento\Framework\Setup\InstallDataInterface; use ...
0
votes
1answer
935 views

Extend NewAction Controller in Magento 2 Newsletter Vendor module

I have extended the core controller of Magento_Newsletter NewAction controller. My aim is to add a thank you page after a successful subscription. and I'm having a problem because I wan't it 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
0answers
954 views

Magento 2 : Custom Category Attribute not Showing in Admin

I am using magento 2.1.3. I have created customer group as a custom attribute while creating category. On my localhost its showing textfield to enter customer group. But on server its not showing text ...
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 ...
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->...
0
votes
1answer
188 views

Configurable Product Missing After Reindexing

I have imported products using data migration tool from M1 to M2. But some products does not show on frontend. When I save the product manually it appears on frontend but after reindexing it again ...
1
vote
2answers
824 views

How to create custom php script to display products special price in magento 2?

Can you help me on how to create a php script to display all products with special price including it's sku.
0
votes
1answer
477 views

Remove product attributes for a custom product type

I created a new product type, but doesn't need to have all product attributes - like price, stock, weight, etc. How can i remove the attributes only for one product type? Here is a solution for ...
4
votes
1answer
4k 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 ...