Questions tagged [magento2.1.6]

Denotes questions related to Magento CE and EE 2.1.6

Filter by
Sorted by
Tagged with
1
vote
2answers
1k views

magento Plugin is not working on CollectRates method shipping method class

Target: Using plugin before method, want to changes some behavior of method collectRates(RateRequest $request) of Magento\OfflineShipping\Model\Carrier\Freeshipping Issue: Getting 500 Internal ...
2
votes
1answer
910 views

Magento2 : Review Tab Not showing in Product view Page (2-column layout)

Review tab is not shown when I change Catalog_Product_View from layout="1column" to layout="2columns-left". Need help on how can I fix... UPDATE: This is my catalog_product_view.xml file <?xml ...
0
votes
2answers
795 views

Table missing after index:reset

I had been looking around for solution for the pass 2 weeks and nothing seems to help. Recently, i had a few indexes that are always in "processing" status and whenever I try to reindex these indexes ...
1
vote
2answers
1k views

Magento 2: Collection Query addFieldToFilter Loop Issue

I have below code $_objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $orderRepository = $objectManager->get('\Magento\Sales\Api\OrderRepositoryInterface'); $customModel = $...
0
votes
1answer
503 views

Configurable product quick add to cart

I'm looking for a way to add configurable product to cart from catalog page. When i look demo theme site they all have customisation of product in catalog, itis a module ? I find many solution on ...
2
votes
1answer
2k views

Magento 2 Elasticsearch: Root mapping definition has unsupported

I am trying to setup elasticsearch 2.4.5 on a internal server and trying to use this for my EE 2.1.6 setup (magento installed in my local version). Following are the ES details. { "name" : "The ...
1
vote
1answer
201 views

Setting of custom filter for customer and order grid in Admin

we have more than 3000 customers on site and we need to to display particular records. I am setting the custom count under per page drop down but it will take 999 max, how can i make it custom filter ...
1
vote
0answers
1k views

How to create a repeater field (like Minsaleqty, Regexceptions) inside admin form in Magento 2?

I've created a module that adds a custom form inside magento which is similar to the create order or create product forms. The form is used to create requests for marketing material from our art ...
1
vote
2answers
158 views

Magento 2.1.6 Cannot show more than 1000 products in frontend category pages

I have a category with more than 10k products But in front-end shows only 999 products in category page.
4
votes
2answers
3k views

Magento 2 : How to make “lastname ” optional in customer registration form?

I need to make lastname optional in customer registration form.
1
vote
1answer
167 views

custom phtml file in magento2.1.6 not working

i want to update this file in my custome theme magento2\vendor\magento\module-catalog\view\base\templates\product\price\amount\default.phtml i have add it here in my theme magento2\app\design\...
5
votes
1answer
615 views

Change images as per Swatches using Custom Slider on Product Detail page

I have created Custom Slick slider to display product images on Product detail page. But I want to change images as per change on color Swatches. Note : I'm using getGalleryImagesJson() to retrieve ...
1
vote
1answer
873 views

custom shipping address date field validation

I've added a custom field to the shipping address in checkout: $jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children'] ['shippingAddress']['children']...
0
votes
1answer
181 views

Why I'm getting Uncaught TypeError when creating a Magento 2 plugin?

I was trying to create a plugin for existing Magento 2 extension, but it is always getting Uncaught TypeError: Fatal Error: 'Uncaught TypeError: Argument 1 passed to Vinc\discount4customer\Plugin\...
0
votes
1answer
267 views

Magento 2.1.6 inodes are 100%

I did the resize images command due to the bug in 2.1.6 and now the inodes are way over my quota and the images are not fully loaded yet. Is there anything we can do to solve this ASAP. I have been ...
4
votes
0answers
348 views

Magento 2 : Can We Convert Price Into Ceil Price

I have setup multi store view with multiple currency. Everything is working as expected. Now, I got requirement to convert all prices into ceil. (e.g, SR20.02 = SR21). For this task, I have ...
0
votes
1answer
79 views

Cannot install sample data

