add shipping rules

This commit is contained in:
Ludovic CANDELLIER
2023-07-16 14:45:42 +02:00
parent 72a7b270f9
commit 0879b0abf0
459 changed files with 6219 additions and 5416 deletions

View File

@@ -19,6 +19,7 @@ trait Imageable
public static function getThumb($image, $with_undefined = true)
{
$src = self::getThumbSrc($image, $with_undefined);
return $src ? "<img src='$src'>" : '';
}
@@ -30,6 +31,7 @@ trait Imageable
public static function getPreview($image, $with_undefined = true)
{
$src = self::getPreviewSrc($image, $with_undefined);
return $src ? "<img src='$src' class='img-fluid'>" : '';
}
@@ -41,6 +43,7 @@ trait Imageable
public static function getNormal($image, $with_undefined = true)
{
$src = self::getNormalSrc($image, $with_undefined);
return $src ? "<img src='$src'>" : '';
}
@@ -52,6 +55,7 @@ trait Imageable
public static function getImage($image, $with_undefined = true)
{
$src = self::getImageSrc($image, $with_undefined);
return $src ? "<img src='$src' class='img-fluid'>" : '';
}