Questions tagged [magento2.1.6]

Denotes questions related to Magento CE and EE 2.1.6

Filter by
Sorted by
Tagged with
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 ...
0
votes
1answer
758 views

Magento 2 : How to Load Image Collection in Category Listing Page

Need to Image gallery collection load to following path in magento 2.1.6 category listing page , \vendor\magento\module-catalog\view\frontend\templates\product\image_with_borders.phtml ( Or ) app\...
2
votes
3answers
4k views

How to display configurable product swatches when product is Out of stock

I have a configurable products with few sizes, let's say : 123, 160, M, S, L, XL When I put products M and S on qty 0, which means it is out of stock, then sizes disappear form the swatches option. ...
0
votes
1answer
1k views

get Qty Increments

Do you know how I can get the "Qty Increments" on the product page? Product page back end: Code 'addtocart.phtml': With this code, I have a blank field. Thanks in advance.
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 ...
0
votes
1answer
865 views

Magento 2: upgrade to 2.1.6 resulted product images not working

I upgraded Magento 2.1.5 to 2.1.6 and after upgrade the product images in frontend's product list pages stopped working. Inspect says the following for all the products: GET /pub/media/catalog/...
1
vote
6answers
5k views

Magento 2.1.6 Conflicting components dependencies

with a fresh install of Magento 2.1.6, I'm trying to install any compatible extension, and I always get this message below: Check Component Dependency We found conflicting component dependencies. ...
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 ...
0
votes
2answers
2k views

Magento 2 change store view

I'm trying this script to detect browser language and redirect to Italian store view if the language is Italian or English store view if the language is not Italian. The country code is correctly ...
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/...
0
votes
2answers
505 views

Magento 2 - How to display the quantity of each product in cart under the add to cart button in the product tile

I want to display the quantity of each product in cart under the add to cart button in the product tile. How can we achieve below Figure ?
1
vote
4answers
1k views

Save button on product page does not work in Magento 2.1.6

New products and even existing products that are opened to be modified could not be saved in Magento 2.1.6. There is not JS error thrown, the Save button just does nothing. No request goes out on the ...
2
votes
1answer
29 views

Add a block to programmatically generated widget

I need to generate a widget block with upgradeData.php and assign a block to this widget how can I do this? Folowing is my code for widget generation: Setup/UpgradeData.php public function ...
1
vote
0answers
15 views

Source for Magento 2.1.6 API documentation

We are using Magento 2.1.6 version for our e-commerce website, now the problem is I have to implement some new APIs for the logged in user but I am not able to find any API documentation for Magento 2....
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
119 views

Magento 2 Order ID missing from both both quote and sales_order tables

A client's site has been running for three years with order IDs being consistent with sales_order table's entity_id. A month ago, three order IDs were skipped all on the same day but hasn't happened ...
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 ...
2
votes
1answer
159 views

Custom file attribute Rest Api

I'm using the Magento 2 rest API to read out the orders in to our system. If an order line product have a custom file option we want to download this file. From the order items we get the following ...
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.
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 ...
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/...
3
votes
3answers
3k views

Magento 2: Filter Field with Date Issue

I have below code $updatedAtFrom = date("Y-m-d",strtotime($updatedAt['orig_from'])); $updatedAtTo = date("Y-m-d",strtotime($updatedAt['orig_to'])); $this->getCollection()->addFieldToFilter('...
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 ...
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
436 views

Magento 2 not able to override Magento\Sales\Block\Order\Email\Items\DefaultItems.php file

I am trying to override this file :- Vendor/Module/Block/Order/Email/Items i call this file in my di.xml Here is xml code Vendor/Module/etc/di.xml <?xml version="1.0"?> <config ...
1
vote
1answer
560 views

Query Magento2 database to find all SKUs without managed stock set to yes

Is there a database query that I can run against my Magento 2.1.6 database to find all SKUs that have Manage Stock set to No. I need to have ALL products set to Yes and Use Default checkbox ticked. ...
1
vote
1answer
281 views

How to add a color picker in magento 2.1.7 system config?

I am trying to add a color picker in magento 2.1.7 using below link but it's not going to work anyone tell me that how to add color picker in magento 2.1.7 https://webkul.com/blog/add-color-picker-...
1
vote
1answer
43 views

How to make my module available in github (via composer.json) in magento 2

I wish to make my module available in github repository and then i wish to install it to my local using composer.json. How is this possible? Please provide me a solution, to install my module using ...
0
votes
0answers
322 views

Magento 2: Get Payment Information in checkout_submit_all_after event observer

I have need to get Payment information in checkout_submit_all_after event observer. File path: magento/app/code/Vendor/Module/etc/events/xml <event name="checkout_submit_all_after"> <...
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
1k views

“No alive nodes found in your cluster” error in magento 2.1.6 after elasticsearch

Every time I save a new product I get that error "No alive nodes found in your cluster" My version of magento is 2.1.6 and the problem appeared after installing the elasticsearch module What ...
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.
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
0answers
812 views

Magento 2.1.6 No confirmation emails sent from frontend

Our new installation is not sending confirmation mails of orders in the frontend. Once the order has been placed and there is a successful response from the payment gateway, the customer is shown a ...
3
votes
4answers
5k views

Magento 2: After Customer Login Get Cart Information?

Customer has already Items in Cart. He is logout. I'm using customer_login observer. It is correct? How to get customers all cart information after his successfull login? namespace Custom\Module\...
2
votes
3answers
4k views

How to use Magento 2 API?

Trying to integrate magento 2.0 with a desktop application (i.e the desktop application should be able to create products & download orders) using the REST API. I am trying to make a 'POST' call ...
5
votes
2answers
3k views

Magento 2: Before Place Order Give Error Message

I need to put my custom validation before place order. magento\app\code\Custom\Module\etc\events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
0answers
96 views

Can you rename product image filename via Rest Api?

I'm trying to rename product image via rest API. So far I got the error Cannot save product on PUT /V1/products/{sku}/media/{entryId} Here is roughly the last thing i tried { "entry": { "...
3
votes
2answers
984 views

Email notification for cancelled order

Hi is it also possible to get email notification for cancelled orders? Thanks
1
vote
1answer
26 views

Emails not being sent when new orders are placed

This is what I've done so far - I've already configured the store's sales email to the correct email addresses - Test smtp (send test email) My mailgun configuration works properly. Email were ...
0
votes
1answer
29 views

Cron.php file script not woking in Magento 2.1.6

I had created cron.php file in my project and added the script.This is the code inside the file and setup cron job once per 5 minutes successfully even I got mail notifications too. /usr/local/bin/...
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
3answers
1k views

Magento 2: Swatch image upload not working due to js error

I am working on magento 2 and when i try to upload a swatch attribute image but each time i get the below error. Please check the below screenshot. I debug code more and found that image path error. ...
1
vote
0answers
338 views

How to add Price / Base Unit of Measure

Could you help me to add the "Base Unit of Measure" after the price, like this "$2.35 / YDS".
0
votes
2answers
358 views

Why is the collect-phrases cli command not working at all?

According to the Magento documentation, I should be able to create a translation csv file by calling bin/magento i18n:collect-phrases command. I have tried all variations of the following bin/magento ...
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
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
54 views

I have to make new module in magento 2 but pub/static are changed

I have to make new module, I took backup from server to local and after executing commend "php bin/magento setup:upgrade" layout and function not working properly, It seem like someone worked in pub/...
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 ...