All Questions

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

magento 2 new categroy product missing in category page

I am using magento 2.4.4.p1 upgrade from 2.3 to 2.4.4-p1 i have some products in my site in that few are disabled few are enabled after upgradation i am trying to enable one product it enable but not ...
pavan kumarexinent's user avatar
0 votes
0 answers
5 views

Override vendor admin view.xml file Magento2

so i need to override this file vendor/magento/module-page-builder/etc/view.xml i already tried doing it by copying it here: app/design/frontend/My_Vendor/My_Theme/etc/view.xml and it works! but ...
media.queeries's user avatar
0 votes
0 answers
11 views

Magento 2 update custom column value in sales_order table in a controller file

I have created "custom_column" in "sales_order" table and save the data using event observer.After some actions on that order again I need to change the value of my "...
shankar boss's user avatar
  • 1,451
2 votes
1 answer
119 views

How to update cart item and cart summery data on cart page in Hyva theme or Alpine js ajax response?

How to reload cart item and cart summery data on cart page in Hyva theme or Alpine js ajax response.
ARJUN's user avatar
  • 53
0 votes
0 answers
15 views

Magento2 PageBuilder does not support Enter as new Line

I had these type of text in my pagebuilder's HTML element : https://prnt.sc/dqb1EYcPIqgK but in frontend it is showing like this : https://prnt.sc/EGisDha1RV0k can anyone help me?
Jantar Mantar's user avatar
0 votes
0 answers
17 views

Grouping attribute values on filters

Is there any plugin that allows grouping attribute values on filters? I want to achieve a situation where when someone chooses the "notebooks" category on our website, the filtering section ...
Artur Piaściński's user avatar
0 votes
1 answer
25 views

getting error "Cannot read properties of undefined (reading 'push')" for knockout observable variable

I just called the custom method inside the knockout js initialize function to show the list of customers by default in my custom module. I can return the data, but I'm getting the error "Cannot ...
Bojjaiah's user avatar
  • 3,990
0 votes
1 answer
28 views

How can I remove all payment methods from orders created in the Magento admin panel?

In Magento2 / Adobe commerce, create order through admin panel, select the payment method mandatory create the order, I want to remove the payement method from create order from admin case only in ...
junaidh's user avatar
  • 59
0 votes
3 answers
30 views

How to change upsell image size in Magento 2?

I'm trying to change the size of the images of the upsell products shown on the product page, but can't figure out how to do it.'
dulce's user avatar
  • 1
0 votes
2 answers
29 views

Facing issue regarding data loss from database on magento235p1 when disable extension & reenabling it

There is data in my table as you can see in below image when i disable the extension from command line & reenable it the data is getting remove from database as i attached the picture below here ...
syed zaviar hasan's user avatar
0 votes
0 answers
56 views

How to disable Magento_TwoFactorAuth plugin for Magento Cloud Docker?

I am doing the Magento Cloud Docker setup in my Ubuntu server, however I need to bypass the 2 factor authentication because I am setup in local. I know that we can disable the related module for the ...
ooi18's user avatar
  • 1
0 votes
0 answers
42 views

Custom Product Filter GraphQl Not working in magento 2.4

