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.

118 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
803 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.
6
votes
1answer
186 views

Issues with deplyoing static files command and frontend loses css and js

I have a serious issue which is ongoing with running php bin/magento setup:static-content:deploy First, I installed Magento 2.1.3 by uploading the files and run the setup wizard, all went fine, ...
5
votes
2answers
314 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:...
3
votes
0answers
140 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 ...
3
votes
0answers
203 views

Prevent place order using observer in magento 2

Hi I'm trying to prevent placing order with the help of observer i have already trigger the event "sales_order_place_before" with this i got all the details of the order like products in cart ,...
3
votes
0answers
538 views

Fetching simple product data from a quote item, based on a configurable product

In my module I want to do some things if a product in the cart has a custom attribute 'servicepack'. So by using the /etc/catalog_attributes.xml I exposed the property <?xml version="1.0"?> &...
3
votes
1answer
806 views

Add customer custom attribute to customer grid for searching and filtering

I have Magento 2.1.3 and have added a custom field in to the admin area of customers which works nicely, however I am now trying to add that field to the customer grid view in the admin area so we can ...
2
votes
0answers
162 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 ...
2
votes
0answers
363 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 ...
2
votes
0answers
189 views

Git and Nexcess Hosting

I am aware about using basic GIT and running basic commands but dont know how to start. Start meaning dont know how to integrate on local with online. https://docs.nexcess.net/article/what-is-git....
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/...
2
votes
0answers
193 views

How to include category id in url on category list page?

i want to include category id included in url on category list page. My default category url is listed below:: http://magento2.shelltag.com/women/bags/backpacks I want to show it like this : http://...
2
votes
0answers
671 views

Why does placing an order returns a MySQL Duplicate Entry?

I have tested a payment gateway on a fresh magento 2.1.3 install with sample data and it works well. Unfortunately when implemented on your site it does not. The payment gateway flow is: Select ...
2
votes
1answer
66 views

Possible scenarios when product price html should be rendered or not in frontend grid or list

I would like to know what are the possible scenarios when product price html should be rendered for a product and if it's not rendered then why ? The one that is know is when product is out of stock ...
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 ...
2
votes
1answer
75 views

How to create a new tabs section on product detail page and add tabs as required?

I am trying to add custom tabs in a new section on product detail page and not the existing "detailed_info" group where generally tabs are being added. You can see the screenshot as given below : ...
2
votes
0answers
639 views

Magento 2: DHL API Hong Kong Address Issue Due to Quote Session

When we put Hong Kong Address as shipping. Hong Kong address is saved properly. For some time we face this issue, that it's not displaying Shipping Fee. City as as Hong Kong. It's already in the ...
2
votes
2answers
504 views

how to override any .phtml or class file in magento2 using custom module?

Well I have an idea to create custom module in magento2 but when it comes to override code functionality I stucks. for example I have to override this file default.phtml in /vendor/magento/module-...
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
189 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();
1
vote
0answers
777 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 ...
1
vote
1answer
76 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 ...
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) ...
1
vote
0answers
31 views

How can I add a block or div on product page to add video and pictures after product info main?

I want some thing like this image .Mean to say I want to make a div or block like this and add video and images of product. ?
1
vote
0answers
246 views

Override Magento\Catalog\Model\Layer is not working in custom module magento2

I am trying to override layer.php file in my custom module but it is not taking override file, it is loading core file only Here is my di.xml file -> path : [namespace][module_name][etc] -> di....
1
vote
1answer
482 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
1
vote
0answers
171 views

Magento 2 : override configurable product

Can u tell me which XML file bind all files to create configurable product so, I can override that file in my custom module at front-end side. Exactly, I want to create configurable button and by ...
1
vote
0answers
125 views

Catalog page product not showing in magento 2.1.3

After running the code " php bin/magento indexer:reindex " my catalog products are not showing in front end also i have get an error like this in command prompt " PHP Fatal error: Uncaught ...
1
vote
0answers
637 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
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('#...
1
vote
1answer
206 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 ...
1
vote
0answers
464 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()) { ...
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="...
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
0answers
951 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 ...
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
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
745 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
1
vote
0answers
212 views

Credit memo return to stock adds a quantity to configurable and simple

When a simple product that is configured to a configurable is bought then refunded and the 'return to stock' check box is ticked, it will return to stock the simple correctly but it will also add a ...
1
vote
0answers
195 views

Magento 2 Error mini cart not show the products Error return $parent.getRegion($parent.getItemRenderer(item.product_type))

I have a custom template and i copied the all files module-checkout/view/frontend and i paged to my custom template /Magento_Checkout but i have an error in the console and the minicart in ...
1
vote
0answers
460 views

Checkout hangs because of: Uncaught TypeError: Cannot read property 'US' of undefined

Running a Magento 2.1.3 store. The checkout never fully loads as an error is being generated on post-code.js in (Chrome): Uncaught TypeError: Cannot read property 'US' of undefined at UiClass.update (...
1
vote
0answers
9 views

Issuing individual credits

How can we issue individual credits that are all different amounts manually on our clients' accounts? We have searched in Credit Memo section and can't see how we can manually edit or add a credit to ...
1
vote
0answers
280 views

how to include category id in url on category page?

I have one query regarding category id.I need to include category id, in category list page. Currently it should be like this : http://magento2.shelltag.com/women/bags/backpacks I want to show like ...
1
vote
0answers
62 views

How to add column using extension_attributes.xml in magento2?

How to add column using extension_attributes.xml in magento2 ?
1
vote
0answers
39 views

Download functionality in Grid column of magento 2

In magento-2 admin grid column I want to show download action in one column as I have all my other fields like full name, view, email, created_at in grid. And after clicking on "download action " my ...
1
vote
2answers
115 views

File attachment value is not getting saved in database

I have created a custom form, in which I have given an option to upload a file. But something is going wrong, I an unable to locate where I am going wrong. All other fields like - Name, number, email,...
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> <...
1
vote
0answers
374 views

Remove Decimal of Price in Admin and Front End

I want remove the decimal in product price in admin and front end Admin: Front-End I tried to modify price-utils.js under this path \vendor\magento\module-catalog\view\base\web\js in line 38: ...
1
vote
0answers
900 views

Empty cart by adding product to cart /magento 2

i'm getting empty cart by adding product to cart. what i already did: Set cookie lifetime: 86400 Set cookie domain: http://www.domain.com/ php bin/magento setup:static-content:deploy php bin/...
1
vote
0answers
215 views

Where can i use $('#elementId').trigger('contentUpdated') and how?

I have added my script as follows in template : <script type="text/x-magento-init"> { "*":{ "Vendor_Module/js/myscript":{ "baseUrl": "<?php echo $quickshopHelper->...