Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

315 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
15 views

How to configure Category product listings in Mobile?

We knew the steps to configure the product listings in Magento 2 on Desktop view and done successfully as per our need. Now, we wanted to show 2 products per row in portrait mode and 3 products per ...
1
vote
0answers
63 views

Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in ..t/src/PaygentConnect/Response/Parser.php on line 27

The Clearing module prints the exception. This module is a third-party module. Do you know where the cause lies in the source code? Please tell me. bool(false) 1 exception(s): Exception #...
1
vote
0answers
25 views

I want to know how to change the value of “fotorama _ _ caption _ _ wrap” printed in Magento 2 product details

Magento 2 outputs the product title by default. I want to know how to change the title value to a custom attribute (brand) instead of hiding it. I would also like to know the detailed procedure for ...
1
vote
0answers
185 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
0answers
10 views

Why does parentID = 0 when the product's catalog_product_entity value is different than 1?

I recently migrated from M1 to M2 and when I am attempting to retrieve a product's Parent ID I am getting a zero value on some products but on others I'm getting the correct parent IDs. It's ...
1
vote
1answer
30 views

Product Url Key is not generated on edit product

I have the following scenario: I have created a new product. I have left the url-key field blank. If url-key field kept blank, then on product saving, it will set url key value automatically ...
1
vote
1answer
87 views

I wish to add the new div in PDP page after price section in mageno 2

I have added custom div in /var/www/html/pot/app/design/frontend/pot_customization/Magento_Catalog/templates/product/price/amount/default.phtml. The div displays for all the products and works fine. ...
1
vote
1answer
67 views

2.2.6 - Email address is now required. Why?

Create New Order -> Create New Customer -> Email field is now required. Why has this been implemented and why is it not noted on the Release Notes for 2.2.6? How do I make it a non-required field ...
1
vote
1answer
176 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 a one configurable product.I have added special price into the associate product.The Special Price is Display but old price is not display how to show them ? ...
1
vote
0answers
64 views

Magento 2.2.6 Checkout issue

I am using Magento 2.2.6 and I have some issue on checkout. we are using auth.net direct post with the recent patch applied. Initially it did work fine but since last two day we keep getting this ...
1
vote
1answer
87 views

Magento 2.3.0 calendar selection issue

I have a store with Italian Language with Magento 2.3.0. In that store, I have created a calendar and I am facing some issue while selecting the date from the calendar. My Date Format is dd/MM/yy. My ...
1
vote
2answers
128 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 ...
1
vote
0answers
294 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 ...
1
vote
3answers
653 views

Unable to serialize value problem with Magento 2.2.6

Please teach in order to solve the problem. cd /vagrant sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy sudo php bin/magento ...
1
vote
0answers
12 views

Magento2 Innermost category selection as Radio Button

like we have check-boxes for selecting category for products, but for a specific requirement I want to limit the selection of innermost category to just one instead of multiple. for example parent-&...
1
vote
0answers
27 views

Tax is not included in Sagepay transaction

While placing order from Admin using Sagepay, Tax is included in order total but Tax is not being included on sagepay transaction. Even I've set "Include Tax In Order Total" to "Yes". I am using ...
1
vote
0answers
7 views

Is there any way to retain the entered customer billing/shipping addresses in magento admin once entered?

We see that the addresses of billing/shipping added to the order creation process gets erased if we remove all line items from the cart and then add back new product using "Add products by SKU" button....
1
vote
0answers
86 views

Missing Rows In Sales Order Grid

I have an interesting issue. Admin sales order grid does not show all records in sales_order_grid table. I tried several solutions. For example, I activated async grid generation on admin panel, ...
1
vote
0answers
16 views

When we migrated to Magento 2 we found that we were unable to edit configrable products price from Admin

When we migrated to Magento 2 we found that we were unable to edit configrable products from Admin. I want to be able to change the price. Please tell me how to fix it.
1
vote
0answers
42 views

How to show product custom attribute value on sales order view page under magento admin

How to show product custom attribute value on sales order view page under magento 2.2.6 admin.
1
vote
0answers
26 views

When I try to generate Fedex shipping label using magento version 2.2.6. The error is showing “Customs Clearance Detail is required.”

If I try to change file Carrier.php add 'CommercialInvoice' => ['Purpose' => "SOLD"], the error is showing like [08-Feb-2019 12:20:39 UTC] PHP Fatal error: Namespace declaration statement has to be ...
1
vote
0answers
48 views

Xdebug don't stop in the breakpoints

I try to debug my magento2 project with xdebug php 7.1 and nginx. I have differents breakpoints in app/code/Extension/Module and doesn't stop in any one. Just stop if I have the option "Break at the ...
1
vote
1answer
20 views