I want to add a stock filter for the product search GraphQl query. check below my code schema.graphqls input ProductAttributeFilterInput @doc(description: "Defines the filters"){ ...
Devidas's user avatar
  • 3,338
0 votes
0 answers
13 views

Api\SearchCriteriaInterface returning products in anchor categories (or not)

Using a module for a mobile app and this code is retrieving search results. However it's completely ignoring anchor categories and I've spend most of the afternoon trying to figure out why not. There'...
DomiGuy's user avatar
  • 11
0 votes
0 answers
23 views

how to fix the text ADD TO WISHLIST in the front end [closed]

while adding some css to the frontend , the add to wishlist became like in the photo this is the code i keep editing display:inline; to display:none; but the add to wishlist is still shown something ...
sarah's user avatar
  • 1
1 vote
1 answer
65 views

Two Cart Price Rules are applying incorrect discounts

I am experiencing an issue where two Cart Price Rules are returning incorrect discounts. Rule 1 apply 20% discount Rule 2 apply 30% discount The total 50% discount should be applied. For example, if ...
Milan Chandro's user avatar
0 votes
0 answers
22 views

LESS file changes not working

the LESS file changes is not shown on frontend , i tired removing cache and different files rm -rf var/cache/* var/view_preprocessed/* then upgrading and deploying but when i deploy the website is ...
sarah's user avatar
  • 1
0 votes
0 answers
22 views

1 exception(s): Exception #0 (Exception): Notice: Undefined variable: linkCollectionFactory

getting error while add to cart magento 2.4.2 1 exception(s): Exception #0 (Exception): Notice: Undefined variable: linkCollectionFactory in /var/www/html/242/vendor/magento/module-...
Vivek's user avatar
  • 168
0 votes
0 answers
10 views

magento 2 admin product grid search by key word getting gate way time out

magento 2.4.4-p2 i have 13750 products. I have crated one dropdown attribute with 4 values it is required attribute. After that i have assigned attribute data to product it showing frontend also. in ...
pavan kumarexinent's user avatar
0 votes
0 answers
8 views

I have a website running on Magento where my account feature does not work on the mobile version of the website

I have a website running on Magento where my account feature does not work on the mobile version of the website. I want it to look like the second picture when I click on the account button. enter ...
Agent zebra's user avatar
0 votes
0 answers
14 views

CMS module don't have the getExtensionAttriubtes and setExtensionattributes

I am working on REST API for the cms block and adding some custom fields in the cms_block table. However, I didn't see the methods getExtensionAttriubtes and setExtensionAttriubtes in the CMS Block ...
Arshad Muhammad's user avatar
0 votes
1 answer
26 views

Magento 2 Coding Practice

recently I came across one developer's code in magento 2, where he was accessing objects in another class to avoid dependency injections. Like for example we have Vendor\Feature\Helpler\Data class and ...
Knight017's user avatar
  • 632
0 votes
2 answers
36 views

How to create data patch to insert data in dynamic blocks in Magento 2.4?

How to create data patch to insert data into the database for dynamic blocks?
Vinod Kumar's user avatar
  • 2,045
0 votes
0 answers
16 views

Create Permanent Redirect for old URL not working - Magento 2

I have update product URL-key but still, the old URL is working. New URL is not working. Solution applied: ACSD-45168 patch applied. It generates the rewrites, but with the old url, not the new url-...
Jasvir Singh's user avatar
0 votes
0 answers
14 views

Magento VAT tax calculation with countries with different tax percentage is calculated incorrectly

I have been using Magento for about 7 years and am pretty familiar with the platform. I recently added a new website to my installation that requires general VAT calculations. Here is the issue: ...
user62570's user avatar
0 votes
1 answer
48 views

How do I access the magento log file using ONLY the web interface

We are getting orders from Magento that feeds into our Enfocus Switch computer. I have an order that has given the error: <?xml version="1.0"?> <response> <message>...
Shawn's user avatar
  • 101
0 votes
0 answers
16 views

Magento 2: Problem in rounding the price of a bundle product

I am not an expert in Magento and I have a problem with the sum of my bundle product when it shows the final price. The total sum of the product should be 4,850.00 but as we see it shows 4,849.99 and ...
Diego Aguilar's user avatar
0 votes
0 answers
23 views

Magento 2 connection with SQL server

I'm using the ODBC driver, which is connected to MS SQL Server. But when I'm passing this information in the Magento 2 env.php file,. I'm getting this: SQLSTATE[HY000] [2002] php_network_getaddresses: ...
Vijay Kalia's user avatar
1 vote
0 answers
24 views

Price attribute missing when we create product with our custom product type

Module/CustomProductType/etc/product_types.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
Avinash Pratap's user avatar
0 votes
0 answers
21 views

How to show custom Item detail page on require URL?

I created a module for custom items similar to products and showing on frontend as a listing and detail page. I want to show the listing page on this URL: storeurl.com/custom which is loading fine but ...
Sagar Parikh's user avatar
0 votes
1 answer
15 views

Is it possible and how can I create a discount coupon via webapi or graphql natively?

I found this here in the documentation but I don't know where the value or type of discount goes, whether percentage or fixed
Rodrigo Araújo's user avatar
0 votes
1 answer
20 views

Magento 2. How to write something custom in Redis?

My question is quite simple. I want to write something in redis, a value, a string, anything. Is there any object available, some interface, that I can easily inject and store something there? Looking ...
vitoriodachef's user avatar
0 votes
2 answers
25 views

How can I set zero price for simple product programmatically?

How can I set zero price for simple product programmatically? If I set: $product->setPrice(0); In admin panel price field is empty. If I save this product - system return error - price field is ...
WhoYou's user avatar
  • 53
0 votes
3 answers
53 views

Magento2: How we can add cacheable block on cart page using block_html cache type?

I want to add a cacheable block on the cart page. The cacheable block should be cached using the block_html cache type.
Deepak MageDivine's user avatar
1 vote
2 answers
74 views

How Can i Create Order for bundle product in Magento2.4.6 Programatically

I have a requirement In Magento 2.4.6 to create an order with bundle product Programatically. here i need to add selected bundle option along with related product while creating order, can anyone help ...
amith lal's user avatar
  • 790
0 votes
1 answer
18 views

"Best practice" editing CSS while in development to avoid cache rebuild time

I'm building my first Magento site after spending the last few years developing sites with other eCommerce engines - wow, Magento does everything differently huh?! Not really best practice but how do ...
CResults's user avatar
  • 105
0 votes
0 answers
27 views

Magento2: How to add a filter for "is_in_stock" on category page layered navigation?

I tried the solution from Magento Stack Exchange, but it only works correctly for one page. If I have 24 products on my page, I can see a total of 24 products (both in stock and out of stock) through ...
Виктория Бойко's user avatar
0 votes
0 answers
20 views

magento 2 Unique constraint violation found when adding subcategory

I added two categories with sub-categories from my magento site with multiple websites 2.4.3-p1. i have imported 100 products assigned products to main category through sheet. after that created ...
pavan kumarexinent's user avatar
0 votes
2 answers
45 views

How to show / hide a configurable product's child product based on custom attribute value

I have a configurable product, which has 4 child products. I want to show the child products to the end customer's product view page, based on a specific attribute value in the child products. (e.g '...
Aniruddha Ray's user avatar
0 votes
0 answers
7 views

Failed to load the "Vendor_ModuleName/payment/mypay-form" template requested by "checkout.steps.billing-step.payment.payments-list.mypay"

Magento 2.4.6-p2 When trying to add my custom payment I've got an error in console when going to checkout/#payment page. Something like that: [ERROR] Failed to load the "Alex_Mypay/payment/mypay-...
Alex  Bachynskyi's user avatar
0 votes
1 answer
36 views

Magento 2 Add Quantity Dropdown and to show Textbox when Quantity selection is 10 from dropdown at Cart Page

I want to add dropdown of 1 to 10 of quantity at cart page and if customer choose the 10 from quantity dropdown then the textbox appears for quantity field. please help me. thank you.
Jantar Mantar's user avatar
0 votes
1 answer
41 views

\Zend\Stdlib & Laminas - \Zend\Stdlib\ParametersFactory - Failing Module

After (unwisely it seems) doing composer update on our Magento 2.4.6p1 (php 8.2), some recent updates seem to have caused problems with Zend and Laminas. Most of which were easily fixed by replacing ...
DomiGuy's user avatar
  • 11
0 votes
1 answer
19 views

Image Intrinsic Size Is Different Comparing With Local And Production

i have two product pages whose images are different in sizes when they are rendered , even though i have used the media backup from production in local and and all code base are same without any ...
Bharath Kumar's user avatar
0 votes
0 answers
12 views

Magento 2 Anti-CSRF Tokens/Form-Key For GraphQL

I need to validate a form-key / CSRF Token for a graphql mutation. Is there any way in Magento 2 to validate form-key or CSRF token for graphQl mutation. We know default Magento2 controller already ...
Pritam Biswas's user avatar
0 votes
0 answers
58 views

Magento 2.4.5-p5: Issue with Indexers Causing Prices to Drop to 0 on 800k SKUs

Hello Magento Community, We're encountering a challenging issue with our Magento 2.4.5-p5 project, where product prices for approximately 7,000 out of our 800,000 SKUs (all configurable products) ...
Navin Bhudiya's user avatar
0 votes
2 answers
29 views

Ui component validation remove using js magento2

I have a fieldset in my UI component. Depending on certain conditions, I show/hide fields within it. All fields are initially marked as required in the UI component. However, I want to remove the '...
Chippy Ani's user avatar
0 votes
1 answer
22 views

Password protecting a child theme only?

Magento 2.4.6 Is it somehow possible to password protect a child theme only? I am using the porto theme and created a porto_child folder. The porto_child folder is used only by one store and it should ...
user4095519's user avatar
0 votes
1 answer
22 views

How to update a function in a mixin that was defined outside a return?

In lib/web/mage/gallery/gallery.js L:22 I want to update this function: var getMainImageIndex = function (data) { var mainIndex; if (_.every(data, function (item) { ...
mullayo's user avatar
  • 23
0 votes
0 answers
14 views

Pwa solution that supports Downloadable products

Magento downloadable products are not currently supported in the Venia PWA. Could someone provide a solution for this issue?
Shiranjeeth Douglas Machado's user avatar
0 votes
0 answers
15 views

How to configure/setup Paypal Venmo in Magento 2.4.6?

I was wondering how to enable the Venmo payment method through PayPal on Magento 2. I checked the PayPal Express/Standard and Advanced Payment methods, but I couldn't find any information about ...
Milan Chandro's user avatar
0 votes
0 answers
34 views

magento2.3 mysql slow query

SET timestamp=1708087305; UPDATE `theme` SET `parent_id` = NULL, `theme_path` = 'Magento/blank', `theme_title` = 'Magento Blank', `preview_image` = 'preview_image_5d490e5c15226.jpeg', `is_featured` = '...
Magecomp Product Team's user avatar

15 30 50 per page
1
2 3 4 5
2261