All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 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-downloadable/...
Vivek's user avatar
  • 168
0 votes
0 answers
5 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
3 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
7 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
0 answers
12 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
1 answer
18 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
11 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
9 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
43 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
12 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
17 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
23 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
19 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
13 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
14 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
47 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
73 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
26 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
19 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
38 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
29 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
27 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
0 answers
6 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
10 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
51 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
26 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
19 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
21 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
33 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
0 votes
1 answer
39 views

Connect Frontend and Backend in Venia PWA Setup

We have Magento PWA Venia Setup. Now We installed the Extension downloaded from Commerce Marketplace. The Extension installed fine and now we can see configuration in backend. Requirement Now How we ...
Baby in Magento's user avatar
0 votes
0 answers
25 views

Uncaught SyntaxError: '' string literal contains an unescaped line break on product page for some products

Magento 2.4.6 Getting this error in this piece of code ... I have been looking at it for a while now but can not find the problem ... can you help me out? <ul class="prices-tier items">...
user4095519's user avatar
0 votes
1 answer
29 views

updating product description via coding correctly shows text on product page but admin side's edit description with pagebuilder shows old values?

In my custom module, I am able to set the description of an existing product successfully using the code below & the product url shows correct output for description: $product = $this->...
raza19's user avatar
  • 23
0 votes
0 answers
22 views

The images in the recently viewed widget are not displayed in Magento 2

I tried the widget in localhost is shown, not in live site I checked the difference the Enable WYSIWYG Editor was disabled, I enabled it it worked The next day, I checked it; it wasn't working again, ...
sarah's user avatar
  • 1
0 votes
0 answers
15 views

magento 2 change multiselct to ui select for custom customer attribute

I want to create a UI select in the customer account area in ADMIN for custom attributes. something like this -> https://dolphinwebsolution.com/magento-2-add-ui-select-component-with-search-filter-...
jibin george's user avatar
0 votes
0 answers
7 views

Downloadable products not working on pwa venia storefrontend

It appears that the downloadable products bundle and grouped products are not functioning properly in the PWA Venia setup. I have examined the Vue frontend, and it seems there is no support for ...
Shiranjeeth Douglas Machado's user avatar
0 votes
0 answers
9 views

Display Widget content in PWA Venia Theme

We are using Venia PWA 2.4.5 setup where frontend is displaying from ReactJs I have added New Widgets in backend. How to display those content in Frontend of the website ?
Baby in Magento's user avatar
0 votes
0 answers
41 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
1 answer
55 views

Magento Custom Module Directory Help

Old user, Noob question! I have a module which is successfully "trying" to overide the sidebar.html block using the below code. var config = { "map": { "*": { ...
UK_Rogue's user avatar
0 votes
0 answers
19 views

Magento2.4 product ladder price table added fields, how to display the frontend

What can I do to display the newly added fields on the product Details page。
sq y's user avatar
  • 127
0 votes
0 answers
10 views

Failed to load iwd_opc/payment/methods-renderers/cashondelivery template requested by "checkout.steps.billing-step.payment.payments-list.cashondeliver

Hello I am facing following error in IWD one page checkout. failed to load the "iwd_opc/payment/methods-renderers/cashondelivery" template requested by "checkout.steps.billing-step....
Zahid Hussain Magento's user avatar
0 votes
0 answers
14 views

Magento 2.4.6 calling createOrder() causes exception with elasticsearch

In one of my scripts, calling createOrder() ( from vendor/magento/module-sales/Model/AdminOrder/Create.php ) causes an exception: {"error":{"root_cause":[{"type":"...
jonny5556's user avatar
0 votes
0 answers
5 views

Blank fields in csv product export

I’m trying to export around 6500 products through a csv file and importing it onto another e-commerce platform. However there are blank columns which is interfering with the import. Why are their ...
Wajdy's user avatar
  • 1
0 votes
0 answers
11 views

When xdebug is enabled bin/magento commands won't work

I'm using Mark Shuts docker version, If xdebug is enabled, bin/magento commands won't work, and let's say if i run bin/magento cache:clean PhpStorm starts to debug out of nothing. Also I get this ...
elunicotomas's user avatar
0 votes
0 answers
13 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
8 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

15 30 50 per page
1
2 3 4 5
2261