python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to calculate cart item's discount based on discount type [ Buy1 Get 1 offer ]
I have a table in my DB.
Carts Table:
id| user_id | product_id | title |price |tax| quantity | discount | discount_type
1 | 1 | 2 | Watch | 50 | 5 | 2 | Null | buy1get1
2 |...
Ra3d K
Votes: 0
Answers: 1
How to foreach and group like this on blade laravel?
I'm retrieving tracking data from the DHL API, as follows the data I get :
Data API From DHL TRACKING
I use foreach in laravel blade, the result is like this:
Foreach on Blade
How to make a foreach gr...
BarnoxDev
Votes: 0
Answers: 2
Laravel : get only the clicked image to display, and not all of them
Yo everyone!
I'm actually working on a lil' project to learn laravel and here is the thing I struggle to achieve : I want the image I click on to be displayed in a view, but not all of my images (my i...
Sepulcherz
Votes: 0
Answers: 1
How to re-render the @section in Laravel Blade template?
I'm new to Laravel. May I know is there a way to replace the @section without reloading the page using Laravel Blade template?
For example, I have a @section('content') showing 2 different payment met...

jialeee17
Votes: 0
Answers: 0