All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

Magento 2 : Get Configurable Product using swatch-option

I want to get product id on selecting swatch option.for that i have used code as given below. i am getting error of "Cannot read properties of undefined (reading 'options')" as per given ...
user avatar
0 votes
0 answers
14 views

Product collection filtered returns only single item

I am using following plugin to filter out products having a custom attribute promotion_on set to 1. There are more than one products having that attribute set to 1, but only one of them are returned. ...
user avatar
0 votes
1 answer
21 views

How to generate custom log file in magento 2?

I have tried generating custom log file using helper and logger but the file did not generate.
user avatar
0 votes
2 answers
32 views

Magento 2.4 get stock qty after the product is saved in plugin

How to get stock qty after the product in saved via plugin? With code bellow I allways get "stock qty" 0 no matter what. di.xml: <type name="Magento\Catalog\Model\ResourceModel\...
user avatar
0 votes
1 answer
11 views

is it safe to delete magento 2 table:fl32_csp_report?

I have the following table, named fl32_csp_report, size: 2.5GB. it's very huge table, and it affected the visiting speed when customers comes to my website. My store has been just updated from ...
user avatar
0 votes
2 answers
20 views

chown: invalid group: ‘:apache’

After copying all files / db on my local VB when I tried to setup permissions: find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && find var vendor pub/static pub/media ...
user avatar
  • 1
0 votes
1 answer
23 views

Add custom option Programmatically in cart its not increasing quantity in cart

I am adding custom option programatically in below observer. <event name="checkout_cart_product_add_after"> <observer name="mymodule_checkout_cart_product_add_after" ...
user avatar
  • 3,069
0 votes
1 answer
11 views

Magebto 2: Order place for customer using oauth authentication instead token

How to access magento 2 api for customer, guest and admin using oauth authentication.
user avatar
0 votes
0 answers
14 views

Display Email field in customer checkout

i'm trying to give the logged in customers ability to change his Email while checkout. so all i need is show Customer Email Field in Checkout, the same as on Guest Checkout. i already have update ...
user avatar
0 votes
2 answers
32 views

Magento 2 - Customer Type Table SQL

I need to create a query that will list me as in the admin panel all registred customers, of course, I can do it through the tables customer_entity. However, it does not contain the customer type ...
user avatar
  • 1
1 vote
1 answer
46 views

Magento 2 : Get collection of based on field

