All Questions

Filter by
Sorted by
Tagged with
0 votes
3 answers
27 views

Magento2: How to check if cron job is working or not? [closed]

How can I check if my cron job is created or not? I have created a module that is creating shipment of orders with status processing, my question is how can I check if the cron job is working or not? ...
user avatar
0 votes
1 answer
37 views

Deleted the Product image, but still the image exists in the product grid in magento 2

I have deleted the product image using the following code $imageProcessor = $_objectManager->create('\Magento\Catalog\Model\Product\Gallery\Processor'); $images = $product->...
user avatar
  • 2,398
0 votes
0 answers
14 views

Can't login to admin panel. Key keeps changing when attempting to login

My Magento store has been working perfectly fine for a few months now. However, today when I try to login to the admin panel I immediately get booted back out. I'm on 2.4.4 and the frontend is working ...
user avatar
0 votes
1 answer
14 views

how to get the return of an ajax request that I didn't send

there is a request that is being made on the site, but I didn't make this request, but I need to get the result of it. Is there anything I can do?
user avatar
  • 197
0 votes
1 answer
14 views

Rewrite GuzzleHttp\Client in Magento2 not working

Though it is very basic or I suppose to have this working straight but after spending hours am looking for community experts insight/support. Have to add monitoring of all outgoing requests from ...
user avatar
0 votes
1 answer
8 views

Zend Pdf round corners in rectangle section

I wrote the below code to show rectangle in pdf file $page->setFillColor(new \Zend_Pdf_Color_GrayScale(0.92)); $page->setLineColor(new \Zend_Pdf_Color_GrayScale(0.92)); $...
user avatar
0 votes
0 answers
14 views

Quote row total problem

I have an issue with magento 2 pricing. I am applying a discount on row total and updating the item price. The problem is that the total is calculated from item price and not from the row total. Does ...
user avatar
0 votes
2 answers
34 views

M2.3.7 Change custom maintenance page title

I want to change the page title of my custom maintenance page. I already found out that the title is set hard in pub/errors/processor.php in the Processor::process503() method. The $pageTitle member ...
user avatar
  • 53
0 votes
0 answers
28 views

Product Filter Count Showing Wrong Count After Custom Product Collection - Magento Layered Navigation

I have applied custom filter on product collection to hide certain products from listing page. I have used below event for same <event name="catalog_product_collection_load_after"> ...
user avatar
  • 3,554
0 votes
0 answers
9 views

Add Block To Layer Navigation As Filter Field

The layer navigation will display the filters when we config field use in Layer Navigation of product attribute as the document https://docs.magento.com/user-guide/catalog/navigation-layered-...
user avatar
0 votes
0 answers
20 views

How to install PWA in Magento 2.4.4 in windows

I need to download and install PWA(Progressive Web Apps) in Magento 2.4.4. so can anyone have an idea about it,then please share with me. Thanks, Deep Shah.
user avatar
  • 498
0 votes
1 answer
37 views

Magento 2 Category rule and override the cart file by plugin

how do I can set up a rule in Magento 2 by category, If need to do something like this: I one product that is from one category is added to the cart then the customer can't add any product from ...
user avatar
  • 2,066
0 votes
1 answer
34 views

How create cron task programatically with parameters from custom module

Can I add a new cron task programmatically with parameters? For example, the product ID will act as a parameter and the timestamp - the second parameter. And the second question is, how can I delete ...
user avatar
  • 1
0 votes
1 answer
17 views

Error on Clicking Categories in Admin

