Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

Filter by
Sorted by
Tagged with
0 votes
2 answers
2k views

How to create customer custom attribute for radio buttons, checkbox in magento 2

I wish to create customer custom attributes with following types: 1.radio buttons 2.checkbox 3.dropdowns Please provide me a solution to create customer custom attribute.
2 votes
1 answer
1k views

“Could not save product ”5648“ with position 1 to category 6”

When I tried to remove the category from the product edit page the following error is getting displayed. I am saving the product manually via admin end.....
1 vote
2 answers
742 views

URL Rewrite by custom router URL

I am using Magento version 2.2.6 I have already tried with Marketing >> URL Rewrite >> Add New URL Rewrite add custom URL, but it's not working when we use it with question mark in URL. It'...
2 votes
1 answer
2k views

Magento2 : Custom Sales Rule condition and validation

I am using this article to create a custom condition in the cart rule where I want to add the stock qty including other product attributes in the rule condition. For example if product_attribute1 = ...
0 votes
1 answer
3k views

I am getting "You are not authorized to view this page" error while checking out to Cybersource payment gateway in Magento 2

I am using Magento 2.2.6 Enterprise edition. In that when a user checkout to order an item, the system is throwing the error (403 Forbidden) "You are not authorized to view this page. The ...
0 votes
2 answers
10k views

How to fix "Connection to Redis failed" error?

I cannot open the site and can't run any commands. I'm getting the below error: The thing is that I have configured our development site into local (Xampp). In the development site, we have used the ...
6 votes
3 answers
4k views

Custom section data not rendering on page load

I have created one module for the custom section. Here is the code. di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
2 votes
2 answers
3k views

XML site map is not generating for Magento 2.2.6

I have upgrade the Magento version to 2.2.6. Now i want to configure the sitemap for my site. I have followed the document but still it showing 404 page not found error.. is it magento 2.2.6 known ...
2 votes
1 answer
673 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
1 answer
2k views

Magento2 : How to remove delete item button from cart page?

I want to remove delete item button from cart page. I am using below xml code to remove this but not working:- Path: app/design/frontend/vendor/theme/Magento_Checkout/layout/...
1 vote
1 answer
4k views

How to get product parent category id and category id separatly in magento 2.2.6 using product ID?

Problem definition: I have product under below category: Beauty --> Sun --> my-some-product-name. where 'Beauty' is root category and 'Sun' is the subcategory of 'Beauty'. Currently, I am ...
2 votes
2 answers
735 views

Deleting a Magento 2 Sitemap

On our Magento 2 store we have a second sitemap we need to remove. Can someone advise how we do this please? Many thanks
0 votes
1 answer
1k views

How to get and show the best selling products in magento 2

I wish to show best selling products in homepage.Please provide me a solution to get best selling products and display in home page. Thanks
0 votes
2 answers
2k views

Notice: Undefined index: PK_CMS_PAGE in \vendor\magento\framework\EntityManager\EntityMetadata.php on line 96

I shifted my site from server to local. But it shows an error like this: Notice: Undefined index: PK_CMS_PAGE in \vendor\magento\framework\EntityManager\EntityMetadata.php on line 96 can ...
0 votes
2 answers
2k views

Order confirmation receiving twice in magento2

I am facing same issue in Magento2, After the order gets confirmation we receiving the order confirmation mail twice. We using External plugin JccPaymentGateway , by using that plugin if we do order ...
0 votes
1 answer
3k views

Upgrading from 2.2.5 to 2.2.6: Fatal error: Interface 'Laminas\ServiceManager\AbstractFactoryInterface' not found

Im trying to upgrade a Magento 2 site from 2.2.2 to the latest 2.3. I've got up to 2.2.5 so far without issues. When moving from 2.2.5 to 2.2.6 I am getting a fatal error when running php bin/magento ...
1 vote
1 answer
2k views

How to overrite cart subtotal price in order summary block magento2

can any one know that i want to update the price of the checkout page order summary Cart subtotal line. how can i do that ? knowckout file is render is subtotal.html : <tr class="totals"> ...
1 vote
2 answers
2k views

How to convert latin characters into the english characters?

I have following brand name which contains Latin character. How to convert the brand name into English? Latin characterise string: RéVive LeurCrème Want to convert into - Revive LeurCreme
1 vote
1 answer
2k views

Getting error Call to a member function dispatch() on null in Block

This is the proper way of outputting something Fatal error: Uncaught Error: Call to a member function dispatch() on null in /opt/lampp/htdocs/learnm3/vendor/magento/framework/Model/ResourceModel/Db/...
4 votes
2 answers
3k views

How to add datepicker field in Checkout?

I want to add a date picker field into the checkout page but I have no idea where to start. I have tried this Add date picker in checkout page but it's not working for me. We are having the below ...
1 vote
1 answer
1k views

Magento 2 - Getting user role

I would like to get the Role of the user logged in. I'm trying to use the \vendor\magento\module-user\Model\User.php class, but all results give me null or empty. I'm trying to use \vendor\magento\...
1 vote
2 answers
2k views

Magento 2 : Change Language Code

I'm facing issues while update language code for website. <!doctype html> <html lang="en"> I want to change it with en-GB. I've already locale setup with default configurations. Any ...
2 votes
4 answers
3k views

I change my admin URL to a custom URL and I cannot access my store admin anymore.

I change my admin URL to a custom URL and I cannot access my store admin anymore. How can I revert the change that I made?
10 votes
2 answers
2k views

