Questions tagged [magento2.3]

Denotes questions related to Magento CE 2.3.x and EE 2.3.x

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

How to set custom attribute of customer address entity using observer sales_model_service_quote_submit_before

I have an event like this And this my observer The district value of order and quote was successfully inserted into sales_order_address. And now, I have some problems to inserted the district value ...
user avatar
0 votes
0 answers
15 views

How to give dynamic values in to Ui component instead of the static item value

Following is the code i used to apply a default filter in Ui component grid filter. <filters name="listing_filters"> <argument name="data" xsi:type="array&...
user avatar
  • 11
1 vote
0 answers
81 views

Magento 2.4.3 Invalid block type: Magento\Backend\Block\Order\Create\Form

I upgraded the Magento Version 2.4.3, in the Admin Sales-Create New Order, I am getting the error of 2 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: ...
user avatar
0 votes
0 answers
25 views

Magento 2 CMS page ReCAPTCHA showing fine but Validation Failed. How can I fix this issue?

I am trying to display Google ReCaptcha in a custom phtml form which is calling in CMS page. Please note this page does not have any xml handler. After some struggles I was able to display Google ...
user avatar
  • 1,367
0 votes
3 answers
87 views

Magento 2.3.5-p2 with Stripe Plugin 3.0.0: New order emails being sent twice

Checking out with Stripe plugin for magento (ver 3.0.0) on Magento 2.3.5-p2 sends out 2 "New order confirmation" emails with the same order number, no invoice email gets sent. Tried checking ...
user avatar
0 votes
0 answers
29 views

Checkout After uncheck billing same as shipping checkbox Billing address form is not displaying

In Checkout after unchecking My billing address same as the shipping checkbox, then not able to add a new address or not show any billing address form. Please help.
user avatar
1 vote
0 answers
31 views

Magento 2 - Setup blog on subdomain

There is an option on magento to setup multiple website. But I don't want to do that. I need a subdomain for my blog like this: blog.example.com I don't want customers to lose their sessions and ...
user avatar
  • 8,828
1 vote
0 answers
76 views

How to set an Active filter as default and clear it if we needed in admin UI component grid

I have tried 3 different ways to set a default filtering option(set entity value as current customer entity value) to my custom module's grid. 1.using _renderFiltersBefore() protected function ...
user avatar
  • 11
0 votes
0 answers
20 views

Add Progress Bar at admin side Magento 2

I am adding HTML via the backend. I want to show a progress bar when users visit on particular PDP. Check the attached screenshot. I want the values to be increased when user visit on PDP Does anyone ...
user avatar
0 votes
0 answers
20 views

Magento2: After reindexing products goes out of stock, records deleted from cataloginventory_stock_status table

I have imported 7000+ products, everything works fine I have one cron which is reindexing every day After reindexing all those products goes out of stock, After debugging I have found that the records ...
user avatar
  • 1,019
0 votes
0 answers
43 views

How to return json object instead of array

I'm trying to return a JSON object from one of my REST Models, something like this: Current response getting in api : [ { "door": { "label": "Style", &...
user avatar
  • 1,039
0 votes
0 answers
36 views

Add Custom Checkbox & dropdown on Cart Page Magento 2

I want to add a custom checkbox & dropdown(with multiple values) on the Cart page. If that particular checkbox is checked then only a dropdown will populate else it will remain unchecked. Anyone ...
user avatar
0 votes
0 answers
17 views

How to add product collection to category tree