I'm new to magento and it's already freaking me out! Not just is it slow but nothing actually seems to work like it does on tutorials/YT videos. So, i installed magento 2.1.6 but somehow the sample ...
0
votes
1answer
121 views

How to remove Sell link from footer links in Magento 2?

There are a footer link name 'Sell' is coming. I need to know their module name in magento 2. Here is the screenshot of the link on checkout pages. This link take the user to site-address/...
1
vote
1answer
377 views

I need to apply a filter in Region loader in Magento 2.1

I wish to apply a filter on the states being loaded anywhere on the website. So far I have got to know that the toOptionArray() function of Magento\Directory\Model\ResourceModel\Region\Collection ...
0
votes
1answer
683 views

settings not showing in Magento admin

I am trying to create a custom module in admin but for some reason modules settings are not appearing. Below is my code. app/code/Anshu/TrackingImport/etc/adminhtml/system.xml <?xml version="1.0"...
3
votes
3answers
3k views

How get custom Table Data in phtml file without creating Model file. Magento 2

I created custom table in my database through phpmyadmin, now I want display top1 record from that table on home page, and top2,top3 records need to display in product details page.
1
vote
3answers
998 views

How can I create a new order state in my module on Magento 2?

I'd like to create a new order state like processing, complete and etc.. Using my custom module (without using the admin panel). How can I do that? Thanks
0
votes
1answer
415 views

Why isn't the payment method showing on the frontend in Magento 2?

The issue is that I have enabled cash on delivery and some other payment methods from the backend. But it is not showing on the frontend. I recently created a new theme and removed some CSS and JS ...
5
votes
3answers
4k views

Magento2 : How to install patch CE-MAGETWO-67805.patch

Today CE-MAGETWO-67805.patch patch has released by Magento for resolve Image Resize Issue with Magento version 2.1.6 Image Resize Issue with Magento version 2.1.6 How can I install the patch? I can'...
0
votes
2answers
302 views

Why my theme is not showing on the admin panel on Magento 2.1?

I have created a new custom theme in it. My theme structure is as follows. app\design\frontend\Magento\mytheme ----css ----js ----images ----fonts ----etc ----media ----Magento_Theme ----composer....
1
vote
0answers
412 views

We can't create the backup right now. magento 2

I get this comment when I choose for Magento Backups in admin Nowhere an answer to find Someone know?
2
votes
1answer
450 views

Unable to fetch css in magento2 after magento2 upgrade [duplicate]

I update my Magento 2.0.1 to 2.1.6 and it updates successfully. The problem is from frontside CSS are not working correctly but in admin side, it is working good. What i do to update magento is ...
0
votes
3answers
5k views

Add custom copyright text below existing copyright text in Magento 2 frontend by module