Magento - 2.2.6 Possible Problems?

Magento released Magento-2.2.6 version on 18th Sep 2018. This release includes: 25 critical enhancements to product security, over 150 core code fixes and enhancements, and over 350 community-...
3 votes
1 answer
2k views

Magento 2.2.6 Exception message: A wrong PayPal Express Checkout Token is specified

I am getting this issue for a few customers in the production site. while trying place order in one step checkout with PayPal express checkout, it's redirecting to the cart page with the exception ...
1 vote
1 answer
1k views

magento 2.2.6 Indexer:reindex error

I get the following error when running the indexer:reindex command for Magento 2.2.6 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DB.catalog_category_product_index_store1_replica' doesn'...
1 vote
1 answer
2k views

Error while updating ece-tools version - Magento 2.2.6

I am using magento2.2.6 cloud version and while updating ece-tools version and push changes to cloud environment it is displaying below error. W: Package container-interop/container-interop is ...
0 votes
1 answer
1k views

Add („House Number”) field for the orders address datas in Magento 2.2.6

I hope someone can help me :) I would like to add a („House Number”) field for shipping and billing informations in Magento 2. I have successfully created the field, but when I submit a test order, ...
0 votes
1 answer
2k views

What are some free extensions for delivery date in checkout?

We are in Magento2.2.X. We would like to implement the delivery date field into the checkout. When I have googled, I have found the below free extension but it hasn't worked for me. https://...
6 votes
1 answer
633 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 ...
1 vote
1 answer
587 views

How to add last logged in and last order date information to customer grid?

Using Magento ver. 2.2.6, how can I add new columns to customer grid showing the last logged-in activity and Last order date?
0 votes
2 answers
410 views

Intensity reduce of captcha image overriding in magento 2

I have changed number of lines and dots in native magento 2 captcha in /vendor/magento/zendframework1/library/Zend/Captcha/Image.php. but not impact in captcha
0 votes
3 answers
5k views

How to get values passed from phtml in js magento 2?

I have passed two variables in my phtml to js file as below <script type="text/x-magento-init"> { ".slider-gallery": { "slickSlider": { "...
2 votes
3 answers
1k views

M2 - Check if product has custom options

On the category page (in list.phtml) I need to check if a product has custom options. What is the best way to do that without abusing the objectmanager?
8 votes
1 answer
5k views

Magento 2.2.6 - Mixin does not work

I try to add more KO functions to the Magento_Checkout/template/summary.html I have an own extension "XXX_Checkout" For this i do the follow parts: Create Mixin /app/code/XXX/Checkout/view/...
4 votes
2 answers
5k views

How to Export CSV File to Custom Module Table in Magento 2?

How to add Magento 2 export functionality to your module in Magento 2? Using this side System -> Data Transfer -> Export Any solution??
0 votes
0 answers
143 views

Paypal Error placing order

I just setup paypal checkout system but after paypal payment window, it redirects me to store page to place an order to store the order in backend orders panel, but when I press the button to place ...
6 votes
4 answers
19k 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: ...
0 votes
1 answer
44 views

Color Attribute not fetching in REST API of Magento 2.2.6

How to i get color attribute for the returned json from this end point https://cleopatraweb.com/rest/V1/orders/9495? This the response of the request. I could not find color attribute for products. { ...
2 votes
2 answers
2k 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 ...
1 vote
3 answers
2k views

How to improve Google Pagespeed score for Mobile

We have built a site using Magento 2.2.x version. While we check the Pagespeed of our site in Google Pagespeed insight, we have noticed that the page-speed in mobile showing low score but the page-...
1 vote
3 answers
2k views

Magento2.2.6 Admin Session Timeout Not Working

Something is wrong with the admin session timeout in Magento2.2.6. I have everything set to 1 day however it's all ignored. I get logged out if I'm inactive for 15 minutes. I have vendor/magento/...
2 votes
3 answers
3k 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 [email protected] email is received (but in spam ). but when i add [email protected] . ...
2 votes
2 answers
2k 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 ...
0 votes
2 answers
2k views

The next arrow hidden on the product images in fotorama zoom pages at magento 2.2.6

I need to show the next arrow in all the pages of the product when the product page shown in full screen. Is there any option to enable next arrow in fotoram.js file? I have used magento 2.2.6 version....
8 votes
3 answers
3k views

Magento 2 Show timepicker using UiComponent

I want to show Timepicker in Ui Component Form. I could able to add the time field by using below code but not able to save value. Can anybody help on it. <field name="start_time"> &...
2 votes
2 answers
3k views

How to display order summary sidebar in shipping step of checkout page in magento 2?

I have referred the link Magento2 : Show summery total on checkout page and made changes in abstract-total.js and shipping.js. Now order summary is displayed and shipping amount updates correctly ...
3 votes
2 answers
2k views

What is the layout for editing the "Your search returned no results." page?

Instead of showing "Your search returned no results." I would like to give the user some links to other pages in the site. When I look in module-catalog-search/view/frontend/layout I see three files ...
0 votes
4 answers
4k views

Magento 2 Commerce cloud database export

I am new in magento commerce cloud. I need to setup the magento store in my local system. I have downloaded the files from the commerce git and it is working fine. But how can I access the database? I ...
2 votes
0 answers
2k views

Magento 2 Klarna payment not visible 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 ...

1
2 3 4 5
11