menu brand links test ready

This commit is contained in:
merdan 2022-09-23 17:35:00 +05:00
parent ffd42780c0
commit e4ea020645
1 changed files with 5 additions and 5 deletions

View File

@ -682,11 +682,11 @@ class Configurable extends AbstractType
return $haveSpecialPrice;
}
public function getSpecialPrice($qty = null){
$variant = $this->product->variants()->latest()->first();
return $variant->getTypeInstance()->getSpecialPrice($qty);
}
// public function getSpecialPrice($qty = null){
// $variant = $this->product->variants()->latest()->first();
//
// return $variant->getTypeInstance()->getSpecialPrice($qty);
// }
public function getImages(){
$variant = $this->product->variants()->latest()->first();