Deploying code via GitHub

Due to the security reasons, we want to deploy the changes in code with GitHub. I can see that we can only change the code via GitHub. Is it possible to change the admin configuration as well via ...
1
vote
0answers
67 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\...
1
vote
0answers
315 views

Send Tracking information email to customer when tracking number saved to Magento

Is there a way for Magento2 to send tracking information email to the customer when tracking information is saved? Currently, we are using 3rd party tool ecomdash to process the order and shipment, ...
1
vote
0answers
295 views

Magento 2 Custom payment methods not display in backend new order create?

I created a custom payment method and it is displaying in checkout page (frontend).But this payment method is not displayed in admin side also when i create a new order. Anyone can help on this ? My ...
1
vote
0answers
86 views

Magento 2: How to move block into html div?

I want to move below block in third "col-md-4 col-lg-4" div:- <block class="Magento\Catalog\Block\Product\View" name="product.info" template="Magento_Catalog::product/view/form.phtml" after="alert....
1
vote
1answer
147 views

How to get the shipping address from using sales_order_payment_save_after event

I need to save the shipping address while order is placed in my custom table how to i take the shipping address . I am using the event sales_order_payment_save_after and did the following codes $...
1
vote
0answers
38 views

API issue returning object

We have this API where we save different fields, but the object $lines we have created doesn't save properly. The code below are the getters and setters for the object $lines. Save method API: ...
1
vote
0answers
132 views

Programmatically import multiple products with same image name in 1 transaction - Magento 2.2.6

I'm running into an error while importing multiple products with the same image name in one transaction. The file "/var/www/magento/pub/media/tmp/catalog/product/t/e/test.jpg" doesn't exist or not ...
1
vote
0answers
25 views

why images showing 404 when used inspect with .jpg.tmp

Randomly some product images are showing error only when i click inspect. Error details : Failed to load resource: the server responded with a status of 404 (Not Found). See image below. i ...
1
vote
1answer
308 views

call block from controller via ajax

I call controller function from phtml via ajax, it calls controller function Now i am trying to call block function in controller it is not working Controller code public function __construct( ...
1
vote
0answers
42 views

Magento 2 : Print Quote Details

I want to print Quote detail's similar to print order from Cart page. Is it possible to print quote details along with quote item detail and quote amount detail. Please provide me the logic or code ...
1
vote
1answer
382 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
683 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/...
1
vote
1answer
155 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 ...
1
vote
2answers
248 views

How to hide the column entries in admin grid?

I have a column called goods. I can enter the number inside that column and save. After save I don't want to show the entry in the grid. It should be empty. I want to show only the column name as ...
1
vote
1answer
137 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 ...
1
vote
0answers
61 views

Magento2.2 How to get userContext into ScopeConfig

It's more a core logic issue than a technical issue! I created one new table for admin_user: admin_user_config_data |config_id|user_id|path|value And, like in core_config_data, in this new table ...
1
vote
2answers
23 views

Magento2 on upgrade not generating static assets

I made a copy of a website for upgrade from 2.2.1 to 2.2.6, but I think there is some small issue, which I am not able to figure out. The static contents in the pub static folder are not getting ...
1
vote
0answers
460 views

set custom shipping amount programmatically in Magento2

I am trying to set the custom shipping amount to quote or order without shipping method. Main thing is that shipping amount have to be stored in the database. Please help me for the same .. My ...
1
vote
0answers
42 views

How to fix install blog extension last step error?

How to fix install blog extension last step error? please check this screenshot. http://prntscr.com/li3e5p i'm facing many errors on this server(platform.cloudways.com).
1
vote
0answers
23 views

Magento ver. 2.2.6 - Custom Checkout Step by customer group

I have to add a new custom checkout step which only should appear by a specific customer group.
1
vote
0answers
54 views

Extend a default JS component or Use Mixin

Which is better and recommended to use Extend a default js component as explained at https://devdocs.magento.com/guides/v2.1/javascript-dev-guide/javascript/custom_js.html#extend_js or to use Mixins ...
1
vote
0answers
50 views

How to enable a custom shipping method for API in Magento 2?

We have created a custom shipping method in magento2, It's being added to the JSON response when we fetch the order data as well. But we are not able to append it in post request JSON of order ...
1
vote
1answer
280 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
1answer
207 views

Correct way of adding images programmatically?

I have the following problem, right now my program uploads the images and does it good, however when i go to the edit product page, the following are empty or uncheked: Role Alt text Here is the ...
1
vote
1answer
232 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
1answer
298 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/...
1
vote
0answers
27 views

When I add product from backend I got this

I am using Magento 2.2.6 When I add product from backend I got page like shown in below image. Is it any known issue in Magento 2.2.6 or any cache related issue?