lundi 3 juin 2019

Hod do i make discount percentage of products in Laravel

I want to show a discount percentage of my products.

I get this error:

Division by zero (0)

Can anyone suggest me that what's I'm doing wrong ?

@foreach ($Products as $product)
            <div>
                <span>% <br />OFF</span>
                <img src="" />
            </div>
            <div>
                <h2></h2>

                    <ins>  
<span>DHs</span>
Dhs   
</ins>
            </div>
@endforeach



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire