Issue #1724 fixed
This commit is contained in:
parent
c0a4e2fe26
commit
973332f6c0
|
|
@ -676,8 +676,8 @@ class Cart {
|
|||
$this->cartItemRepository->update([
|
||||
'price' => core()->convertPrice($price),
|
||||
'base_price' => $price,
|
||||
'total' => core()->convertPrice($price * ($item->quantity)),
|
||||
'base_total' => $price * ($item->quantity),
|
||||
'total' => core()->convertPrice($price * $item->quantity),
|
||||
'base_total' => $price * $item->quantity,
|
||||
], $item->id);
|
||||
}
|
||||
|
||||
|
|
@ -689,7 +689,7 @@ class Cart {
|
|||
* Calculates cart items tax
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
*/
|
||||
public function calculateItemsTax()
|
||||
{
|
||||
if (! $cart = $this->getCart())
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ use Webkul\Core\Contracts\Channel as ChannelContract;
|
|||
|
||||
class Channel extends Model implements ChannelContract
|
||||
{
|
||||
protected $fillable = ['code', 'name', 'description', 'theme', 'home_page_content', 'footer_content', 'hostname', 'default_locale_id', 'base_currency_id', 'root_category_id', 'home_seo', 'logo', 'favicon'];
|
||||
protected $fillable = ['code', 'name', 'description', 'theme', 'home_page_content', 'footer_content', 'hostname', 'default_locale_id', 'base_currency_id', 'root_category_id', 'home_seo'];
|
||||
|
||||
/**
|
||||
* Get the channel locales.
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@ class ChannelRepository extends Repository
|
|||
*/
|
||||
public function uploadImages($data, $channel, $type = "logo")
|
||||
{
|
||||
|
||||
if (isset($data[$type])) {
|
||||
foreach ($data[$type] as $imageId => $image) {
|
||||
$file = $type . '.' . $imageId;
|
||||
|
|
|
|||
Loading…
Reference in New Issue