Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

Filter by
Sorted by
Tagged with
3
votes
0answers
336 views

Unique constraint violation found on “catalog_product_entity_tier_price”

Unique constraint violation found on "catalog_product_entity_tier_price". Magento version 2.2.6: I have migrated data Magento1 to Magento2, i but some how catalog_product_entity_tier_price for this ...
3
votes
0answers
126 views

Upgrading from 2.2.6 to 2.2.7

I just don't get this damn error and it's driving me crazy. Problem 1 - The requested package magento/product-enterprise-edition 2.2.7 exists as magento/product-enterprise-edition[2.2.6] but ...
3
votes
1answer
27 views

Magento2 REST API and mode

Magento2 has three different modes but official documents don't talk about how does Magento 2.2.6 REST APIs' behaves in these three different modes?
3
votes
0answers
82 views

Multiple currency not working with custom price quote - Magento 2

I created quote with custom price from Magento admin, it works fine but it does not work multiple currency. e.g) I created quote to customer with custom price $10 (USD currency), when customer checks ...
3
votes
1answer
91 views

No index on the url_rewrite table

Is there any reason why there is no index on the entity_id column on the url_rewrite table? Or on entity_id and entity_type? The only index I see is on entity_id and store_id. I understand that that ...
3
votes
2answers
1k views

Magento 2.2.6 Catalog Search indexer process unknown error - Notice: Undefined offset: 53

I'm currently using Magento 2.2.6. I've recently encountered the following error while trying to reindex the catalogsearch_fulltext: Notice: Undefined offset: 53 in vendor/magento/module-catalog-...
3
votes
0answers
982 views

How to use cookie-free domains in magento 2

I have recently create gtmetrix report for my site, in that report I found Use cookie-free domains to 0 means nothing. My question is that how to use cookie free domain in magento 2.2.6
3
votes
0answers
198 views

Magento 2 category not work properly

Most of category issued are about product not showing. But I got a different issue here. After I'm trying to solve some problem with the Porto theme. Every category in my site start showing all the ...
3
votes
2answers
2k views

Could not find a matching version of package magento/product-community-edition

I am working on the upgrade process of Magento from version 2.1.9 to 2.2.6. When I run the below command: composer require magento/product-community-edition 2.2.6 --no-update I got below error: ...
3
votes
0answers
217 views

Magento 2.2.6: What is block delimiter?

After I upgraded Magento to 2.2.6, if I go to my account, this shows me the nodes with this class: <span class="delimiter"></span> This makes it look really bad: Inspector: This comes ...
2
votes
1answer
252 views

UPS shipping error

This night I ran into the problem that the UPS method stopped working. The error on the front-end: "This shipping method is currently unavailable. If you would like to ship using this shipping method,...
2
votes
2answers
1k views

Magento 2 Override Product Canonical Url

How would you override the product canonical url in Magento 2? Scenario: We have a group products which cannot be configurable's (client request) so we've created 4 simples and connected them via ...
2
votes
2answers
2k views

emails are comming to gmail and in spam

I have two issues to solve . In mystore->configuration->sales->order email copy when i add something@gmail.com email is received (but in spam ). but when i add something@owndomain.co.uk . ...
2
votes
3answers
202 views

Magento 2 New user give the discount

In Magento 2.2.6, How to give 5% discount for a newly registered customer ? Thanks in advanced!
2
votes
1answer
733 views

Breadcrumbs not showing the home and category names

Breadcrumbs is not showing the home ,category names in product details page. It shows Only Product name. How do I resolve it,Please provide me a solution In latest version 2.3.3 also same issue only ...
2
votes
3answers
936 views

Add module Enable/disable functionality in Magento 2

I want to add Enable/disable functionality in my custom module by which the module can be enabled or disable directly form admin-panel for just selecting. I want to add something like this in my ...
2
votes
1answer
126 views

Magento 2 : IE 11 Error “Expected identifier” on checkout page

On the Magento 2.2.6 checkout page, there is a javascript error in IE 11. The error is coming from the default.js file. Note : its working fine on all other browsers except IE11. JavaScript Console: ...
2
votes
1answer
254 views

