Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
69 views

Magento 2: Set table structure in order invoice pdf

I have need to set order invoice PDF in table structure. I have tried in Magento 2 below core files for same but not done. magento\vendor\magento\module-sales\Model\Order\Pdf\Invoice.php ...
0
votes
1answer
8 views

What would prevent me from being able to upload images on migrated products?

I recently did a product migration to Magento 2. If I create a new product I can upload pictures. If a product has images I can upload images. We do a nightly sync with our erp and if a product was ...
0
votes
0answers
30 views

Magento 2 : On clicking swatches, thumbnail images are hiding

On product page, On clicking swatches Size and color. Thumbnail images are hiding.Why is it so happening. I used custom theme. Please help somone.
1
vote
1answer
481 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.....
0
votes
2answers
52 views

Two Url's for one product

i have one product with two different url's https://dutchmanaxles.com/products/axle-housing-rearend-hardware/rcv-934-cv-joint-lightened.html and https://dutchmanaxles.com/rcv-934-cv-joint-lightened....
0
votes
2answers
30 views

index.php is on main url after last update

After we did the last update to Magento our homepage url went from https://dutchmanaxles.com to https://dutchmanaxles.com/index.php This only appears on the main page, and we have done all the ...
1
vote
1answer
157 views

Removing “category.description” block

I'm trying to remove the description block via: app/design/vendor/module/Magento_Catalog/layout/catalog_category_view.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
30 views

Is there any easiest way to make changes CSS & JS, and show changes without setup:static-content:deploy & without disabling static content generation?

Can anyone suggest the easiest way to make changes CSS & JS without setup:static-content:deploy every time. And without disabling static content generation.
0
votes
1answer
176 views

filter data using addFieldToFilter() Condition in block file magento2

I need to filter values based on and condition in my custom table id status categoryid and i have to filter data according to status and categoryid my current code is $collection = $this->...
0
votes
0answers
41 views

Creating a new folder for Images uploading in Magento admin panel

Currently, we are using the version Magento 2.2.6. We would like to create a new folder for the images with the admin panel as per the below image. But the popup for creating a new folder hides ...
1
vote
1answer
26 views

Require.js errors after database restore

On Magento 2.2.6 I restored from an earlier database. After doing that I flushed the cache, reindexed the site,and deployed static content. I now get require.js errors on every page. On my category ...
1
vote
3answers
104 views

Why does Magento 2 does not support store based price?

I need the price of product store wise, but by default Magento 2 not support that. Can anyone suggest me without extension solution, rather code based solution?
1
vote
1answer
268 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:...
0
votes
1answer
287 views

Magento 2 ajax is not working

I am trying to save form details using AJAX. Below is my Code. etc/adminhtml/routes.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
1answer
477 views

What is the best way change the label of fields in Shipping Address during checkout?

In Magento 2.2.6 Checkout where First Name, Last Name and Street Address is prompted. I wanted them to displayed as Volunteer First Name, Volunteer Last Name and Centre Address. What is the best to ...
0
votes
1answer
141 views

Upgrade magento 2.2.6 to 2.3 web setup wizard: Component Dependency Error [duplicate]

I can't pass over this error: Check Component Dependency We found conflicting component dependencies. Hide detail Command "update" failed: Loading composer repositories with package ...
0
votes
0answers
70 views

An error will be output when migrating data to Magento 2

Below is the error contents outputted when migrating data from magento 1.9.3.1 to magento 2.2.6. Please tell me how to fix the error. [root@windows magento]# php bin/magento migrate:data vendor/...
0
votes
0answers
30 views

Where can i find the device_name from which the order is placed in magento 2 db?

Need to know the list of the device names appended in the Magento platform and in which table is it rendering from? for example: "device_name": "Smartphone", "device_name": "Desktop"
1
vote
1answer
980 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/...
0
votes
1answer
197 views

How do I display a custom grouped product page layout?

I would like my Magento 2.2.6 store to have two grouped product pages. For some grouped products I would like to use the existing default grouped product layout that ships with Magento 2. For other ...
0
votes
0answers
101 views

Magento 2.2.6 Remove Category Filter From Sidebar Filtered Navigation

I am only looking to remove the "Filter By Category" section. I wish for the other filter options to remain. The pages impacted are the main category catalog pages. I have tried the multiple ...
0
votes
0answers
82 views

Magento 2 youtube product video error on mobile device

My YouTube product videos wont play on mobile devices (except iPad). I'm getting a "Your browser does not currently recognize any of the video formats available" error. I don't believe this is really ...
3
votes
3answers
11k views

magento 2.2.6 to 2.3 upgrade fails with composer

I tried to upgrade my 2.2.6 Magento install with composer following the tutorial on Magento Website, but "composer update" fails with these errors : Your requirements could not be resolved to an ...
2
votes
2answers
494 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
1answer
232 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 ...
0
votes
1answer
105 views

Magento 2: Unable to get item_id while event “sales_order_save_after” is trigger

I need the product item id while sales_order_save_after event call. I try the following code. I am not able to get the item_id $order = $observer->getEvent()->getOrder(); foreach($order->...
0
votes
1answer
157 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
0answers
246 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
121 views

while call function from another controller “ should be compatible with ”

I am trying to call function from other controller . I am using version 2.2.6 . While call it is working properly without arugument. If i send argument it provide error should be compatible with ...
0
votes
1answer
531 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
1answer
167 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
0answers
40 views

Changing Price of Product in All Pages instead of Being Full Page Cache in Magento 2

I am used Magento 2 full page cache. So all the data come from Magento 2 Cache. So if I saved the specific page or product only then data will be updated otherwise everyone will show the same data. ...
0
votes
0answers
54 views

Get order id and product id while order placed using Observer | Magento 2

Hi i need to get the order id and product id while order is generated in magento2 <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
36 views

How to get Class names of all the elements while writing LESS?

I want to create a new theme for my magento2 , so that i create all the boilerplate files that are required for theme creation. Now my problem how do i get all the class names for writing the LESS ...
1
vote
1answer
27 views

Need to save data while custom module installation

I need to save some data while custom module installation. I save some static data using setup/InstallData.php. I need to process the existing order data and save it into my custom table. Is there any ...
1
vote
1answer
157 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 ...
0
votes
2answers
43 views

not able to read parameters in Magento 2.2.6

How to read 'aref' parameter while creating new Magento account using : http://mydomain.in/customer/account/create/?aref=88987990 I have implemented as below: use Magento\Framework\Event\Observer; ...
0
votes
0answers
38 views

custom attribute save is not working during regsitration

I have created custom attribute, and i'm displaying those attribute in registration page. When user clicks on create an account i get values for custom attribute from post value. But when i tried to ...
0
votes
0answers
16 views

magento 2.2.6 Simple Product will be output when searching on the category page

magento 2.2.6 Simple Product will be output when searching on the category page. If you solve the same problem, please tell me how to do it.
0
votes
0answers
27 views

Magento2 - New Products added after upgrade from 2.2.1 to 2.2.6 doesn't display in frontend

When I am adding new products after upgrade to 2.2.6, the new products are not shown in the front-end category neither it shows in the search result. but I can access the product directly from the ...
0
votes
1answer
268 views

How include the Swiper slider html in Magento2.2.6?

I tried i include the swiper.min js. but not working. https://idangero.us/swiper/demos/080-scrollbar.html i added this slider in our product phtml file then coming error please let me know how we ...
1
vote
1answer
49 views

which one is the main category of product

I need to take the main category . i try the following code $product = $objectManager->create('Magento\Catalog\Model\Product')->load($itemid); $cats = $product->getCategoryIds(); print_r($...
0
votes
0answers
17 views

Order summary custom field Validation Magento2

In Checkout Order summary I have added 3 fields by overriding checkout summary. But before clicking next button I need to validate if customer has selected any values, if not when clicking Next it ...
0
votes
1answer
109 views

How to add custom js file for PDP page in magento 2

I wish to include custom js file in PDP page in magento 2. I wish to do some action while product has some options. Please provide me a solution to add custom js in PDP page
0
votes
2answers
33 views

How to add class if a product have Customizable Options in Product Details Page in magento 2

I have two types of products in my site Type 1 :products with Customizable Options Type 2 :products without Customizable Options I wish to add one custom class(for css purpose) to the products which ...
0
votes
0answers
187 views

Magento 2.2.6 SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '164-57-21'

I am getting below error during migration Magento 1.9.3.6 to Magento 2.2.6 [PDOException] ...
0
votes
0answers
39 views

Magento 2 : How to add div to separate Swatch and Custom Option

I've a configurable product with custom options. I can see default HTML structure is like There's div with ID product-options-wrapper which contains HTML for swatch and Options. For Swatched there'...
0
votes
2answers
531 views

How to call controller function in cron magento 2.2.6

I have created a custom module and created the cron in magento 2.2.6 crontab.xml Learning\GreetingMessage\etc\crontab.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
30 views

Custom cron not working in magento 2.2.6

I Have created the custom cron in my custom module. crontab.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
0answers
27 views

Error: Using Duplicate Id (.phtml file)

i declare a div in a .phtml file for a slider <div id="page-header-sliders" class="page-header-sliders template-1 full-width"> and this phtml file is create 5 slider in a same cms page, so id ...