Laravel: Re-Validate Price/Stock on Order Submit

preview_player
Показать описание
I want to demonstrate the Custom Validation Rule in Laravel, with invokable syntax.

- - - - -
Support the channel by checking out my products:

- - - - -
Other places to follow:
Рекомендации по теме
Комментарии
Автор

Firstly thank you for all of your effort to provide such contents. Can you also make more videos about :
- How you spend and manage time
- Some productivity tips that you use, and which techniques you use or which tools you use.
- How you manage projects
- How to start business (maybe small business) as a developer like you
- How you manage teams and others.
Because I know you have enough experience and enough hard skills and soft skills. It will be good if make this type of videos like your "Saturday videos from your car". Thank you!

MurodjonO
Автор

Nice one!
I had to implement something similar but in my case it was a form version check.

So basically I had to check if the newer version of the form wasn’t submitted by somebody else while user was created their own version. If it was then a dialog would pop out with the info about new version.
I’d wish I knew about the invoke and data property. Cool stuff! Thanks

dApoTB
Автор

the user can change the price field in the hidden field using the console to set it to the current

netidpl
Автор

How to implement this if we hide the primary key and using uuid as public key (route)? can we change `product[$product->id]` to `product[$product->uuid]` ?

dontama
Автор

Firstly thank you for all you are the best. Can you tell me how to deplyed my laravel code for free please

arkimedlushaj
Автор

Thank you, I just learned today keyBy('id'); method. very useful

viduexplorer
Автор

What if some one change the value in hidden input to a string, I think this will give us an error because we're conparing a string to price

RatebBarakat
Автор

Hi, I am about to subscribe to your service. I saw that there is a premium tutorial for livewire and ckeditor. Is it covers ckeditor image upload with livewire?
If not have you got any premium tutorial that covers image upload with any wysiwyg editor and livewire?

lollerblade