Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

Filter by
Sorted by
Tagged with
1
vote
1answer
1k 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
2answers
1k 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
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
1answer
1k 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
918 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
2answers
973 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.
0
votes
0answers
5 views

Magento 2.2.6 Linux OEL 7.9 compatibility

We are presently running a Magento store in Linux x86-64 OS(Version 7.1). We are planning to upgrade the Linux OS version to 7.9, we need to confirm whether Magento 2.2.6 will support the latest ...
6
votes
1answer
285 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 ...
0
votes
4answers
1k views

Get language switcher in header.phtml file in MAgento 2

I am trying to get language switcher in header.phtml file. I tried this code in header.phtml. it doesnt work in magento 2.2version. Kindly help me to resolve the issue <?php echo $this->...
3
votes
1answer
5k views

Magento 2.2.6 Configurable Product How to Show Old Price and Special Price?

I have used Magento 2.2.6 version. I have one configurable product. I have added a special price to the associated product.The Special Price is Display but the old price is not displayed on how to ...
4
votes
3answers
2k views

Magento 2.2.6 bin/magento catalog:image:resize taking so much time

After upgrading to Magento 2.2.6 the images are missing. According to devdocs i need to: The catalog:image:resize command execution time has been reduced by up to 90% in the release. However, this ...
2
votes
2answers
2k 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
3answers
2k 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?
1
vote
1answer
1k 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://...
1
vote
1answer
2k 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 ...
1
vote
2answers
2k 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
1answer
1k views

JQMIGRATE: jQuery.fn.andSelf() replaced by jQuery.fn.addBack()

JQMIGRATE: jQuery.fn.andSelf() replaced by jQuery.fn.addBack() error when first time lode the website after refreshing all ok every thing are working its in magento 2.2.6 please not provide solution ...
2
votes
2answers
1k 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 ...
3
votes
1answer
3k 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/...
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-...
1
vote
4answers
1k views

Magento2: Adding custom attribute to category doesn't show store specific value

I have created a custom category attribute using the custom code from here, attribute created successfully and able to save the value. But I want to save store specific value in this custom attribute,...
0
votes
0answers
78 views

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails when i upgrade mage

How can I resolve Foreign Key constraint 'SQLSTATE[23000]: Integrity constraint violation: When I have tried to upgrade the Magento version from 2.2.6 to 2.3.4 and run php bin/magento setup:upgrade ...
1
vote
0answers
18 views

Email Attachment not working in Magento 2.2.6

I am using Magento version 2.2.6 and trying to send custom email with attachment, but I am getting 500 error. I tried transportbuilder addattachment which is working in Magento 2.3.x and onwards. But ...
2
votes
1answer
86 views

Mocked shared instance incomplete on second identical integration test

I'm writing an integration test on a plugin that changes the action of an existing form. The plugin calls a helper method that decides whether the url should be changed and returns the result. I ...
5
votes
6answers
2k views

Magento 2.2.6 How to add TAB structure in admin UI component form

I am trying to create a TAB in admin UI component form in my custom module, TAB is showing but page is loading continuously, please see attached screen-shoot. Here is my code. Namespace/...
1
vote
3answers
1k views

How to install and Configure Varnish in Magento 2?

How to configure varnish in magento 2? Selecting Varnish Cache in Stores Configuration is enough?
2
votes
1answer
186 views

ACL for custom config group - section disppeared?

I'v tried to add a new section to Store -> Config -> Catalog Section -> Catalog with custom ACL settings. I changed (default) adminrole permissions from "All" to "Custom" and left only the ...
0
votes
1answer
807 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
1answer
319 views

Setup version vs Module Version

How to check the third party plugin version without any code in Magento 2? Also, please let me know what exactly is Setup version and Module version.
0
votes
1answer
617 views

Magento Customer Grid Custom attribute can't export csv and export xml

Magento Customer Grid Custom attribute can't export csv and export xml, Showing error, how to add custom attributes to the customer export. PHP Fatal error: Uncaught TypeError: Argument 2 passed ...
0
votes
1answer
51 views

magento 2 product align alphabetical order in pdf invoice

how we can arrange product alphabetically order in PDF invoice if any extension please suggest me or code please share it
0
votes
0answers
25 views

How to change the validation message in one page checkout - Magento 2.2

I Added some validation using a plugin to checkout shipping section telephone number field. Validation works fine like the below image. How can I change the message "Please enter less or equal ...
3
votes
2answers
2k 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-...
0
votes
0answers
29 views

How to disable COD payment method based on product attribute?

I want to hide COD payment method based on the Product attribute. I tried payment_method_is_active event method to disable using observer like below. My observer file is here public function execute( ...
0
votes
1answer
348 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 ...
0
votes
2answers
904 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
2answers
338 views

checkout session reset after creating order $this->_quoteManagement->submit($quote)

I am trying to create order pragmatically using $quote = $this->_checkoutSession->getQuote(); $this->_checkoutSession->setLastQuoteId($quote->getId()) ->...
0
votes
1answer
193 views

Upgrading Magento 2.2.6 and want to upgrade to Magento 2.4

I am using Magento 2.2.6 Enterprise version and the site is live now. I want to upgrade my store to the latest version of Magento which is 2.4.1. My store has many customizations in code and theme ...
0
votes
1answer
25 views

Payments Standard success error in magento 2.2.6

Payments Standard payment success error in magento 2.2.6 1 exception(s): Exception #0 (Magento\Framework\Exception\InputException): Id required Exception #0 (Magento\Framework\Exception\...
1
vote
0answers
34 views

Error : upgrade magento 2.2.6 to magento 2.3.0

Error : upgrade magento 2.2.6 to magento 2.3.0 To upgrade the website, I used the following blog https://www.webcreta.com/how-to-upgrade-magento-2-2-x-to-2-3-0/ But when I run the composer update ...
0
votes
0answers
37 views

Magento 2.2.6 CMS homepage content goes here

I am getting CMS homepage content goes here. content on the front page as well as on the admin panel with no images and any other content, how to resolve this issue. Run below commands also sudo find ...
15
votes
6answers
7k views

Magento 2.2.6 issue: php bin/magento catalog:image:resize

When run command php bin/magento catalog:image:resize, it stops after few images and shows error. How fix this? I tried manually reupload images to this folder after this problem.
6
votes
3answers
6k 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
1answer
679 views

How to move product.price.render.bundle.customization from bundle.summary to product.info.price in Magento 2

Magento 2 bundle product has a set of simple products. If you click each simple product's checkbox, its bundle product's price is re-calculated and displayed in bundle.summary block. I want to move it ...
2
votes
1answer
393 views

Magento 2 customer address book Call to a member function getFrontendLabel() issue

Customer is unable to update and add address in Magento 2.2.6 version. Steps to reproduce 1.Login as customer and click to Address book section. 2.Fatal error will be generate customer is unable to ...
0
votes
1answer
569 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 ...
1
vote
1answer
217 views

Magento 2.2.6: Programatically updating product custom options

I am working on custom script to update product custom options. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_product = $objectManager->create('Magento\Catalog\Api\...
2
votes
1answer
3k 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 ...
0
votes
0answers
7 views

Magento search not retuning search result when the word - “the” and “in” is included in search string

I just noticed an issue with Magento2.2.6 that when I try to search with strings like girl in beach or beyond the world I am getting - Your search returned no results. even when the product with the ...

1
2 3 4 5
11