Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
votes
1answer
48 views

Magento 2 : Cart summary is coming jumbled on cart page

Cart summary is coming jumbled on cart page in Magento 2.1.3 . I am not getting any js errors in console, please check screenshot . Please help me, if someone else faced similar issue.
2
votes
1answer
55 views

Magento 2 Order Attribute Creations

I want to create three new order attribute for checkout page, so I found good tutorials to create using install script but I want to add text boxes to checkout page and save it to database, Are there ...
3
votes
2answers
1k views

How to make magento 2 indexing fast [closed]

I have Magento 2.1 shop with about 3,00,000 products, let me know the ways I can make indexing of shop fast What should be the best server configuration
0
votes
2answers
184 views

Upgrade error: magento 2.1.3 to version 2.2.1

I have Upgraded Magento 2.1.3 to version 2.2.1 then it's giving me an error as follows: Exception #0 (InvalidArgumentException): Merge for content type '' is not supported Please help me anyone ...
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. ?
0
votes
1answer
94 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
99 views

How to obtain the file in controller

I want to obtain the file path inside my controller for the file uploaded in store configuration.In system.xml I have added the file upload section as <section id="mageplaza_helloworld_section" ...
1
vote
0answers
249 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....
0
votes
1answer
1k views

How to limit 'related product' in magento 2?

I am showing related products in magento2 in Product description page . And this is I guess due to these lines in code in catalog_product_view.xml <referenceBlock name="catalog.product.related" &...
0
votes
1answer
776 views

Hide or remove all breadcrumbs from frontend

I want to remove all breadcrumbs from frontend. Is there any short or quick way to remove it. I tried to remove from back-end: web > default page > breadcrumbs to NO But it is still showing on ...
2
votes
4answers
641 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
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 ...
1
vote
1answer
491 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
2answers
3k 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.
1
vote
1answer
74 views

After we run the data-migration tool in Magento 2, MSRP(click for price) will not work

This is an issue in default Magento 2 instance. To fix this issue, we have to apply product type for MSRP product attribute. we can only do this from MySQL query. please update the below query: ...
0
votes
1answer
103 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/...
6
votes
2answers
2k views

Magento 2 add custom filter to grid for date

We have a requirement to add a custom filter for date field. So that we can filter using dateRange filter and also by selecting from a dropdown which has these values (today, this week, tommorow) etc. ...
0
votes
1answer
29 views

Customer Address in Magento 2

I would like to display only one country in Customer Address(See below image). How can I do that ?
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 ...
2
votes
0answers
190 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....
0
votes
1answer
504 views

Observer doesn't catch event Magento 2

I have implemented 2 observers for checkout_cart_product_add_after, sales_order_place_after event. But these observers didn't catch events. events.xml <?xml version="1.0"?> <config xmlns:...
0
votes
1answer
14 views

Type of Products to Achieve This?

Will be as simple as possible coz it's driving me crazy: Clothing Store I want 3 PRODUCTS with Color and Size Options one of them is a full outfit Top Qty: 2 Jacket Qty: 2 Top & Jacket Qty:2 ...
0
votes
1answer
227 views

500 ERROR! Magento 2.1.3 Enable Multistore after fresh migration from 1.8

Can someone shed some light on Magento 2.1.3 enabling multistore? things I have tried; enabling index.php code is dev website url is dev.example.com <?php $params = $_SERVER; $params[\Magento\...
0
votes
1answer
404 views

How do I add a Buy from Amazon button in Magento2?

I tried to research online but didn't really find an answer. I am totally new in coding and it'll be really helpful if you can make the answer in detail.
0
votes
2answers
366 views

Error when creating category programmatically

This is my code saving category: $category = $this->_categoryFactory->create(); $category->setData($this->getCategoryData("Test Test")); $category->save(); protected function ...
0
votes
1answer
27 views

Is it possible to give discount to customer who have previous purchase in magento2 cart rule?

I am trying to add a cart price rule in magento2 for giving 10% discount to item when that customer have previous purchase. But in condition section there is no customer related options for creating ...
1
vote
1answer
366 views

Magento 2 error occurs when using <preference> to override a block class

I want to override the block class Book.php of customer module,But i got Following error. Recoverable Error: Argument 2 passed to Magento\Customer\Block\Address\Book::__construct() must implement ...
0
votes
1answer
303 views

Permission denied when try any command in magento 2.1

When I try to set permissions to folder and files using command like find . -type f -exec chmod 644 {} \; // 644 permission for files find . -type d -exec chmod 755 {} \; ...
0
votes
3answers
598 views

I have create system.xml for system config value but not work

I have created one extension now i released i have also need some system config value where user can easily to handle this module. so i have created system.xml in adminhtml folder but its not work ...
0
votes
1answer
759 views

How to create Barcode to invoice ID and separate the product image Magento 2.1.5?

I am facing a problem to separate the products images in pdf invoice in Magento 2.x. How can I fix the image size to separate the multiple order item's images? Also, I want to make the invoice id to ...
3
votes
1answer
918 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 ...
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
1answer
712 views

how to set up a virtual server to set up multiple website in xampp locally?

I wanted to try creating multiple stores and storeview. I am following this tutorial http://devdocs.magento.com/guides/v2.0/config-guide/multi-site/ms_websites.html They have asked me to create a ...
1
vote
1answer
818 views

After changing the base url to a non-existing site . Now if I refresh my page 404 error occurs.. and admin panel is also not working

I am learning Magento2 and tried creating a store view through admin panel and changed the base URL to a non existing site. now after save config I don't able to access the admin panel or my site.?? ...
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 ...
0
votes
2answers
57 views

How to write additional CSS in Magento 2?

Where can I add additional CSS in Magento 2 which will not be removed by upgrades?
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 ,...
0
votes
1answer
481 views

Redirect page using plugin in Magento 2

I'm trying to redirect to my shipping information page to cart page based on a condition how can i do this my plugin file is in this path /app/code/Sem/Shipment/Plugin/Checkout/Model/...
0
votes
0answers
50 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 ...
2
votes
5answers
3k views

Upgrade Magento 2.1.3 to latest 2.1.7

My Magento version is 2.1.3 and i need to upgrade it to latest version which is currently 2.1.7 Should i upgrade to 2.1.7 directly or should i upgrade version by version like 2.1.3 to 2.1.4 then 2.1....
0
votes
1answer
606 views

Is there any method to get cart details inside a plugin feature in Magento 2

How can I get cart products in a custom module plugin in magento 2 on before-save shipping info hear already i'm taking the customer address its working fine like this i need to get the cart products ...
0
votes
0answers
83 views

i want to set canonical href as full/path/with/category/product-url? in magento 2

I want to set canonical href as full/path/with/category/product-url? right now it will use only demain.com/product.html
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 ...
0
votes
2answers
104 views

add css in Magento 2

suppose I need to add following changes in my css: .border{1px solid #cecece} .box{float:left} I am stucked to add these in my styles, i can only see .less files and not sure how it works.
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 ...
2
votes
2answers
1k 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 ...
0
votes
1answer
430 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
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
-1
votes
1answer
165 views

How to pass an input value to magento 2 from an external mobile app

I have a mobile app currently it is in local system in the index of the mobile app I'm getting an input value ' i need to pass this input value to my custom module controller. When I put this index ...
0
votes
2answers
399 views

Magento 2 : style-m.css and style-l.css is not appearing in frontend

I am facing a weird issue with magento 2.1.3. style-m.css and style-l.css is not appering in frontend. Due to this frontend designs are messing up. I have tried following command to fix this issue but ...