How can I come over such a problem?
hi guys how can I automatically remove all of my data in databace after period of time?
Are you familiar with Scheduler?
if I want to delete after a minute should I use everyMinute function?
How can i solve this problem?
did your run your scheduler?
Yo guys, whats a proper way to queue a job and not call it to be executed directly?
It should be a cname
It showing 403
The Concept
When user clicks on Add to Cart, the following information is stored: Product ID e.g. 5312, Product Name, Product Quantity, Product Rules (e.g. color : white, size : medium and so on)
The problem
The problem is that when I save the entry in $_SESSION by item ID. I want to assume the following:
User adds 1 item of product #11 which color is white
User then adds 2 items of product #11 which color is blue
If I save by item ID, the info will be overridden always, I want to make each call / each add to cart unique because I am assuming he may add different sizes, different colors of the same product.
How can I come over such a problem?
Any ideas or inputs are greatly appreciated.
The Concept
When user clicks on Add to Cart, the following information is stored: Product ID e.g. 5312, Product Name, Product Quantity, Product Rules (e.g. color : white, size : medium and so on)
The problem
The problem is that when I save the entry in $_SESSION by item ID. I want to assume the following:
User adds 1 item of product #11 which color is white
User then adds 2 items of product #11 which color is blue
If I save by item ID, the info will be overridden always, I want to make each call / each add to cart unique because I am assuming he may add different sizes, different colors of the same product.
How can I come over such a problem?
Any ideas or inputs are greatly appreciated.
You look at bagisto it would solve you lots of hours in development
The Concept
When user clicks on Add to Cart, the following information is stored: Product ID e.g. 5312, Product Name, Product Quantity, Product Rules (e.g. color : white, size : medium and so on)
The problem
The problem is that when I save the entry in $_SESSION by item ID. I want to assume the following:
User adds 1 item of product #11 which color is white
User then adds 2 items of product #11 which color is blue
If I save by item ID, the info will be overridden always, I want to make each call / each add to cart unique because I am assuming he may add different sizes, different colors of the same product.
How can I come over such a problem?
Any ideas or inputs are greatly appreciated.
in Shopify this is call “Variants” Instead of storing ItemID in Session, you can consider combining it with a variant ID if you have. If not then just the text
I havent used
Laravel Scheduler allows you to schedule task to be performed during a certain interval
https://laravel.com/docs/8.x/scheduling

I used that but it doesnt work can you tell me what’s wrong?
if you want to do it like this, look at
https://laravel.com/docs/8.x/scheduling#defining-schedules
this is my code. How can i solve this problem?
https://laravel.com/docs/8.x/scheduling#defining-schedules
I think somehow this would be true but it doesnt delete anything
how to run that I didnt see anything about run in document


and if I use run it says 👆