Sveta Oksen
  • Member for 7 years, 8 months
  • Last seen more than a week ago
PWA- Sample Data not installed getting error in magento2
3 votes

In my case, it helped to run composer update then the shell asked me to go to github to generate an oAuth token. I generated it, pasted it to the shell and it finished successfully. Afterwards I ran ...

View answer
How to auto update Subtotal, Total in cart when I update product qty?
2 votes

Just run the following js code - require( [ 'Magento_Checkout/js/model/quote', 'Magento_Checkout/js/model/cart/totals-processor/default' ], function( quote, totalsDefaultProvider ) { ...

View answer
Cron job on specific time not working
2 votes

In my case, the mistake was that I expected the cron job to get scheduled according to my server time. Apparently, the scheduler uses the store time and not the server time. That is if your schedule ...

View answer
Magento 2.3 reverts the DB update on static files deployment
1 votes

It turned out that the DB was reverting the column size each time the customer ran php bin/magento setup:upgrade. I figured that it happens because in Magento 2.3 schema modifications has to be done ...

View answer
Duplicate order confirmation emails when checking out with PayPal Express
1 votes

I don't know if this will help, but those are my findings about your issue: It seems that the first order email is sent in \Magento\Quote\Observer\SubmitObserver::execute. As far as I understand, ...

View answer
Programmatic category update not taking effect until Save in Admin
1 votes

Try the following: $categorySingleton = Mage::getSingleton('catalog/category'); $categorySingleton->setId(4); // desired category id to update $categorySingleton->setCustomUseParentSettings(...

View answer
Magento 2 - what event should I observe to change/intercept the calculation of subtotals on Cart
Accepted answer
0 votes

I suggest to create a plugin for the class Magento\Quote\Model\Quote\Address\Total\Subtotal, and to add some functionality to the collect function. di.xml file <?xml version="1.0"?> <config ...

View answer
Add („House Number”) field for the orders address datas in Magento 2.2.6
0 votes

Try adding the fieldset.xml file to your etc directory with the following content: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...

View answer
Get Cross sell items in cart page Programmatically in magento2
0 votes

I haven't tested it, but perhaps you can do something similar to vendor/magento/module-catalog/Block/Product/ProductList/Crosssell.php _prepareData() function: public function getItems() { $...

View answer
Question about UpgradeSchema and UpgradeData files
0 votes

The $context->getVersion() is the number that is located in the setup_module table, in the schema_version column, of the row that corresponds to your module. Therefore, the comparison if(...

View answer
Static files in developer mode, is it normal?
Accepted answer
0 votes

Yes, it is normal. One of the differences between the production and the developer mode is that the production mode will throw an error if it won't find the static file in the pub directory, while ...

View answer
uiComponent Form Save Button Not working
0 votes

I also encountered a similar problem. After a lot of trial and error what helped me is to shorten the names of the provider and to get rid of redundant underscore (not sure which one of them helped). ...

View answer