2 votes
Accepted

Magento2.3.5: How to optimize product export scripts?

I recommend to use standard performance improvement loop: Testing (profiling) Find bottleneck Fix it and repeat https://github.com/NoiseByNorthwest/php-spx is good for quick start For example app:/...
KAndy's user avatar
  • 20.7k
1 vote

Magento2.3.5: How to optimize product export scripts?

Your script looks quite comprehensive, and it's good that you are considering optimization. Here are some suggestions to optimize and improve your script: 1. Use Dependency Injection: Instead of using ...
Rakesh Patidar's user avatar
1 vote

Magento2.3.5: How to optimize product export scripts?

Start by not using object manager but dependency injectrion. Then in term of performance i would say The closest you are from the system the fastest it is. That means accessing threw repositories will ...
Claims's user avatar
  • 1,049
1 vote

Our Magento website show file log name like debug.log-20231106.gz, Where and how can I change it?

You're correct, this is a behavior related to the system (server) and not Magento. Automated file compression can be achieved through various methods, such as using logrotate or adding a cron job. It ...
Tu Van's user avatar
  • 6,473
1 vote

Magento2.3.5: How to remove index.php and theme id from url?

Go to Admin -> System -> Configuration -> Web -> Search Engine Optimisation -> Web Server Rewrites : YES. You should make sure that your Secure and Unsecure base urls end with "/&...
Grazitti Dev's user avatar
1 vote
Accepted

CollectRates() in getAllItems() is empty

Problem is with json_encode. Use json_encode on item level. foreach ($request->getAllItems() as $item){ $this->_logger->info('COLLECT RATES 2 '. json_encode($item->getData()...
explorer's user avatar
1 vote

Magento2.4.3: While importing products, getting this error (The value specified in the URL Key field would generate a URL that already exists)?

it can be problem with url_rewrite table. When you want to solve problem, pls check few points: Whether url_key in existing products is unique Whether url_key in product which you want to import is ...
K. Maliszewski's user avatar
1 vote

Magento 2.4 Unable to apply data patch: Area code is not set

I have face same issue into the installData, so i have use this solution and now it's working fine please try this. public function __construct( ... \Magento\Framework\App\State $state ) { ...
Rohit Mage's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible