Questions tagged [magento2]

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

how to block/disable words in the search field?

I'm having a search with inappropriate words in Magento, how can I block it?
Bruno Depieri Barduchi's user avatar
0 votes
0 answers
19 views

Magento 2.4.6: how to setup cron for group:index to run less frequently than every minute?

Cron tasks in Magento are executed every minute and when product import and indexing tasks are executed simultaneously database deadlock occurs. Changing settings in "System > Cron (Scheduled ...
player's user avatar
  • 31
0 votes
1 answer
10 views

Increase database size on Adobe Commerce Cloud

I have enough space in my instance's HD. However, the space allocated to my MySQL database shows 108% usage by using the command below. magento-cloud db:size How could I increase my MySQL HD's ...
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
29 views

How to remove or hide specific sections of Page-Builder?

How to remove or hide specific sections of Page Builder? I don't want tabs and divider sections in the layout menu and element so ho we can remove or hide them in Magento 2 check the screenshot any ...
Devidas's user avatar
  • 3,348
0 votes
0 answers
21 views

Magento 2 Website getting down

We host our dev and production sites on the same server. However, the production Magento site is going down randomly but, the dev is up at the same time. It is like the website is not loading. I have ...
Amiyo Ghosh's user avatar
0 votes
0 answers
47 views

Magento 2 - Does anyone know how to customize the live search results with PLP Widget?

I'm looking for ways to change the Live Search query to show more information about the categories in the search results. For example, show category banners or add a widget to the search results, such ...
Nelson Junior's user avatar
0 votes
0 answers
12 views

Trying to save the bundle's child custom option field in db

I have created new shortdescription textarea field inside the magento admin. But after saving the product in admin field data is not store in catalog_product_bundle_selection where i can see other ...
Sunil Sharma's user avatar
0 votes
2 answers
78 views

Zend Class issue Upgrade From Magento 2.4.3 to 2.4.6

We are Upgrading Magento Version from 2.4.3 to 2.4.6. Area configuration aggregation... 5/9 [===============>------------] 55% 34 secs 498.0 MiB In ClassReader.php line 57: Impossible to process ...
Kushal Dani's user avatar
  • 2,114
0 votes
1 answer
18 views

Uncaught Error: Call to a member function getEndpointUrl() on null in /home/magento/backend/app/code/Wac/InstagramFeed/Model/Api/AbstractApi.php:124

the above image The getendpointUrl getting null public function getEndpointUrl(): string { return $this->getStoreConfigValue(self::XML_PATH_INSTAGRAM_API_ENDPOINT_URL); } ...
Alan Biju's user avatar
0 votes
1 answer
27 views

Get SKUs of all bundled product items Magento 2.4.6

Get SKUs of all bundled product items Magento 2.4.6 I have a bundled product, let's call the sku BundledProduct. I have 3 products that can be selected to be bundled with BundledProduct. Let's call ...
user115044's user avatar
0 votes
0 answers
12 views

product gallery extra slide error [fotorama__thumb fotorama__error]

there is showing extra div slide on the product detail page. this happened on some product gallery pages. I have use Magento version 2.4.3-p1 Please help me to fix what is wrong with the gallery page. ...
Gaurav's user avatar
  • 29
0 votes
1 answer
31 views

How to depoy code in magento2 cloud project?

I have following queries as a beginner for the Magento/Adobe Commerce Cloud project. How we can do the deployment process? What is the best practice to do the deployment process? Can we create new ...
Jitendra Patel's user avatar
0 votes
0 answers
21 views

Magento2 | Use category attributes for searching (Elasticsuite)

On my Magento2 site, I installed the elasticsuite plugin that leverages the elasticsearch search engine. I have seen that elasticsuite uses attributes such as "name", "url_path", &...
Jackom's user avatar
  • 473
0 votes
1 answer
33 views

Total Cart Price in Magento 2

Sorry for the beginner question and seriously needed help but currently I am using the checkout module to get the total cart price and display it in my header however the problem is that when I add ...
marco narca's user avatar
0 votes
0 answers
11 views

Magento2 product collection returning empty value instead of 0 (zeros)

I built my own product collection which I use for my own shop dashboard. What it should do is for each selected product to go through the last 13 months and show me the amount that was sold. ... ...
TheFrakes's user avatar
  • 337
0 votes
0 answers
10 views

Get Total Cart Price

Just a beginner question, How can I get the total cart price and display in the header, so in the header I have a minicart.js that displays the cart items but can't get the total cart price and put it ...
marco narca's user avatar
0 votes
0 answers
13 views

Hide the column add to cart in the slider of previously viewed products

How can I hide the column with the add item to cart button if the price of the item is zero in the slider of previously viewed items? listing.html code <div if="hasData()" class=&...
WhoYou's user avatar
  • 53
0 votes
0 answers
20 views

Magento2.4.6: How to setup xdebug on docker-compose with phpstorm?

I'm trying to set up xdebug on docker-compose with phpstorm. Any idea?
Afzal Arshad's user avatar
0 votes
0 answers
17 views

Cant edit base URL in new stores for multistore

I've added new websites, stores and store views. Now I need to edit the base URLs for each store but when I try to click them to change them in the back end admin panel those fields are locked. Any ...
climbah's user avatar
  • 33
0 votes
0 answers
14 views

Magento 2: How to save shipping labels as files rather than in the database

I would like to know if it's possible to store shipment labels inside files rather than directly in a Magento 2 database. The sales_shipment table contains a column called shipping_label, which is ...
Smithee's user avatar
  • 319
0 votes
0 answers
20 views

Magneto 2 - Show related products to mini-cart

Good afternoon everyone, I am looking to show related products under the products in the Magento2 mini-cart. I have added related products to the product page no problem and added cross sells to the ...
Baber's user avatar
  • 190
0 votes
0 answers
24 views

autoload error after installing Magento website locally

After I installed a website from git and imported the corresponding database i tried getting the website to work locally. But I keep getting the error {$e->getMessage()} HTML; http_response_code(...
VdeJ's user avatar
  • 1
0 votes
0 answers
44 views

magento version upgrade 2.4.6-p3 giving Ims error

After upgrading Magento from version 2.4.3 to 2.4.6-p3 and running a composer update, I encounter an error when executing commands such as bin/magento setup:di:compile or bin/magento setup:upgrade. ...
sudo55's user avatar
  • 994
0 votes
0 answers
26 views

Magento 2.4.6 in subfolder on Apache2

Ok, lets see if this famous issue got some updates and solutions. Seen many questions about it, but no real solutions. I'm having a setup with two different systems in two subfolders, like this root ...
Relja's user avatar
  • 113
0 votes
0 answers
21 views

image uploader does not work when more than one fieldset in admin UI Component Form in magneto 2

When we upload image with single fieldset it's working fine but when 2 fieldset is coming in picture then its' not working please check the error . Warning: Undefined array key "supplier-info][...
zargam husayn's user avatar
1 vote
1 answer
30 views

Filter & Sorting Not Working for custom column ui_component grid custom column data come from another table through join query in Magento 2

Filter & Sorting Not Working for custom column course_category_name in ui_component grid & custom column data render from another table through multiple table joins in Magento 2 Our ...
VishalSingh's user avatar
0 votes
0 answers
11 views

Undefined index on product listing modifier

I created a product custom attribute $eavSetup->addAttribute( Product::ENTITY, 'is_subscription_product', [ 'is_visible_in_grid' => true, '...
Claims's user avatar
  • 1,146
0 votes
0 answers
16 views

Why does my free-shipping.phtml template only show in my minicart when i'm in checkout/cart page?

I have a custom free-shipping.phtml template which shows the amount remaining until free shipping. I can see it only in my minicart when i'm in checkout/cart page. I referenced the container with the ...
Zaki Azizi's user avatar
0 votes
0 answers
9 views

Translation is not working in Magento 2 cloud environment

I want to traslate "The coupon code couldn't be applied. Verify the coupon code and try again." error message from vendor/magento/module-quote/Model/CouponManagement.php. so added the ...
Mani's user avatar
  • 383
1 vote
0 answers
42 views

Invalid column data type "" when reindexing catalog_product_flat

I'm using Magento 2.3.3 and when I try to reindex, the category flat was not reindexed and shows an error like this: Invalid column data type "" Every Answer in here sends me to this ...
JadoBulku's user avatar
0 votes
0 answers
15 views

How to add the custom jquery in magento2 checkout shipping popup

I need to some jquery functionality in checkout page shipping popup. where I need to add the jquery for that page. Please help me.
venkata prasad's user avatar
0 votes
1 answer
37 views

Product import, additional images and additional image labels

When we try to import products from the Magento 2 back office with the csv example below, we define several images (base, thumbnail and small) and we also add additional images. If we define labels ...
Kallard's user avatar
  • 21
0 votes
0 answers
31 views

create a reslover and graphql query for city and area

my current resolver is my current graphql schema is Iam looking for a graphql schema and resolver that if i select a city then all the area will display can you give me graphql query also and what ...
Alan Biju's user avatar
0 votes
1 answer
46 views

how to create custom attribute for order using data-patch in magento 2.4.6?

how can we create custom order attribute programatically using data-patch in magento 2.4.6 ? I know how to create this customer attribute for order using install schema but currently I am using ...
shankar boss's user avatar
  • 1,453
0 votes
0 answers
18 views

Tracking information is currently not available UPS Magento 2

I had configured the UPS shipping method, it is showing and working fine with checkout, but when I click on Track Order From Admin, It is Showing Error "Tracking information is currently not ...
Jantar Mantar's user avatar
0 votes
0 answers
18 views

How to make purchase order number optional in checkout page magento 2.4.5

In Magento 2.4.5 - Is there a way to make the purchase order number in the checkout optional?
kiran's user avatar
  • 597
0 votes
0 answers
15 views

"Dismiss All Completed Tasks"

I'm doing automatic product imports and get lots of system messages in top of admin area. It's generally a good thing, because messages with errors are displayed first, but how to clear all these ...
player's user avatar
  • 31
0 votes
0 answers
12 views

How to deploy magepack bundling on production

magento.app.yaml when i am deploying on cloud error is occur W: /etc/platform/bletrhxa5fb2a_stg/auto_post_deploy.sh: 3: /etc/platform/bletrhxa5fb2a_stg/auto_post_deploy.sh: magepack: not found In ...
Nabeel Ahmed's user avatar
0 votes
0 answers
11 views

403 forbidden error while updating a product

While updating a product I am getting the below error So when I checked the ajax request it is returning a 403 forbidden error. The error is happening for only some products. Other products are ...
Akhilesh's user avatar
  • 209
1 vote
1 answer
40 views

Remove or replace add to cart button on a product in catalog by condition programmatically

Preconditions: Magento 2 clean installation with Luma. We shouldn't use templates. The replacement needs to create a popup form related to product data to send and save it to my grid. I'm searching ...
Duddy Woody's user avatar
0 votes
0 answers
16 views

Product added to the Catalog collection does not display a price

I created a preference for the block Magento\Catalog\Block\Product\ListProduct to add a specific product at the begining of the collection in getLoadedProductCollection(). Almost everything is well ...
gcollet's user avatar
0 votes
1 answer
19 views

Can I edit Magento 2 LESS files from the Chrome Dev Tools?

I had a pretty comfortable workflow in Magento 1 where I've added the 'skin' directory to the workplace in Chrome Dev Tools and could edit the CSS files right from the Dev Tools. Is something like ...
Heinlein's user avatar
0 votes
0 answers
24 views

Magento 2 recently view product widget image related issue

I am using the latest version of Magento and recently added a 'Recently Viewed' widget to the homepage. A few days ago, we didn't have actual product images on our server, so we were using third-party ...
Krishna's user avatar
  • 11
0 votes
0 answers
11 views

Show lowest price "as low as" in configurable product - how?

I have a configurable product as mother product, to simple products as child products. One child product has a tier price for 1,3,5 pieces. from 1 = 1 € from 3 = 0.5 € from 5 = 0.25 € In my product ...
Ben's user avatar
  • 141
0 votes
0 answers
21 views

Magento 2 Fotorama gallery shows white space on the left side when I select thumbnail as a vertical slider

In Magento 2, I will use the Fotorama Gallery thumbnail images as a vertical slider. It works fine for two or more images but when I upload only one image from the admin side and show the image, it ...
Prashant's user avatar
  • 113
0 votes
1 answer
44 views

how to add dynamic options for records by select column in uicomComponent grid

I don't want all records to use the same options and I want each record in the grid to have different options in the column select and and I do the following I have class TimeUseActions <?php /** *...
Abu Shino's user avatar
0 votes
1 answer
31 views

How to get absolute path from category in megamenu?

i'm using the MageDelight Megamenu extension for a website with different stores in different countries, ex: mystore.com/en_uk/ mystore.com/en_us/ While creating the menu in admin i put the ...
media.queeries's user avatar
0 votes
0 answers
17 views

Move "Customize and Add To Cart" Button

I hope this message finds you well. I am currently working on customizing the product page for bundle products in Magento 2. Could you please provide guidance on the proper procedure to relocate the &...
Ridwan's user avatar
  • 1
0 votes
0 answers
17 views

Adding Amasty social login inside my login page

I want to add A custom Amasty Social login to my login page because I want a different layout of the login form meaning I want to insert it inside my form. But I cant figure out how. maybe because I ...
Fahost's user avatar
  • 1
0 votes
0 answers
20 views

Show child SKU on sales order

In Magento, by default, the sales order items for configurable products are showing the parent product SKU. How can we show the child product SKU for configurable products? I have tried changing the ...
Akhilesh's user avatar
  • 209