Here is the collection I have as an output : Array ( [0] => Array ( [item_id] => 1 [rma_id] => 1 [product_sku] => 24-MB02 [...
user avatar
1 vote
1 answer
33 views

Pass Bearer Token from Postman and fetch customer data in Magento 2 model

I need to find the customer data in custom rest api model I think magento very the customer token from the header as bearer token so i need to get from the customer token.
user avatar
0 votes
1 answer
17 views

How to migrate/backup all remote branches

Steps as follows: $ magento-cloud project:get e7s9kiwfapxcy $ cd cloned-directory $ git branch -a Output: * master remotes/magento/HEAD -> magento/master remotes/magento/jcollins remotes/magento/...
user avatar
0 votes
1 answer
25 views

Magento 2.3 Disallow Post to /V1/Customers

I am battling spam accounts being generated via Magento's REST API for customers. Someone keeps hitting my site with Postman and dumping in hundreds of fake accounts. I have set Allow Anonymous Guest ...
user avatar
0 votes
1 answer
23 views

M2: issue after change to other template

after change M2 to other template I get below issue. (I clear old modules and theme files) I try deploy, compile etc. But still the same. 1 exception(s): Exception #0 (ReflectionException): Class ...
user avatar
  • 2,074
0 votes
1 answer
37 views

Admin Login Issue 2.4.4

Hello i'm getting an issue after moving my live 2.4.4 website (example.com) into a staging subdomain (testing.example.com) As you can see in screen shot i have broken CSS in admin login and also not ...
user avatar
0 votes
0 answers
28 views

Magento 2.4.2 slow with multiple stores

Good morning people! I come to ask for help with magento 2 configured for multiple stores, my problem is that when I have one or two stores it works normally, but our database has more than 20 stores ...
user avatar
0 votes
0 answers
12 views

Checkout Shipping Address additional custom address field

I am working with the Magento2, In that we're installed the Loqate address verification extension (It'll bring the suggestion Street address of the given input). In my requirement either the customer ...
user avatar
  • 1,598
0 votes
0 answers
12 views

Composer hangs when downloading magento/magento2-base package

When I try do a composer install it hangs when downloading Magento base package. I confirmed it's not the keys. When I enter wrong credentials it just fails and reports the credentials are wrong. I ...
user avatar
  • 1,279
0 votes
1 answer
15 views

Remaining Characters on Product Configure in Admin

I'd like to add a remaining character count to the configure product screen when an order is created through the Admin. Like it does on the customer-facing side. I have created a new module. I'd ...
user avatar
0 votes
1 answer
14 views

YouTube Disallowed File Type

I've recently upgraded my live site to 2.4.3-p2 and my development to 2.4.4. On both sites I am now unable to add YouTube videos to my products. I was able to before. Images all work and Vimeo works ...
user avatar
0 votes
0 answers
21 views

Magento 2 Home Page Slider in Page Builder is not responsive

I’m encountering issues with the Home page slider from the Magento page builder. It is not scaling well to mobile screens. The arrows don’t stay centered and it leaves too much white space around the ...
user avatar
  • 11
0 votes
1 answer
14 views

Magento 2.4.3 p1 command line Area code is not set

I've a custom command line module as follows: <?php namespace Test\MosIntegration\Console; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use ...
user avatar
  • 2,048
0 votes
0 answers
10 views

Custom customer attribute: Magento 1.9

I had a custom module Vendor_CustomerAccountExtended for customer modifications. Now I wanted to add there a custom attribute for customer(avatar). The problem is that I can create that attribute only ...
user avatar
  • 13
0 votes
1 answer
16 views

How to add yotpo review to custom page: magento2

At website front side in custom page, i'm showing category list with name and image. How can i show yotpo reviews with categories? Thanks.
user avatar
0 votes
0 answers
8 views

Multi currency shipping price are not working

I have 4 currency and base currency is GBP. Shipping are correctly add while currency is GBP but when i change currency shipping that adds in total is in GBP. Although on cart I can see EURO shipping ...
user avatar
  • 584
0 votes
1 answer
20 views

Should I upgrade from 2.3.5p1 to 2.4.4 or later

I have a Magento 2.3.5-p1 site under development but I recently read that this version is EOS in a few months. I was wondering if I should request the platform to be updated to the latest version to ...
user avatar
0 votes
0 answers
16 views

Show all product review on product page

Is there anyways that I can display all reviews of products if I don't want to use pagination anymore?
user avatar
0 votes
2 answers
25 views

Magento 2 Module Events

I'm new to magento module development and trying to write my own little module. Unfortunately, I'm having trouble understanding how to connect events to a REST request. What I want to achieve: ...
user avatar
  • 1
1 vote
1 answer
9 views

How to assign order to other admin user by admin/programmactically?

I want to assign an order to another admin user, for order fulfilment purpose. I tried finding admin options, i didn't get any in magento admin. Is it possible to do it in magento 2
user avatar
0 votes
0 answers
16 views

Problem with css merging on magento 2 cloud

I have a problem with CSS merging on production cloud environment. From time to time my CSS styles are not loaded correctly, for example both mobile and desktop styles are applied, so site is broken. ...
user avatar
  • 28
0 votes
1 answer
12 views

how can i install magento 2.4.4 and 2.3.3 having different server requirements on local system for development in linux

i know that we can switch between different version of php in ubuntu with the commands sudo a2dismod php7.1 sudo a2enmod php5.6 but the mysql requirement for the old and new magento setups are also ...
user avatar
0 votes
0 answers
15 views

How we can call menu subcategory page using controller/layout.xml file in magento 2

How can we call the menu subcategory page from the custom controller or can we call the subcategory using layout.xml file. is it possible to call the subcategory using layout.xml file/controller. if ...
user avatar
  • 33
0 votes
1 answer
23 views

How to apply custom validation on checkout shipping form field?

Magento Version : 2.3.1 I want to apply custom validation on the custom field of the checkout shipping form. Please suggest to me, how can achieve this? Thanks in advance.
user avatar
0 votes
0 answers
11 views

magento2 billing address form street filed validation not working

// Street address $jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children'] ['shippingAddress']['children']['shipping-address-fieldset'] ...
user avatar
  • 1
0 votes
0 answers
9 views

Load XML in Windows 10 and format using CSS

First let me start of by saying that I am not a programmer or code person. I used to design websites back in the dinosaur ages of the internet but don't have a clue about any of it these days. Here's ...
user avatar
0 votes
0 answers
16 views

Mirasvit Sphinx Search indexing Magefan Blog - Error: Call to a member function setData() on bool

I am using the Mirasvit sphinx search and have configured an index from Magefan Blog posts. I get the following error in search result page regarding the blog posts. <ul class="mst-...
user avatar
0 votes
0 answers
18 views

Warning: Cannot use a scalar value as an array in C:\xampp\htdocs\magento\vendor\magento\module-email\Model\AbstractTemplate.php

I get this error ho to solve it ? { $store = $this->storeManager->getStore($storeId); if (!isset($variables['store'])) { $variables['store'] = $store; } ...
user avatar
0 votes
0 answers
46 views
+50

Stop redirect on session to store view

When I log in as customer on store view B, then visit store view A, most links I click on store view A result in a redirect to store view B. It only changes the domain name, not the URI using a 302. ...
user avatar
0 votes
0 answers
7 views

Magento 2: frontend timout | backend working

its very strange. From today frontend after few minutes get time out. Admin panel working correct and load in 5 sec. There is no information in log system. Any solution?
user avatar
  • 2,074
0 votes
1 answer
19 views

What methods do you use to optimize the work and performance of the backend part (.php)?

I want to try to optimize the performance of Magento 2. After searching this question, I see that for the most part everyone removes modules that are not used on the project or that are obsolete. But ...
user avatar
0 votes
1 answer
21 views

How to get and show the best selling products in customer account page magento 2

I wish to show best selling products in in my customer My account page.Please provide me a solution to get best selling products and display in home page. I have getting account file from this path : ...
user avatar
  • 1
0 votes
1 answer
12 views

How to setup sendgrid with magento 2

I was trying to setup sendgrid SMTP with magento 2 with latest Sendgrid settings. But didn't found anything helpful. Anyone can help what settings should I use in magento admin for sendgrid SMTP.
user avatar
0 votes
2 answers
21 views

Magento2: Date showing wrong on grid column

I created one grid and showed the date there. Database data and grid values are not matched. Grid value showing 1 back date instead of same as database. Below is my DB table value: And below code ...
user avatar
  • 1,749
0 votes
1 answer
25 views

On CMS block render by identifier, it brings wrong localization

I'm trying to render a CMS Block, to pass rendered HTML to jsLayout, on updater I have two CMS blocks, with same name, but for different store fronts (based on store front, the language is different). ...
user avatar
  • 1
0 votes
0 answers
9 views

3 Error writing file '/tmp/MYp8bI6Q' (Errcode: 28 - No space left on device)

I am getting the 'Getting SQLSTATE[HY000]: General error: 3 Error writing file '/tmp/MYp8bI6Q' (Errcode: 28 - No space left on device). The environment is LightSail for the database migration with ...
user avatar
0 votes
1 answer
20 views

composer showing error when i install a plugin on magento 2.2.11

I am doing as below: /usr/local/lsws/lsphp72/bin/php composer.phar require facebook/php-business-sdk --no-plugins its showing error as: Using version ^13.0 for facebook/php-business-sdk ./composer....
user avatar
1 vote
1 answer
26 views

Magento 2 setup:di compile error In ErrorHandler.php line 61:

Warning: file_put_contents(root/generated/metadata/primary|global|plugin-list.php): failed to open s tream: No such file or directory in D:\xampp\htdocs\wp7\vendor\magento\framework\Interception\...
user avatar
0 votes
1 answer
22 views

after upgrading magento 2.2.3 to 2.4.4 all pub files return 404

I just upgraded my Magento setup from 2.2.3 to 2.4.4 and all went good but after running setup:upgrade command i tried to access the website and it load without any php error but all files serving ...
user avatar
  • 3
0 votes
0 answers
12 views

Magento2 how to get a fully functional slider?

I've got this issue with the slider of the related section in the product page. I'm in Magento2, using Tailwind.css and Alpine.js I've created an apposite .phtml file to have different blocks for ...
user avatar
  • 3

15 30 50 per page
1
3 4
5
6 7
2200