how to add a free product in Cart automatically when any other product added in cart in Magento 2

Add a free item in the cart. For example when anyone adds X product in the cart then Y automatic added if remove X then Y automatic remove. for doing this task I made an observer and an events.xml ...
2
votes
1answer
714 views

Show order comment history on invoice

I'm trying to show the order comments history on the invoice (Magento 2.2.6) I've written the following override: app/code/Denial/InvoiceComments/etc/di.xml <?xml version="1.0"?> <config ...
2
votes
1answer
86 views

How to get the orders above the order id and How to use the limit in magento 2

I need to write code to get next 10 orders above the given order id. <?php namespace Learning\GreetingMessage\Controller\Index; use Magento\Framework\Controller\ResultFactory; use Magento\...
2
votes
1answer
3k views

PHP fatal error: Uncaught TypeError: Argument 2 passed to Magento\Catalog\Plugin\Block\Topmenu

this is happening when I install megamenu from template monster and updated to Magento 2.2.6 any ideas? full error below Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Catalog\Plugin\...
2
votes
2answers
182 views

User Error: DDL statements are not allowed in transactions Magento 2.2.6

I want to achieve following functionality: Whenever user tries to insert new data, i want to remove all old data from my custom table and insert new data. For this, i want to use truncateTable() ...
2
votes
1answer
69 views

How to create a default Magento 2 block (catalog/product_list) from a phtml file?

I'm trying to render a default block from a phtml file, without luck. After a lot of research, I learnt that I can use this code inside a page to render the block I want: {{block type=”catalog/...
2
votes
2answers
104 views

Admin Dashboard - Unexpected token } in JSON at position 33

I know there are many questions here about the unexpected token in JSON error but nothing seems to apply in my case. In my case I log into the admin backend and get this error: I managed to find the ...
2
votes
1answer
40 views

How to create swatch as simple product, which is created through configuration in Magento 2.2.6?

I have created a product of type simple. After that, I have created a swatch for the same product through the "configuration" tab on the same edit page. When we create a swatch through the "...
2
votes
1answer
59 views

How can I add an attribute to related products?

