:

basket ) and count($this->basket)) : ?> basket as $position_hash => $position) : ?> findCached( (int)$position['product-id'], $this -> lang_id ); $permutation = null; if ( isset( $position['parent_id'] ) and (int)$position['parent_id'] and isset( $position['product-id'] ) ) $permutation = (new \Domain\Product\ProductRepository($GLOBALS['mdb']))->getProductPermutationHash( (int)$position['product-id'] ); if ( !$permutation and isset( $position['attributes'] ) and is_array( $position['attributes'] ) and count( $position['attributes'] ) ) $permutation = implode( '|', $position['attributes'] ); $quantity_options = (new \Domain\Product\ProductRepository($GLOBALS['mdb']))->getProductPermutationQuantityOptions( (int)( $position['parent_id'] ? $position['parent_id'] : $position['product-id'] ), $permutation ); $max_quantity = (int)$quantity_options['quantity']; if ( !$max_quantity and (int)$quantity_options['stock_0_buy'] ) $max_quantity = 999; ?>
defaultLanguage() and $url != '#') $url = '/' . \Shared\Helpers\Helpers::get_session('current-lang') . $url; ?>
frontAttributeDetails((int)$row[0], $this->lang_id); echo '
' . $attribute['language']['name'] . ':
'; $value = $attributeRepo->frontValueDetails((int)$row[1], $this->lang_id); echo '
' . $value['language']['name'] . '
'; } ?>

$position['custom_fields'], 'product_code' => $position_hash ] ); ?>
coupon, $position ); if ( $price_product['price_new'] ) echo \Shared\Helpers\Helpers::decimal( $price_product['price_new'] ) . ' zł'; if ($price_product['price_new'] and $price_product['price_new'] < $price_product['price']) echo '' . \Shared\Helpers\Helpers::decimal( $price_product['price'] ) . ' zł'; if ($price_product['price_new'] and $price_product['price_new'] < $price_product['price']) $discount += \Shared\Helpers\Helpers::normalize_decimal(($price_product['price'] - $price_product['price_new']) * $position['quantity']); ?>
Wartość koszyka:
Rabat: -
Wartość koszyka po rabacie:
\Shared\Helpers\Helpers::get_session('coupon') ] ); ?>
Brak produktów w koszyku