The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0answers
334 views

Product detail page image not loading on front end

Product detail page images are not loading. The pointer is just spinning. I have read lots of threads. Clear cache, reindexed, change permissions. Finally, I got a problem. but unable to fix it. :-/ ...
0
votes
0answers
14 views

admin page is not working

I have tried almost everything but admin page/url is not working redirected too many times issue . what can be the issue i have changed the permissions cleared cache so many time . var/cache and more ...
0
votes
1answer
277 views

Magento 2.3: Write unit test for Observer

I am writing a unit test for an observer invoking sales_order_place_after event. SampleObserver class SampleObserver extends \PHPUnit\Framework\TestCase { public function __construct( \...
2
votes
1answer
217 views

Customer_save_after observer - is it an update or a registration?

I have implemented an observer for customer_save_after event. Is there a way to know if it is a new customer registration or an update? I cannot use the customer_register_success event as it is not ...
1
vote
3answers
407 views

Composer install issue in Magento 2.3?

I have one issue when I run composer install command. How to solve this issue. Thanks.
3
votes
0answers
111 views

how to get welcome Email when creating customer using custom API in magento 2

I am using magento B2B feature, which has company-modulea and i created a custom api to create company and company user but am unable to get a welcome when i create using the custom api. here is ...
0
votes
1answer
17 views

Error when sending purchase order e-mail in Magento 2.3

Magento 2.3 is recognizing as a wrong route when sending the email, it also happens when making the purchase by the store. The process with Vindi works perfectly, there is only the detail of sending ...
5
votes
2answers
10k views

Magento 2 - I need to create simple custom report with date range and other column filter (filter should be outside of grid)

I need to create custom report which is just like magento default reports. I go through the Internet I found this https://github.com/degdigital/magento2-customreports but In this report data is ...
1
vote
0answers
17 views

in magento 2 I want to write the dynamic {{var shipping_company}} into the xml file

Helllo, i want to set the the dynamic value of variable into xml file try { $om = \Magento\Framework\App\ObjectManager::getInstance(); $filesystem = $om->get('Magento\Framework\...
2
votes
0answers
37 views

I have added js using require js but it is not attached

I have added javascript files in require js but it is not showing in the inspect element that my javascript files are attached and it is not working. What should I do? I have cleared cache and folders ...
1
vote
1answer
287 views

X-XSS-Protection header gets set twice - override XssProtection.php

I use magento 2 (version 2.3) and cloudFlare. There is an error with http headers: X-XSS-Protection header gets set twice because magento add this and then ClouFlare add again. See this post It's ...
0
votes
1answer
254 views

2.3.0 - Custom Payment Method - Invalid Form Key. Please refresh the page

I have a custom payment method that uses the cc-form to take debit/credit card payments. After the user has entered their card details, they are re-directed to my controller with a hidden form, then ...
0
votes
0answers
219 views

Magento 2.3 Installion Error: Failed opening required myclabs/deep-copy/src/DeepCopy/deep_copy.php

I tried to install Magento 2.3, but when I am calling my site, I am getting this error: Fatal error: require(): Failed opening required '/kunden/218561_34414/magento2/vendor/composer/../myclabs/...
1
vote
1answer
86 views

Magento2 : Using RequireJS module conditional of whether it exists

It is possible to use RequireJS to inject some modules into a custom script, for example: define([ 'jquery', 'tinymce', 'Magento_Ui/js/modal/modal' ], function($, modal, tinymce) { "...
0
votes
1answer
151 views

Magento 2.3 checkout show company name after radio select

We want to add a radio select option in our Magento 2.3 store, that hides the company name and fax field. We would like to add a radio option to select: personal or company purchase. If the option ...
2
votes
1answer
51 views

Magento2 : Change the number of an existing invoice

We moved from a different shop sytem to Magento 2.3 and customers already made some orders (Yay!). Due to some regulations all invoice numbers must be continuous. How can I change the number of an ...
4
votes
1answer
53 views

what is $block->getchildhtml() in topmenu.phml file

I was trying to do/learn something and i am at topmenu.phtml file , i have seen $block->getchildhtml() there and when i go to block which is namespace Magento\Theme\Block\Html; with the name topmenu....
3
votes
0answers
82 views

Magento 2.3 - To add the google captcha in cash on delivery payment method on payment step before place order button

I need to show google captcha on particular cash on delivery payment method on payment step before placing an order as a part of manual verification of humans. For checkout i'm using Magento standard ...
6
votes
1answer
689 views

Magento2.3 : Layered Navigation issue

When call block on custom view: $layer=$layout->createBlock('Magento\LayeredNavigation\Block\Navigation\Category'); Exception #0 (RuntimeException): Illegal state #0 /home/httpdocs/...
2
votes
1answer
24 views

whenever i do any change in xml file i need to remove pub/static folder then it works

I am trying to do some change in default.xml but whenever i do any change in xml layout i have to clear cache and remove pub/static folder var/cache folder . is there any way to skip these steps and ...
4
votes
2answers
457 views

Product images not load PWA setup magento 2.3

I had done a PWA setup on my local machine. I am facing product and category images issue. Images path : src="data:image/png;base64,...
1
vote
3answers
1k views

how to add quantity increment and decreament (+ and - button) in minicart magento 2?

actually i am trying to add quantity increment and decreament (+ and - button) in minicart magento 2.3. If anyone have any idea please guide me.
2
votes
0answers
59 views

You need to choose options for your item in Magento2 after running command indexer:reindex

I Moved database and webserver files from one server to another. After moving everything works fine. But when i run php bin/magento indexer:reindex on new server then while adding products ...
2
votes
1answer
209 views

Declaration error during compile

Just update to 2.3.0, use setup:di:compile and get following error: Warning: Declaration of Iksanika\Productmanage\Model\ResourceModel\Search\Collection::_getSelectCountSql($select = NULL, $...
4
votes
1answer
208 views

Create Block Hide/Show Editor removes empty span

I created a new block in Magento 2.3 and want to use <span> to place some icons in front of a text. I clicked on Hide/Show editor and pasted my code <div class="item"><span class="top-...
2
votes
1answer
878 views

Magento 2.3 Update Source Stock

Im currently creating a module that should update product quantity per source, based on SKU. Im using Magento\InventoryApi\Api\SourceItemsSaveInterface and Magento\InventoryApi\Api\Data\...
3
votes
1answer
144 views

API call and observer on customer creation

I want to create an observer when a new customer is registered through the REST API (POST /rest/V1/customers). I have created an observer customer_register_success but it's only been triggered when a ...
2
votes
2answers
522 views

PHPUnit_Framework_TestCase not found

just made upgrade to 2.3.0 and while compilation get this error: server@server:~/web/server.dev.company.com/public_html$ /usr/bin/php7.1 bin/magento setup:di:compile Compilation was started. ...
2
votes
1answer
87 views

How to disable frontend for CMS/API-only, headless Magento 2.3

I'm currently working on a web-app that uses Magento 2.3 as a CMS-only. How can I disable the customer-facing frontend and leave only the admin pages accessible? Alternatively, is there a way to set ...
2
votes
1answer
460 views

Programmatically create a wysiwyg editor for frontend magento 2.3

I don't see any examples in frontend of magento for this case. Wonder how to add editor field from php class instead template When try to call wysiwygConfig->getConfig() in my block class i got error ...
2
votes
2answers
476 views

Order Status Processing after Shipment and Generate Invoice also Invoice status showing pending in Magento2

Shipment completed and generate invoice but order status showing Processing and invoice is in pending. Also invoice showing a Capture button. why? Anyone Know?
3
votes
3answers
233 views

Get recently viewed products excluding particular product ID in Magento 2

I need to get recently viewed products for a customer in a product view but excluding the current product the customer is viewing. I have, class Index extends Action { protected $recentlyViewed; ...
1
vote
1answer
137 views

should i use ubuntu or centos 7 for magento 2 development

I have worked on windows and it is very very slow with so many errors , i need a recommendation what linux should i use for development in magento 2 . Centos 7 , Ubuntu or anything else i want supper ...
0
votes
0answers
17 views

getCurrentCategory() returns Root Category every time on Magento 2

I detected that some categories on my site don't show the correct products. Instead, show ALL products assigned to the root category. I made a test adding this to my list.phtml: $block->getLayer()-...
1
vote
1answer
166 views

segmentation fault

Just updated from M2.2.7 to M2.3.0. And now have next trouble: git:(update-to-2.3.0) ✗bin/magento setup:di:compile Compilation was started.Repositories code generation... 1/7 [====>-------------...
0
votes
1answer
33 views

Which is the supported version of rabitmq for magento 2.3 ce?

I followed the official magento documentation and installed Rabitmq 3.5.6. However i was reading this document https://www.rabbitmq.com/which-erlang.html and i found that Rabitmq 3.5.6 version is ...
1
vote
0answers
37 views

Login to admin pending forever with Valet+

I'm using Valet+ on MacOS and have tweaked the Nginx and PHP configs to increase execution time etc. Doing a fresh install, the frontend will load, slow at first, but fast after subsequent reloads, ...
5
votes
3answers
181 views

Get category id

How can I get ID from this code which is typed into CMS page content? {{block class="Vendor\Module\Block\CategoryList" category_id="49" template="Vendor_Module::subcategorylist.phtml"}} I need to ...
0
votes
0answers
27 views

Magento 2 : How to display default Loader when add to cart on list page?

I want to display default loader of Magento 2 while add to cart from category page. currently customers are confused about adding product to cart. Please give me some solution or suggestion.
2
votes
2answers
346 views

Migration Magento1.9.4 to Magento 2.3.0 Setting command after error

When I run migration command sudo php bin/magento migrate:settings --reset vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.4.0/config.xml after below error showing.. ...
1
vote
2answers
199 views

Invalid template file issue in Magento 2.3

I am seeing invalid template file error Invalid template file: 'Sam_Options::after_nav_banner.phtml' in module: '' block's name: 'header.right.custom.area' I have tried doing view in small ...
0
votes
0answers
17 views

Avoid product duplication when trying to save from multiple ways

I am using Magento 2.3 version. I have a case to create the product from two XML when it hits my function. For example, I have two XML: A.XML and B.XML. Both XML will be triggered at a time or ...
1
vote
1answer
217 views

Magento2: Order summary always expanded

I am using Magento 2.3.0 and I want the Cart Order Summary always expanded. All solutions I have found wont work. Is there any workaround or has something changed in 2.3?
1
vote
2answers
45 views

Magento 2.3 | Get a list of all sites

Is it possible to get a list of all sites programatically?
1
vote
1answer
205 views

Payment Method not showing information in admin order detail

I've created a custom payment method and want to see the information inside the admin order detail page. The payment method is a custom instore payment method and working so far. I'd like to know ...
0
votes
1answer
205 views

Magento 2: Newsletter subscription success message disappear so fast

While subscribing newsletter, it disappears the success message so fast,So it is unable to notify the frontend user. Please provide me a solution.
0
votes
1answer
218 views

Cron in my custom module is not running

I have created a cron group as below, cron_groups.xml <?xml version="1.0"?> <!-- /** * path: * magento_home/app/code/vendor/module/etc/cron_groups.xml */ --> <config xmlns:xsi="...
0
votes
2answers
827 views

Install bluefoot on Magento 2.3.0 Commerce

When I try to install gene/bluefoot on Magento EE 2.3.0 with composer I've got this error : Problem 1 - Conclusion: don't install gene/bluefoot 1.0.31 - gene/bluefoot 1.0.30 conflicts with magento/...
1
vote
0answers
43 views

Magento 2.3 checkout page hang up due to knockoutjs or underscore

After Magento 2.2.4 upgraded to Magento 2.3.0 checkout page is not working. Checkout page hang up browser and showing browser warning to stop it. When clicking on stop it is showing some jquery ...
3
votes
1answer
407 views

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'SALES_ORDER_INCREMENT_ID_STORE_ID'

I am using this data-migration-tool, When i migrate from magento 1.9.3.2 to magento 2.3,getting below error, SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key '...