I have attempted several steps to create a custom block to display custom copyright text below the existing default copyright in the frontend. In my module root directory (app/code/Ciptaloka/...
2
votes
1answer
94 views

JS error with saving admin side form data

In the custom module with grid i am getting error as following : TypeError: $.data(...) is undefined in magento 2 admin form in tab It was working perfectly without tab and saving form data in ...
0
votes
1answer
326 views

404 not found - notification URL - adyen payemts

I have implemented adyen-magento2 paymets. I am facing issue related to adyen notification url: I am using following url: SiteURL/adyen/process/json When i test configuration. I am getting following ...
3
votes
1answer
656 views

Product image not showing in Category Page In Magento 2.1.6

I have installed Magento 2.1.6 and import products using csv, After import Products. I have did below services, But Product image not showing on Product list Page. its goes to 404. upgrade the ...
2
votes
1answer
728 views

Magento 2 : Add to cart qty validation

In default Magento 2 Why "e" is allowed to be entered and no any other letters in Qty textbox, It should allow only numbers.
0
votes
1answer
63 views

Permission file error when save options in admin panel

I have a problem with the Magento administrator, when I try to save any changes that are inside Content > Settings or Content > Blocks I get the following error and could not correct it. I ...
1
vote
0answers
423 views

How apply AMP on Magento 2?

How can I apply the Google AMP on my Magento 2 store without using a paid module?
0
votes
2answers
433 views

Magento 2.1.6 custom theme page layouts broken

Magento 2.1.6 custom theme page layouts broken Hi, I have my theme set up and working correctly but now I want to add a custom homepage layout. I have set it up like so: Sulman ....Sulmantheme .......
6
votes
3answers
2k views

Magento 2: When/Why to do customer:hash:upgrade?

When I run below command, it gives below output. $ php bin/magento customer:hash:upgrade . Finished What actually this command do? When I have to run this command? What changes it will do? Will ...
2
votes
1answer
299 views

Magento 2: Bug or developer mode issue

I am facing the issue with Magento ver. 2.1.6. When I am login still showing me log in when I click on cart checkout button. Refresh the browser solved the problem. Did anyone face the smiler ...
1
vote
1answer
5k views

Model class not found in …/magento/framework/ObjectManager/Factory/AbstractFactory.php:93

When I try to load collection via getCollection method in my custom Block, I get this error in apache2 log. The complete error is: [Mon May 08 09:53:53.485661 2017] [proxy_fcgi:error] [pid 1996:...
0
votes
1answer
58 views

magento 2.1.6 in fedora 25 css and js files issues

I have installed Magento 2.1.6 in Fedora 25, after successful setup, but when I run it in the browser, I am getting lots of css and js files not found errors. That is loading from static version ...
0
votes
1answer
79 views

Pub/static js path wrong in magento2 after install ebizmarts mage monkey plugin

Recently i have tried to install Ebizmarts_MageMonkey plugin in magento2. After install frontend not working properly. Got an error like some js missing. 404 not found error http://test.com/pub/...
0
votes
2answers
2k views

How to fix images for some products not resizing?

For some reason, the image gallery for certain products isn't resizing its main image, but other products are doing it fine. Here's an example of a product that isn't working. Here's an example of one ...
0
votes
1answer
3k views

Magento 2.1.6 - Product Images not showing

The site is working fine but on installing Magento sample data, the product category list does not show the images, when i check the source of the image it does not exist in the Magento directory ...
1
vote
0answers
921 views

Magento 2: Upload PDF gives Unsupported image format. Error

I'm able to upload from Backend TinyMCE Editor. But when it upload it gives "Unsupported image format." Error. I need to overwrite that function but it's private. Below is code what I have tried ...
3
votes
2answers
4k views

Magento 2.1.6 Product Grid page count and record count issue when programmatically adding filter using different methods

I have tried several different methods to artificially add an extra filter to the product grid (Category page). There is an issue where after adding a filter to the product collection, the total ...
0
votes
1answer
2k views

Why are my product attributes not showing up on the frontend properly?

After upgrading from Magento 2.0 to 2.1, product attributes no longer seem to be working. Here is an example - notice that the color attribute is a swatch, and the size attribute doesn't exist at all. ...
1
vote
1answer
978 views

Product images missing on category page

I have a problem with product images. Although they're displaying correctly in the admin panel and on product page, for some reason they fail to load on category page. It looks like Magento can't ...
6
votes
1answer
2k views

Magento 2 custom module override knockout template

How can we override a knockout template in a custom module? I know how we can do this in our own theme but I need this in a module. For example I like to override this file: vendor/magento/module-...
0
votes
1answer
842 views

Magento 2 minicart showing count multiple time

I am using magento 2.1.6 and i have a problem with my mini cart. the minicart showing multiple count at a time if i added 1 product it show "11 items" . and also if there is no product in cart it just ...
0
votes
1answer
883 views

Component Manager keeps on loading after System Upgrade

I did system upgrade from Magento ver. 2.0.7 to Magento ver. 2.1.6 by admin panel. I clean the cache but the component manager keeps on loading. There's an error on my console: Failed to /setup/...
1
vote
2answers
2k views

"Unable to load theme by specified key: '6

Im getting errors after I done a fresh install to magento 2.1.6 and relinked to old DB. Now when I select certain items in the menu it will throw this error. I went to DB and changed the theme ID over ...