The log in the report is this. a:4:{i:0;s:97:"The requested component ("settings") is not found. Before using, you must add the implementation.";i:1;s:9651:"#0 /home/...
user avatar
0 votes
2 answers
30 views

Overriding catalog_product_view.xml does not work

I am trying to override app/code/Mageants/SampleProduct/view/frontend/layout/catalog_product_view.xml in my theme. I copied it to app/design/frontend/Smartwave/porto_child/Mageants_SampleProduct/...
user avatar
0 votes
2 answers
23 views

how to change/customize minicart dropdrow instead a dropdown cart I wish having a slider from right do left at magento 2.4.4

how to change/customize minicart dropdrow... instead a dropdown cart I wish having a slider from right do left at magento 2.4.4 could someone help me ? Also please suggest me if any extension is ...
user avatar
  • 1
0 votes
0 answers
13 views

M2.4.1 Page builder doesn't save edited content for CMS pages

After editing content on some CMS pages via Page Builder edited content submits without any changes in payload: Looks like problem also related to all places where Page Builder is involved (category, ...
user avatar
0 votes
0 answers
28 views

Unrecognized REST API order created

We have noticed a new order created in the admin which has come from the REST API. (Order was automatically cancelled) We have nothing running that creates orders in this way and the IP country and ...
user avatar
  • 474
0 votes
0 answers
17 views

invoice pdf item price exclusive tax

I want to have article prices and exclusive tax in invoice pdfs. I have not found any article searching which points me in a direction. At the moment prices are shown inclusive of tax. I have changed ...
user avatar
0 votes
0 answers
12 views

How to show dropdown Custom Attributes added from admin panel to frontend checkout form on magento 1.9

I am new on magento. I have addeded custom color attribute on magento admin, set "Visible on Product View Page on Front-end" to yes but the attribute is no longer shown on product detail ...
user avatar
0 votes
2 answers
24 views

magento 2.4 add to cart multiple simple products with options

I'm trying to add to cart multiple simple products with different custom options at once. So far, I've overridden the checkout/add controller and replaced the line $this->cart->addProduct($...
user avatar
  • 129
0 votes
0 answers
15 views

Upgrading Magento 2.3.4 CE to Magento 2.4.2 EE

I am working on a site which is being overhauled to a new one. The new site is being made from scratch on a different server, but it will hold all the data from the previous site. The old site is on ...
user avatar
0 votes
0 answers
21 views

magento2 add captcah newsletter section how to?

<form class="form subscribe" novalidate action="<?= $block->escapeUrl($block->getFormActionUrl()) ?>" method="post" ...
user avatar
  • 1
0 votes
0 answers
9 views

how to add Sumsub Developer Hub js file include in magento 2

How to add Sumsub Developer Hub sns-websdk-builder.js file include in cutome module in magento 2 https://developers.sumsub.com/web-sdk/#generating-access-token already add but it's not working our ...
user avatar
0 votes
1 answer
17 views

Send order update email programatically?

I need to send the order status update email programatically, I tried with the class Magento\Sales\Model\Order\Email\Sender\OrderSender but it sends the order confirmation email, not the state update. ...
user avatar
  • 129
0 votes
1 answer
31 views

How to add custom field CMS block selection in CMS page Magento 2?

I want to add a CMS block option on the cms page admin side. Can anyone please guide me? Like this: https://prnt.sc/KMSLIdK9Vfoe
user avatar
0 votes
1 answer
17 views

Clicking on color swatch, images are not loading on product listing page in magento 2.3.5

I have added color swatches for my Configurable products. On product detail page when we click on color swatches the product images not changed properly as per color.so please fix this. Thanks in ...
user avatar
0 votes
2 answers
35 views

exclude some other product in the cart from receiving discount

How to get product value ( product price) if attribute "logitech" is set to yes [attribute is Boolean]. I'm new here, still learning magneto. below code, calculate all items in the cart but ...
user avatar
0 votes
0 answers
51 views

Payment page place order disabled while trying to set the creditcard as default payment method

I am trying to set the credit card as pre-selected payment method and is working fine like when i load payment page the credit card payment method is shows selected, but the place order is disabled ...
user avatar
0 votes
2 answers
36 views

Magento 2 - automatically set product as new when CREATING product only

I want Magento (2.4) to set newly created products as new for specified period of time but only when product is created and not saved after being edited... So, I would need something very similar to ...
user avatar
0 votes
0 answers
12 views

How to get Tier Price Observer

I am new in Magento. I try to get Special/Tiersprice. I have this code $item = $observer->getEvent()->getData('quote_item'); $item = ($item->getParentItem() ? $item->...
user avatar
0 votes
2 answers
22 views

mcrypt deprecated message. How do I switch to an alternative like openssl?

I'm getting this error that mycrypt is deprecated. I've heard I should use openssl. But I'm not sure how would I go about this in terms of my Magento 1.9 setup. Can I get some insight? Also how ...
user avatar
  • 21
0 votes
0 answers
9 views

Run cron crawler.sh litespeed cache

Documentation: https://docs.litespeedtech.com/lscache/litemage/crawler/ Path to: M2-crawler.sh in server /home/user/M2-crawler.sh Via SSH I run crawler in this way: cd /home/user bash M2-crawler.sh ...
user avatar
  • 2,074
0 votes
1 answer
19 views

Migrate data from Magento 2 to Magento 2?

I have a brand new installation of Magento 2.4 and I would like to migrate all data I have from my current installation of Magento 2.1 without all the mess that third-party modules created in the ...
user avatar
0 votes
0 answers
7 views

Magento 2.4.2 - issue with hide out of stock product

I noticed issue with hide out of stock products. All visible on frontend. Reindex completed (all indexes sucess) indexes reset option hide out of stock enabled correct c:f, s:up etc done. Qty:0 MSI: ...
user avatar
  • 2,074
1 vote
1 answer
29 views

Adding layout handles to blocks in cms pages

We have a cms page with a content like this: <p>Lorem Ipsum</p> <div>{{block class="Vendor\Module\Block\Feature" block_id="feature_wrapper_block"}}</div> &...
user avatar
  • 288
0 votes
0 answers
6 views

Subtotal and tax calculations in Magento 1

I have a Magento v1 store that I'm in the process of migrating to Shopify. The existing orders from Magento have been migrated to Shopify using cart2cart. Testing the orders in the new platform we've ...
user avatar
  • 101
0 votes
0 answers
19 views

How to get Admin form's data in custom js file

Issue In my following custom admin form, I want to add a js file and also get data in this custom Js file. your help would be appreciated!
user avatar
0 votes
1 answer
27 views

Magento 2.4.4 PageBuilder SourceMaps not generated

I hope to get some help here. I am using M2.4.4 with Pagebuilder on the backend. But on Product Edit Detail I get lots of 404 errors with missing .map files. How can I disable PageBuilder SourceMaps ...
user avatar
  • 93
1 vote
2 answers
29 views

Elasticsearch 7.11 connection refused using Devilbox

I'm starting the Elasticsearch 7.11 in my linux, and it works when i run curl -XGET localhost:9200 INSIDE MY LINUX. But the issue is, i'm trying to access this Elasticsearch service started in my ...
user avatar
0 votes
0 answers
17 views

how to get values saved in db in one row seperated by commas as individual values?

Customer blocker→ email text field in system configuration , comma separated , then these emails will be restricted to show frontend , must be redirected to custom cms page 'You're restricted to view'
user avatar
0 votes
0 answers
10 views

Unable to upload image - m2

Image size and format is valid but still not able to upload image. Also facing same issue with category image upload. Not gating any error in error log files and have proper permission to var, pub ...
user avatar
0 votes
0 answers
5 views

Rich Text `offers` is not rendering for first time in Magento 2

I have a site deployed on Magento Cloud, facing a strange issue sometimes offers rich text doesn't appear on page when I refresh the cache it starts working fine i debugged that i was rendering from ...
user avatar
  • 2,039
0 votes
1 answer
12 views

Different full page cache per website

I have a multi-website setup and I would like 1 of the websites to use Varnish and but the other website to use Built-in Cache. I have looked and when I change the scope in Stores -> Configurations-...
user avatar
  • 2,429
0 votes
1 answer
19 views

Magento 2 : How To Get Configurable Product's Child Product Id Using Swatch-option?

I want to get the product id on selecting the swatch option. for that, I have used the code given below. I am getting the error of "Cannot read properties of undefined (reading 'options')" ...
user avatar
0 votes
1 answer
12 views

Magento2 Custom Page Builder, doesn't render widgets on frontend

I have a problem with the page builder on my custom module. In the adminhtml, everything is working fine, and my code propeller is saved to DB, but when I'm trying "echo" my code, the widget ...
user avatar
  • 1
0 votes
0 answers
6 views

After Magento Upgrade to 2.4.3. Magento not allows to enter CMS page in editor

After Magento upgrade to 2.4.3. Cms page not allows to enter iframe tag and special character inside editor. While saving the content it gives 404 error. While without iframe tag it saved successfully....
user avatar
  • 1
0 votes
0 answers
8 views

How to run M2 with multiple domain | add code to .httaccess

I need to create M2 with multiple domains. I know everything but I lost some code. I remember this require add code to .httaccess some like: mage_run http://web1.com/ en_EN mage_run http://web2.com/ ...
user avatar
  • 2,074
0 votes
2 answers
23 views

Limit product length in frontend

Magento 2.4.2 I want to limit the length of the products name while displaying it in front end. I tried all the ways recommended earlier but no luck. I found the code as mentioned below ...
user avatar
0 votes
0 answers
6 views

E-Mail Preview template cut Magento 2

When I create a transactional e-mail via Marketing --> E-Mail Templates and then click "Preview" my preview window is somehow being cut to a preview_iframe which only covers like 1/5th of ...
user avatar
  • 27

15 30 50 per page