Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

Filter by
Sorted by
Tagged with
0
votes
0answers
13 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 ...
1
vote
1answer
25 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"> ...
0
votes
1answer
21 views

Magento 2 How to update a record in quote item option table

I have add a custom column in a quote_item_option table, Now I want to update a record based on a quote item id and I use bellow code : public function __construct( \Magento\Checkout\Model\...
0
votes
2answers
31 views

Magento 2 cant override the minicart.html file using html

I am going to override the minicart.html file using knockout for my custom code as below at the default file location is : /var/www/html/magento226/pub/static/frontend/Magento/luma/en_US/...
0
votes
2answers
40 views

magento2-how to use javascript inside knockout in magento2

i want to use the <script type="text/javascript"> require([ 'jquery' ], function(jQuery) { jQuery('input[name="telephone"]').keydown(function(event) { ...
1
vote
1answer
932 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 ...
0
votes
0answers
44 views

Magento2.2.6 How to create custom api module?

How to create custom api module for category listing and product filter sales order...etc below added custom api module integrate after check it postman result { "message": "Request does not ...
0
votes
1answer
27 views

Magento 2.2.6 - Custom modue setup version for module is not specified

I try with this but my local system is working fine but the same module when I upgrade in live site then is not working it gives the exception please let me know what I have to do? Please see below ...
0
votes
2answers
26 views

magento2 input type number accept “E”

Hello I'm facing the issue, when I change the input type text to number then it will allow the small and capital E latter rest of all letter will not able to type from keyboard but how can we prevent ...
1
vote
3answers
835 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?
0
votes
0answers
13 views

Magento2 I have using Magenative mobiconnect Extension But getting issue on filter product attribute api

I have using Magento2.2.6 and I have to used Third Party Mage native Mobiconnect Extension integrated and have find on filter size there data showing on website level properly if product in stock ...
1
vote
1answer
28 views

Filter in custom grid doesn't work normally. Magento2

When I filter twice, it works fine after the third time display only one product in each row. grid_record_grid_list.xml <?xml version="1.0" encoding="UTF-8"?> <!-- /** * Grid record ...
0
votes
1answer
47 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 ...
1
vote
0answers
35 views

Send custom pdf in attachment in email in magento2.2.6

How to add PDF as attachment in magento 2.2.6 ? I have created code using an event "checkout_onepage_controller_success_action" to sends an email after place an order button click. 1) When ...
1
vote
0answers
26 views

How to add custom pagination in default toolbar magento 2?

I have custom pagination for my custom product collection. I am using Magento's default toolbar on my custom product list page. I want to add my custom pagination in Magento's default product toolbar. ...
2
votes
1answer
762 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
0answers
33 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 ...
0
votes
0answers
32 views

Magento2 : How to validate cart rule using plugin?

I was trying to validate the cart rule using plugin, but not able to do this, here I am explaining my approach in form of code files, please let me know how to do this. app\code\Vendor\Module\Plugin\...
0
votes
0answers
10 views

Magento2: How to use product inventory(qty) in salesRules conditions

I want to apply the SalesRules based on product Qty on cart using event Observer. What is the best way to use this. I am using below events:- checkout_cart_product_add_after ...
0
votes
1answer
24 views

Can we use virtualType in programmatically in layererd navigation filter?

Just wanted to know, how can we use virtualType programmatically in magento 2 custom script file ? Actually I am building api for layered navigation and I am getting following error. Fatal error: ...
1
vote
1answer
1k 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/...
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-...
10
votes
2answers
2k views

Magento - 2.2.6 Possible Problems?

Magento was 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-...
0
votes
0answers
19 views

Magento2: How to add city as drodpwn in address book page in my account?

I want to add city drop down on address book page in my account public function citiesJson() { $countriesJson = $this->helperData->getRegionJson(); $countriesArray = ...
0
votes
1answer
106 views

Can we believe the Google Pagespeed insight results?

I have checked the speed of our Magento site on Google pagespeed insight and see that its showing inconsistent pagespeed scores. For better understanding, please see the below images I have read ...
0
votes
2answers
856 views

Free shipping with flat rate shipping at magento 2

Can i make promotion for flat rate method? equal or greater than ... allow free shipping. I have already do this with free shipping but both methods appear there. I have configured it many times at ...
3
votes
3answers
375 views

Unable to unserialize value? On customer edit?

While Editing The Customer, I'm Getting This Message. How Can I Solve This.? I found there was an issue with this method in vendor/magento/framework/Serialize/Serializer/Json.php public function ...
0
votes
1answer
359 views

While saving product throws “Unable to save Stock Item” exception in magento 2.2.6

While saving product in backend,throws "Unable to save Stock Item". I have tried after flushed the cache and reindexing but still exception throws. I have reffered below link, but no luck https://...
3
votes
1answer
960 views

Magento 2.2.6 Cannot create a symlink for… after Update

I update my magento webstore to 2.2.6 using following guide: https://devdocs.magento.com/guides/v2.0/comp-mgr/cli/cli-upgrade.html Not everything seems to be fine. I have some css files that do not ...
2
votes
2answers
47 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
1
vote
2answers
2k views

How to add New payment method (credit card) in magento 2

I wish to add new payment method for credit cards. How do I add Credit card as a new payment method in magento 2. Please Provide me a solution to customize payment methods
1
vote
2answers
56 views

Unable to run commans in magento 2

I have tried to disable Magento_CatalogSearch in config.php. After edited config.php, While trying to run commands throws the following error. "Source class "\Magento\CatalogSearch\Model\...
0
votes
0answers
14 views

Magento2 : Configurable products are not updating in cart

I have configurable product in my store and I am using magento2.2.6. When I edit the product from cart page and Mini Cart, it not update the product, it added the new product in the cart, Some time ...
1
vote
1answer
48 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/...
0
votes
0answers
59 views

Magento2 : Product attribute label translated into wrong language

I am currently experiencing a weird issue, where Magento the product attribute translated into a wrong language. I am running a Magento with more than 10 websites and each website has 1 or 2 store ...
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: ...
0
votes
0answers
18 views

magento 2 show category filter options all the time

I want to show all category filter options even if filter is selected. When user selects option it only shows the selected option. Same question was asked by some one here magento 2 : show all ...
0
votes
1answer
53 views

Magento2.2.6 How to redirect url after pass parameter?

I have using Magento2.2.6 I have tried to add URL rewrites into Magento 2 using the Marketing -> Url Rewrite tool. The old URLs for the store look like this: group.asp?group=320 http://XXXXXXX/...
0
votes
0answers
22 views

Need file browse-upload button on Magento2.2.6 checkout payment-step

I need to put one file upload feature option on magento2 checkout payment-step from where customer can upload files like pdf, word doc, etc. and when order is being placed, attached file should store ...
0
votes
1answer
204 views

How to increase/decrease space in thumbnail images on Product Page (catalog-product-view) Magento

I am trying to increase/decrease spacing of thumbnail images on (Product Detail Page) but didn't get any proper solution. Please let me know if there is any option available in magento 2.
1
vote
1answer
216 views

Mini Cart Not Working in Mobile view in magento 2

For Mobile view, I have added the items in the cart, the mini cart icon shows the product count correctly, But it will fail to trigger the minicart-wrapper class which means while clicking the cart ...
2
votes
2answers
588 views

Remove sticky behaviour of cart summary in Magento 2.2

i need to disable sticky behaviour from the cart summary block in checkout cart page, but can't figure out how to do it. I tried overriding js file /vendor/magento/theme-frontend-blank/...
1
vote
6answers
2k views

Can't upload product placeholder images in Magento 2

I'm trying to replace the Magento placeholder image with a custom one. Everything I browse to select the file and hit Save, nothing gets saved. Is there an issue with this in v2.2.6? What can I do ...
0
votes
1answer
61 views

how to convert guest to customer and send email to reset password in magento 2

How to convert guest to customer using order id and how to send them password reset email in magento 2. Please provide me a solution to send convert guest to customer
0
votes
0answers
23 views

Newsletter pop-up not showing properly

I have used magento version 2.2.6 and installed Fastest - Magento theme inside this. In this theme, I have enabled newsletter popup for the home page landing. But the issue is, the newsletter form not ...
0
votes
0answers
28 views

Magento ver. 2.2.6 throws 2 exception

Recently when browsing through the website. I found out when the site home page is on Http, page works fine, but when it on https it throws the following error. 2 exception(s): Exception #0 (...
0
votes
1answer
69 views

Error 400 and error 503 by /customer/section/load/? and ?sections=messages

I have upgraded my stage site from Magento 2.2.9 to 2.3.3, but now it's getting long loading time by the /customer/section/load/?sections=gtm&force_new_section_timestamp=false&_=... and ...
4
votes
1answer
725 views

How to hide magento 2.2 messages after a time has passed?

I want to remove the success notification message with animation included, trying with below code with no success: define([ 'jquery', 'uiComponent', 'underscore', 'Magento_Customer/js/customer-data',...
1
vote
2answers
908 views

Magento2.2 - - Failed to read session data

If you open the front end with multiple tabs in the browser, the following error is output:. Exception #0 (Exception): Warning: session_start(): Failed to read session data: user (path: /var/opt/remi/...
1
vote
2answers
3k views

PHP Fatal error: Cannot redeclare __() (previously declared in /vendor/magento/framework/Phrase/__.php:15) in /app/functions.php on line 23

Hello I am facing the issue after upgrade from 2.2.6 to 2.3.0 Can you suggest what is needed to be modified? file __.php : <?php declare(strict_types=1); function __() { $argc = ...