So did native assert not have the 2nd argument 3 years ago?
@TechTips-te1nb9 ай бұрын
I have implemented code but show error Error: Object of class Magento\Framework\DataObject could not be converted to string in C:\xampp\htdocs\staging\app\code\Training\VirtualTypeExample\view\frontend\templates\virtual\virtual.phtml:2 <?php declare(strict_types=1); namespace Training\VirtualTypeExample\ViewModel; use Magento\Framework\App\RequestInterface; use Magento\Framework\View\Element\Block\ArgumentInterface; use Training\VirtualTypeExample\Api\WarehouseRepositoryInterface; class Example implements ArgumentInterface { /** * [__construct description] * @param WarehouseRepositoryInterface $warehouseRepository [description] */ protected $warehouseRepository; public function __construct(WarehouseRepositoryInterface $warehouseRepository) { $this->warehouseRepository = $warehouseRepository; } public function getWarehouse(RequestInterface $request) { return $this->warehouseRepository->newWarehouse((string) $request->getParam('code')); } } <?php /** @var \Magento\Framework\View\Element\Template $block */ ?> <?= $warehouse = $block->getViewModel()->getWarehouse($block->getRequest()); ?> <?php if(!$warehouse->isEmpty()): ?> <p><?= $warehouse->getName() ?> . ':'. <?= $warehouse->getPostcode() ?></p> <?php endif; ?>
@myller5522 Жыл бұрын
Great!
@SanojKumar-g1r Жыл бұрын
Can you share me your code link of all like git hub
@reenakotadiya819 Жыл бұрын
Easy steps: kzbin.info/www/bejne/gGnHin-Aq86Yi6s
@ABDULBASIT1 Жыл бұрын
Great job
@shubhamrajjaiswal9122 Жыл бұрын
Thank you so much. ❤
@the_maximum7049 Жыл бұрын
Very interesting! How about mentoring for money/hour for you price about some topics i will ask about
@Magento2023-x1m Жыл бұрын
Can you create a video on how to add an export on catalog->product page admin? thanks
@abdulrahmanemad1484 Жыл бұрын
Just awesome!
@darrenplayer499 Жыл бұрын
thanks for the video, I'm getting a 404 both front and backend after a successful upgrade? any help why this might be
@jeromemanceau4263 Жыл бұрын
👍 👏 - Amazing tutorials!
@PawarNitin45 Жыл бұрын
Not worked for me. Trying to override the checked_submit_all_after
@JossieHOF Жыл бұрын
Let me be the first to make a comment. This tutorial was verry helpfull to me. thanks.
@linonator Жыл бұрын
Very clear and easy to follow video ! Thanks for making this
@abdelrahmanesam8074 Жыл бұрын
Excellent tutorial, simplicity in the explanation, thank you Alaa for such great effort
@mohdateequeahamed4108 Жыл бұрын
Plz make a video on magento 2 request flow
@tulasimounisha40242 жыл бұрын
Iamgetting an error saying call to a member function getMessage () on null How to solve this help me
@hariskalim1823 Жыл бұрын
you are missing <arguments> element place <argument> element inside <arguments> element the difference is two element is s and without s like plural and singular
@HarikishanBadinedi2 жыл бұрын
hi the content was very good pls do more videos on magento 2
@qkitselectronics54152 жыл бұрын
6:25 lol ! Love the speed and topics covered, don't change a thing.
@youngengineer80332 жыл бұрын
sir please provide magento 2.4 interview questions notes
@glowacs2 жыл бұрын
Best tutorial!
@patelfurqanaleem82402 жыл бұрын
please can u make a video on difference between flat and eav module,this will be really helpful for us.we really likes the way of your's indepth explaination.
@PetitNuagefr2 жыл бұрын
Hi ! Thanks for that. Any Idea how to do the same for assets ? like css or js ?
@nueirat2 жыл бұрын
Thanks, easy and straight , its done successfully
@azizmuin87482 жыл бұрын
how did you know that $observer has getBlock() magic method? or where is setBlock() has been run? 🤔
@nithinstrack-shiningsun55562 жыл бұрын
Perfect example. Thanks a lot!!!👍
@azizmuin87482 жыл бұрын
does it work same as if we are using preference ?
@azizmuin87482 жыл бұрын
best magento tutorial ever 😭 this really what i looking for, thankyou so muccccchhhhh
@ubedrajput11022 жыл бұрын
Hello sir please make a video for per product select shipping method in frontend.
@azizmuin87482 жыл бұрын
This what i looking for 😭
@RixitPatel132 жыл бұрын
Hi, This is good info regarding Magento 2. But I have some unique issues and its strange In Magento 2.4, I have multiple custom themes. Now When I override List.phtml block file. The file functions are works for only 1 theme only not for all themes. May I make any mistake, can you please share with me any video link regarding that? Thanks
@RahulTimes2 жыл бұрын
Clearly and full explanation. Keep it man
@mostafaamaan24992 жыл бұрын
Thank you for this video. I'm new to Magento, and I have a question that may sound silly. I have implemented the steps mentioned in the video, and created 2 store views, one for Arabic and one for English. Now I want the Arabic language store to have a right-to-left display, so what file should I edit inside the custom template I created? Thank you very much.
@hamadmohammed59572 жыл бұрын
Hello , Please can you explain when i make disable for categories parents automatic subcategories will make disable as well , if there is any method please ?
@mahendrajella22682 жыл бұрын
Many thanks, it's cleared all my doubts related to dependency injection. Superb.
@zmark22742 жыл бұрын
Hello guys)
@tinmtc2 жыл бұрын
it's very helpful, thank you so much
@thineshkumar44592 жыл бұрын
Do u have a playlist for the entire magento?
@abdel-rahmangad33682 жыл бұрын
low quality voice
@ghdarvishani9702 жыл бұрын
the part 1 was good and useful but the part 2 is very confusing
@thilagavathyrathinavelu5172 жыл бұрын
Many thanks to you man. :). This is very useful, but I need the code that you showed. can u pls pass the code link
@aneesahmad20282 жыл бұрын
Hello Alaa Al Maliki can you record a session where you brief how we can use Phpstorm with Magento 2.?
@goldismould2 жыл бұрын
Excellent explanation and to the point. Thank you
@nukacoaal2 жыл бұрын
This way of defining something as simple as a template looks so unnecessary complicated compared so sympfony, phalcon or any other framework I worked with in the past. I am genuinely questioning my will to continue to learn more about magento after this video.
@AlaaAlMaliki2 жыл бұрын
I agree with you that templating is more complicated on Magento, however comparing a framework with a platform is irrelevant here. I also see that coming from different backgrounds is going to be irritating and annoying, but believe me, once you get to know it, you would appreciate the flexibility as a result of this complexity. Also as little warning, complexity does not end here, you will find yourself fighting to understand DI, Cache, Indexing etc, but you will pick up in time and experience. Only then you can pick a side, whether to be a Magento lover or hater.
@ahmedshukri82732 жыл бұрын
Thanks for your detailed explanation <3
@ahmedshukri82732 жыл бұрын
Thank you Alaa Al-Maliki. This video help me_^
@tahmina7632 жыл бұрын
very nice tutorial
@cloudedv86102 жыл бұрын
Very good explanation Alaa👍
@EvaQ952 жыл бұрын
i Copied and paste the code and try it but i dont get the product id only "Plugin Example in Magento 2"