I have created a category tree using the below code. <?php namespace Custom\CustomApi\Model\Category; class Tree { /** * @var \Magento\Catalog\Model\ResourceModel\Category\Tree */ ...
user avatar
  • 828
0 votes
1 answer
45 views

show list of products with negative salable qty magento 2

Is it possible to show a list of products with a negative salable qty in magento 2.3
user avatar
  • 35
0 votes
1 answer
45 views

Fetch Category ID in Magento 2.3.7

Excuse my poor presentation of a question I am trying to list products of the same category on any product page of the named category. Here is the code I have, which works perfectly if done for each ...
user avatar
  • 1
0 votes
2 answers
36 views

Cusotm Category Select Attribute value not saving

I have created a custom category select attribute to list active categories, after choosing a category from the list and saving there is an error message displayed "attribute value is empty. Set ...
user avatar
  • 1
0 votes
1 answer
34 views

Property "Qty" does not have accessor method "getQty" in class Magento\InventoryApi\Api\Data\SourceItemInterface

I get this error: [2022-03-24 11:32:10] main.CRITICAL: Report ID: webapi-623c56baea1fe; Message: Property "Qty" does not have accessor method "getQty" in class "Magento\...
user avatar
  • 2,749
0 votes
0 answers
25 views

AJAX increment decrement buttons in category page

I need to add +/- buttons for quantity on the category page using AJAX, which I only found for the cart page. Please help!
user avatar
0 votes
1 answer
28 views

Customizing Catalog Product View

I would like to customize the detail view of the catalog products. First of all, I want to output the product´s base image separately as a header image. What is the best way to achieve this? I am ...
user avatar
0 votes
1 answer
25 views

How to add "Where did you hear about us ?" dropdown in Magento 2

I want to add the "How did you hear about us?" drop-down in the order confirmation page for first-time users to my store. And add values like Facebook, from friends etc.. How can I achieve ...
user avatar
  • 33
0 votes
1 answer
39 views

Trigger event when product image is changed in admin

I want to trigger when a product image is changed in admin to get the image URL and call my external API to sync the product image from Magento to my operation. But I don't know how to trigger this. I ...
user avatar
  • 121
0 votes
0 answers
9 views

Change API calls in Magento 2

I have an ERP connected to my Magnto 241 website . It was running fine when the stock was less than 10,000 but presently my stock is above 30,000 and the ERP i complaining about errors . see their ...
user avatar
0 votes
0 answers
55 views

How to create transaction of existing order in magento 2 Programatically?

I want to create transaction programmatically of existing order in Magento 2.
user avatar
0 votes
1 answer
23 views

Migrated from Magento1.9 to Magento2.4.2

That was 3 weeks ago. Sales dropped. Did that happen to you ? Could it be IT related ? We have no issue so far. Just wondering.
user avatar
0 votes
0 answers
33 views

how to load only specific category products in magento 2?

scenario - we have different outlets connected to their postcode. When the user entered there postcode i need to load only those categories and products available to that postcode and show the top ...
user avatar
  • 33
0 votes
0 answers
19 views

programmatically create attribute set based on another one

I need to programmatically create a new attribute set, via setup patch, based on another one, I do not have to use ID because it's not fixed, only have attribute set namethank you
user avatar
0 votes
0 answers
15 views

howto use Plyr in Magento 2?

I want to create a custom extension that shows a video on the frontend product page, in custom TAB, for that, I have created a custom extension, now I need to use this Plyr, Plyr so how can I add in ...
user avatar
0 votes
0 answers
25 views

ALT Tag missing on Fotorama Default Zoom Image

After running SEO scan reports on our Product pages we noticed an error where an ALT Tag was missing. We determined the missing ALT was from the Fotorama Default Zoom Image and not showing the ALT on ...
user avatar
  • 13
0 votes
0 answers
29 views

Catalog Search Indexer runs indefinitely with alot of backlog

I've run into this issue with my indexers lately where my Catalog Search Indexer will run indefinitely with a lot of backlogged tasks. And if, and when, I edit any product or even add any new ...
user avatar
  • 71
0 votes
0 answers
8 views

storeview tables still in db after storeview remove

Hi, I had 10 storeviews in mi Magento 2.3.5-p1 installation I removed 4 storeviews and ran a bin/magento indexer:reindex after that but i still can see all the storeview tables in the db full ...
user avatar
0 votes
0 answers
27 views

how to update the minicart according to the stock status when the user logged in in Magento 2

scenario - here the user logged in and added some products to the basket then he logged out. After sometime he logged in to purchase the products,but some of those products are not available. Now when ...
user avatar
  • 33
0 votes
1 answer
31 views

How can i remove items from the basket automatically if the customer added product is out of stock in Magento 2

scenario - the customer added products to the basket and logged out. After sometime he again logged in, now when he checked his minicart or cart i need to remove the products which are out of stock ...
user avatar
  • 33
0 votes
1 answer
58 views

Gift Card Quote Item Prices are NULL in cart related events

I want to do some customization when a gift card is added to cart so I have created a module observer with event checkout_cart_product_add_after, I am getting the product id, product type on the quote ...
user avatar
  • 81
0 votes
0 answers
45 views

Notify for qty below 0 not showing in low stock report

When notify for qty below 0 is set nothing shows in low stock report (items on backorder not shown eg salable qty -1). But if I set to qty below 1 it will show any item that has a qty of 0
user avatar
  • 35
0 votes
0 answers
28 views

Magento 2 New order: Return value of Magento\Framework\Filter\DirectiveProcessor\TemplateDirective::process() must be of the type string, null return

I'm having this error when a successful order is processed in my Magento 2 website. Fatal error: Uncaught TypeError: Return value of Magento\Framework\Filter\DirectiveProcessor\TemplateDirective::...
user avatar
0 votes
1 answer
110 views

Magento 2.4.3-p1 upgrade - Setup:upgrade stuck at Magento_Customer

I am trying to upgrade Magento 2.4.3 to Magento 2.4.3-p1 using composer and successfully new version upgrade but when run upgrade command but process stuck not progress process of from Data install/...
user avatar
0 votes
1 answer
10 views

add "add to cart" button in popup containing attribute information

in catalog page, there is a tool tip next to each product,once we click on it a popup, that contain attribute detail and add to cart button, should appear. my question is how to add 'add to cart' ...
user avatar
0 votes
0 answers
18 views

Magento MSI Source - add custom field to Sources in M2

I want to add custom field in MSI source form. not able to find any documentation or idea on it anyone can help me to add field in MSI? I saw same question but not got any proper answer Magento MSI; ...
user avatar
  • 2,498
0 votes
2 answers
70 views

Create Admin Grid to list all products

I need to Create Admin Grid to list all products with Name, SKU, Price.
user avatar
0 votes
1 answer
38 views

Magento 2 : How to add sub query in custom collection

Adding Join: $subquery= new \Zend_Db_Expr('(SELECT @row_number := 0)'); $resourceCollection->join(array('payment'=>'sales_order_payment'),'main_table.entity_id=parent_id',['main_table.entity_id',...
user avatar
  • 1,582
0 votes
0 answers
9 views

Create Backorder Report

Would like to create a report on what current products have been backordered. For example show any product that has a salable qty below 0 eg Test-Product qty -1 Similar to the low stock report would ...
user avatar
  • 35
0 votes
1 answer
126 views

How to show video in product view page front end?

I have requirements that, need to create custom module that upload the video from back end and this video can show on frontend product view page in product gallery and product image view.. Now I have ...
user avatar
0 votes
0 answers
18 views

Need to Create a custom module with sub menu under Catalog and display products(just like catalog/products)

I Need to Create a custom module with a sub-menu under the Catalog menu and display products will all filters and everything (just like catalog/products) . Anyone can help me
user avatar
0 votes
0 answers
12 views

Custom attribute image magento 2

I am trying to create a method to upload a custom image to the product. I have used the following code: $this->moduleDataSetup->getConnection()->startSetup(); /** @var EavSetup $...
user avatar
0 votes
0 answers
17 views

Batch edit Alt Text

I want to update the Alt Text for each of my 14,000 products to match them with the Product Name. Is there a script I can use or an option I can select to edit them all at once? How long will it take?
user avatar
  • 1
0 votes
2 answers
83 views

How to get system.xml config values?

I am trying to get the value of system.xml from a plugin I am developing. <field id="Moduleposition" translate="Module" type="multiselect" sortOrder="30" ...
user avatar
0 votes
0 answers
15 views

Changing Magento admin image upload Role defaults

By default when I upload an image to Magento using the admin panel, it includes all the Roles (Listing Hover Image, Swatch, etc.). I want it just to select Base, Small and Thumbnail roles. So is there ...
user avatar
  • 1
0 votes
0 answers
10 views

Is there any way to delete Product approval Mail to Seller Template in Magento 2.3?

When I approved or disabled a product from the product edit page, seller got Product approved email. So I don't want to send that email, how can I delete that setting in magento 2.3.
user avatar
0 votes
0 answers
12 views

Configurable variations not showing on both frontend and backend but those data are available in database

I have imported the configurable product along with its variations and they have imported successfully. When I edit that configurable product on the admin, the respective configurable variations are ...
user avatar
0 votes
0 answers
58 views

Add custom non-attribute filter when elastic search is enabled

I want to add custom non-attribute filter(data is coming from custom table which has product id as foreign key) when elastic search. I have already done for MySql engine but in case of Elastic search,...
user avatar
  • 675

1 2
3
4 5
93