I would like to Add the sku to the related products. I am in the template Magento_Catalog/templates/product/list/items.phtml. This is what it looks like now- <?php /** * Copyright © Magento, Inc. ...
2
votes
2answers
393 views

Swatches disappearing

In the table eav_attribute_option_swatch (the one that holds the swatch options for the attributes) I have about 6k records. Some are color codes, others are paths to images and most of them are null (...
2
votes
1answer
243 views

Overriding Block class causes constructor err in magento 2

I want override a block class, for this I have made entry in di.xml using preference and created a respective file on my custom module block/Rewrite/Product/ListProduct. My file is calling but now ...
2
votes
2answers
714 views

Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid XML in file /var/www/html/magento/app/code/Bz/Bcs/etc/frontend/routes.xml:

While i create a router in magento 2.2.6 module i face the following error 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid XML in file /var/www/html/magento/app/...
2
votes
2answers
494 views

Magento 2: System Configuration Error

I cannot open my System Configuration in Magento 2.2.6, I have forced it back to Developer mode, error below & all installed modules. I'm starting to pull my hair out. It worked on one system, I ...
2
votes
1answer
327 views

Why are browsers failing to load some static content?

Using Magento 2.2.6. I just installed a brand new install of 2.2.6 using Apache on OS X High Sierra, and with both Chrome and Firefox, after logging into the admin, the subnavigation does not work, ...
2
votes
1answer
436 views

How to populate data in custom filed in product edit form in Magento 2

I have added custom filed dropdown in product edit form using UI component. Below is the code in file app/code/Vendor/Module/view/adminhtml/ui_component/product_form.xml <?xml version="1.0" ...
2
votes
1answer
53 views

Why does one script work but not the other in require.js?

I am trying to add a live chat script to my Magento 2 site. I had previously added slick.js to my Magento 2 site and the require-config.js file looked like this- var config = { paths: { slick: '...
2
votes
3answers
544 views

Blocks not displayed (only in luma theme)

sorry, I am a bloody beginner, so this question might be obvious to someone else. However, I cannot figure them out. I have a blank Magento (2.2.6) installation and I want to customize it (couple ...
2
votes
0answers
30 views

Magento2 : Custom Sales Rule condition and validation

I am using this article to create custom condition in cart rule where I want to add the stock qty including other product attributes in rule condition. For example if product_attribute1 = Adidas and ...
2
votes
2answers
45 views

Magento 2: how to hide ''price' of custom option in products

how to hide ''price' of custom option in products Magento version is : 2.2.6
2
votes
0answers
60 views

Validation Failed when running bin/magento app:config:import

I have added the following data to my app/etc/config.php file: 'scopes' => [ 'websites' => [ 'admin' => [ 'website_id' => '0', 'code' => 'admin', ...
2
votes
1answer
23 views

An exception was printed during migration, but I don't know what it means

An exception was printed to the console during migration. Please tell me what you mean. My migration procedure is as follows. 1.Installed Magento version 2.2.6. 2.The application and database were ...
2
votes
0answers
101 views

Custom Form Undefined Property

I had a custom Module with custom form, which was working fine until recently. Most likely it is throwing error after upgrade from 2.2.2 to 2.2.6. and the line representing the error is like: $...
2
votes
0answers
23 views

Magento 2 shopping cart and checkout: show discounts tax included

In my checkout and shopping cart discounts are appearing tax excluded. I would like to show it tax included I'm searching where is defined the displayed value to place something like amount * 1.21, ...
2
votes
0answers
59 views

Magento 2.2.6 - grouped product's associated product assign issue while having custom options in admin

I have a problem in assigning the associated products of it's group product in admin area of magento 2.2.6. while having the custom options. when i add the simple products but not display in the grid ...
2
votes
1answer
19 views

Customers grid issue

whenever i select more then 20 records from the filter in the magento admin customer->all customers i have seen this issue http://prntscr.com/n73cu6 I have tried and i can revert the filter to 20 but ...
2
votes
2answers
199 views

EaDesgin/Magento2-City-Dropdown extension extraxt file path not clear [duplicate]

https://github.com/EaDesgin/Magento2-City-Dropdown I need to know, where should I extract the files of this plugin.(paths need app/code/ .... / ...) Also need proper steps for installation.
2
votes
0answers
521 views

Magento 2 klarna payment not vizible in frontend

I Have magento 2.2.6 installed with Amazon pay and ogone payment solution, This payments works fine, but klarna payment not visible in checkout page, seems everything is fine in backend, here is ...
2
votes
1answer
197 views

Apply cart rule to products without other discount

Scenario: Add a new condition to the cart rules in the section "Apply the rule only to cart items matching the following conditions". The condition should like this: "If Absolute discount amount is/...
2
votes
0answers
280 views

How to set extension attribute to Order search interface api magento 2

Please review following files: OrderRepositoryPlugin.php <?php namespace Retailinsights\Cartrules\Plugin; use Magento\Catalog\Api\ProductRepositoryInterfaceFactory as ProductRepository; use ...
2
votes
0answers
45 views

How to implement Sovos TaxCalculation Extension in Magento 2.2.6

I am implementing Sovos TaxCalculation extension in Magento2.2.6, according to the documentation I have to use this URL core_adapter/api/magento, which is not actually working for me, because I really ...
2
votes
0answers
73 views

Magento 2 Zoom in not working for mobile screens

we are using magneto 2.2.6, ethan theme for some website.Zoom option is working for desktop only for mobile screens it doesn't support here is our code 20 ...
2
votes
0answers
31 views

Add external JS tracking script to tracking/popup.phtml

I want to insert an external js to popup tracking page to get shipping information provided by an API service. I need to pass the shipping number (that is yet in the popup tracking) to this js... ...
2
votes
1answer
67 views

Script is not calling on Homepage Banner slider

https://www.depoto.com/ is my website. I have used the weltpixel banner slider extension. When i refresh the website, The banner slider is not working properly.