xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
>
';
} else {
?>
0) {
$product_with_attributes = '1';
?>
TEXT_PRODUCT_NOT_FOUND))); ?>
' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . ''; ?>
'. SPECIAL_THROUGH_TO . $expires_date .'
';
}
$products_price_noscript = '' . $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ';
} else {
$products_price_noscript = $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .$products_base_price;
}
if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
// BOF Separate Price per Customer
$scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id = '" . $customer_group_id . "'");
if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) {
$product_info['products_price']= $scustomer_group_price['customers_group_price'];
}
// EOF Separate Price per Customer
$priceold = $product_info['products_price'];
$pricenew = $new_price;
$difference = $priceold - $pricenew;
// $savings .= SAVINGS_YOU_SAVE;
// $savings .= $currencies->display_price2($difference, tep_get_tax_rate($product_info['products_tax_class_id']));
// $savings .= SAVINGS_THAT_MAKES;
$savings =round($difference/$priceold,2)*100;
//$savings .= SAVINGS_PERCENT;
$savings = '-'.$savings.' %
';
$special_on = 'color:#b70909;';
$priceold = $product_info['products_price'];
$pricenew = $new_price;
$difference = $priceold - $pricenew;
// $savings .= SAVINGS_YOU_SAVE;
// $savings .= $currencies->display_price2($difference, tep_get_tax_rate($product_info['products_tax_class_id']));
// $savings .= SAVINGS_THAT_MAKES;
$savings = '-' . round($difference/$priceold,2)*100 . '%';
//$savings .= SAVINGS_PERCENT;
// $savings = '-'.$savings.' %
';
if((SHOW_PRODUCT_SAVINGS == 'true') && (SHOP_STATUS != 'Nein'))
{
$products_price = '' . PRODUCT_PAGE_PRICE_SPECIAL . '' . $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . '
' .'' . PRICE_NOW . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . '
'. SPECIAL_THROUGH_TO . $expires_date . $savings . $products_base_price . ' ';
$products_price = '' . $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . '
' . $savings .'
';
$products_price .= '' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) .' ';
$products_price .= $valid_to_date;
} else
{
$products_price = '' . PRODUCT_PAGE_PRICE_SPECIAL . '' . $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . '
' .'' . PRICE_NOW . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . $products_base_price . ''. SPECIAL_THROUGH_TO . $expires_date .'
';
$products_price = '' . $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . '
';
$products_price .= '' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) .' ';
}
$products_price_cart = $currencies->display_price2($new_price, tep_get_tax_rate($product_info['products_tax_class_id']));
// $products_price = '' . $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ';
$nuPrice = $currencies->display_price2($new_price, tep_get_tax_rate($product_info['products_tax_class_id']));
$nuPrice = str_replace(".", "", $nuPrice); ### Add this line!
$nuPrice = str_replace(",", ".", $nuPrice); ### Add this line!
$noprice = 'false';
$customer_group_id = $_SESSION['sppc_customer_group_id'];
if(!tep_session_is_registered('sppc_customer_group_id')) {
if (ALLOW_RETAIL_PRICE == 'false') {
$nuPrice = "Preisansicht erst nach Freischaltung";
$noprice = 'true';
}
}
if ($customer_group_id == '0') {
if (ALLOW_RETAIL_PRICE == 'false') {
$nuPrice = "Preisansicht erst nach Freischaltung";
$noprice = 'true';
}
}
} else {
// BOF Separate Price per Customer
$scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id = '" . $customer_group_id . "'");
if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) {
$product_info['products_price']= $scustomer_group_price['customers_group_price'];
}
// EOF Separate Price per Customer
$family_query = tep_db_query("select products_family from " . TABLE_PRODUCTS . " where products_id='" . $HTTP_GET_VARS['products_id'] . "'");
$results = tep_db_fetch_array($family_query);
if ($results['products_family'] != '') {
$products_price = TEXT_FROM . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
}
if ($results['products_family'] == '') {
$products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
}
//$products_price = PRODUCT_PAGE_PRICE . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
$products_price_cart = $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
$nuPrice = $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
$nuPrice = str_replace(".", "", $nuPrice); ### Add this line!
$nuPrice = str_replace(",", ".", $nuPrice); ### Add this line!
$noprice = 'false';
$customer_group_id = $_SESSION['sppc_customer_group_id'];
if(!tep_session_is_registered('sppc_customer_group_id')) {
if (ALLOW_RETAIL_PRICE == 'false') {
$nuPrice = "Preisansicht erst nach Freischaltung";
$noprice = 'true';
}
}
if ($customer_group_id == '0') {
if (ALLOW_RETAIL_PRICE == 'false') {
$nuPrice = "Preisansicht erst nach Freischaltung";
$noprice = 'true';
}
}
}
if (tep_not_null($product_info['products_model'])) {
$products_name = $product_info['products_name'];
} else {
$products_name = $product_info['products_name'];
}
if (tep_not_null($product_info['manufacturers_id'])) {
$manu_id = $product_info['manufacturers_id'];
$manu_query = tep_db_query("select manufacturers_name, manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . $manu_id . "'");
$manu_info = tep_db_fetch_array($manu_query);
$manu_name = $manu_info['manufacturers_name'];
$manu_image = $manu_info['manufacturers_image'];
}
?>
0)) {
?>
';
if ($images_counter > 3 ) {echo ' ';}
echo '';
include(DIR_WS_MODULES . 'product_images.php');
echo '
';
if ($images_counter > 3 ) {echo ' ';}
echo '';
}
echo '';
?>
0 )
{
?>
' . tep_image(DIR_WS_IMAGES . $new_image, $product_info['products_name'], $image_width, $image_height, 'hspace="5" vspace="5"') . '';
?>
';
if ($images_counter > 3 ) {echo ' ';}
echo '';
include(DIR_WS_MODULES . 'additional_images.php');
echo '
';
if ($images_counter > 3 ) {echo ' ';}
echo '';
}
echo '';
//echo '
';
echo tep_image_zoom(DIR_WS_IMAGES . $display_image, DIR_WS_IMAGES . $popup_image, $product_info['products_name'], $image_width, $image_height);
echo '
';
?>
' . $products_name . '' ;
?>
' . tep_image(DIR_WS_IMAGES. $manu_info['manufacturers_image'] , $manu_info['manufacturers_name'], '0', '40', '') . '
';
}
?>
0) {
if ($products_attributes['total'] == 1) {
echo '';
}
?>
$products_options['products_options_values_id'], 'text' => str_replace(",", ".",$products_options['products_options_values_name']));
if ($products_options['options_values_price'] != '0') {
$products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . str_replace(".", "",$currencies->display_price2($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id']))) .') ';
}
}
if (isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {
$selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];
} else {
$selected_attribute = false;
}
?>
';
}
echo '
';
?>
';
// echo $products_base_price;
}
}
else
{
?>
';
}
?>
display_price2($difference, tep_get_tax_rate($product_info['products_tax_class_id']));
// $savings .= SAVINGS_THAT_MAKES;
$savings = '-' . round($difference/$priceold,2)*100 . '%';
//$savings .= SAVINGS_PERCENT;
// $savings = '
-'.$savings.' %
';
if (SHOW_PRODUCT_SAVINGS == 'true') {
$old_products_price = '
' . $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . '
' . $savings .'
';
} else
{
$old_products_price = '
' . $currencies->display_price2($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ' ' . '
';
}
}
?>
">
' . '' . $products_price_noscript; ?>
' . sprintf(TEXT_INFO_TAX3, $mytax_query , tep_href_link(FILENAME_SHIPPING)) . ' ' . $products_base_price;
}
if (TAX_INFO_ONOFF == 'true') {
if ($noprice == 'false') {
$show_tax = $_SESSION['show_group_tax2'];
if ($show_tax == '1') {
echo '
' . sprintf(TEXT_INFO_TAX, $mytax_query , tep_href_link(FILENAME_SHIPPING)) . ' ' . $products_base_price;
} else if ($show_tax == '0') {
echo '
' . sprintf(TEXT_INFO_TAX2, $mytax_query , tep_href_link(FILENAME_SHIPPING)) . ' ' . $products_base_price;
}
}
}
if (TAX_INFO_ONOFF == 'Nur MwSt. anzeigen') {
if ($noprice == 'false') {
$show_tax = $_SESSION['show_group_tax2'];
if ($show_tax == '1') {
echo '
' . sprintf(TEXT_INFO_TAX4, $mytax_query , tep_href_link(FILENAME_SHIPPING)) . ' ' . $products_base_price;
} else if ($show_tax == '0') {
echo '
' . sprintf(TEXT_INFO_TAX5, $mytax_query , tep_href_link(FILENAME_SHIPPING)) . ' ' . $products_base_price;
}
}
}
} ?>
0)
{
?>
format($gp_price_range['unit_price']). $gp_price_range['min_qty']. ' ' . TEXT_UNITS .' ' ;
//echo $currencies->format($gp_price_range['unit_price']). ' (' . TEXT_FROM . ' ' . $gp_price_range['min_qty']. ' ' . TEXT_UNITS . ') ';
echo TEXT_FROM . ' ' . $gp_price_range['min_qty']. ' ' . TEXT_UNITS . ':' . $currencies->format($gp_price_range['unit_price']) .' ';
}
?>
';
}
?>
' . tep_draw_input_field('quantity', '1', 'SIZE="4" maxlength="4" id="quantity" class="quantity_selector" style="margin-top:5px;" ') . tep_draw_separator('pixel_trans.gif', '5', '1') . tep_draw_hidden_field('products_id', $product_info['products_id']) . ' ' . tep_image_submit_cart('button_in_cart.png', IMAGE_BUTTON_IN_CART, '');
if (ALLOW_PREISALARM == 'true') {
if ($results['products_family'] == '') {
echo '
';
}
}
echo '
';
}
}
else
{
echo '' . TEXT_PLEASE_SELECT . '
';
}
?>
'; include(DIR_WS_MODULES . 'bundles.php'); echo '
';}?>
' . stripslashes($product_info['products_spec']) .'
';}?>
' . stripslashes($product_info['products_musthave']) .'
';}?>
' . stripslashes($product_info['products_extraimage']) .'';}?>
' . stripslashes($product_info['products_manual']) .'';}?>
' . stripslashes($product_info['products_extra1']) .'';}?>
' . stripslashes($product_info['products_moreinfo']) .'';}?>
'; include(DIR_WS_INCLUDES . 'reviews.php'); echo '';}?>
= MIN_DISPLAY_ALSO_PURCHASED) {
?>
'. SMARTPHONE_INFOS .'' . SMARTPHONE_INFOS_2 .'
';
}
$advantages = file_get_contents(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_ADVANTAGE);
if (SHOW_PRODUCT_ADVANTAGE == 'true') {
echo ''. YOUR_BENEFITS .' ';
}
?>
'. SMARTPHONE_INFOS .'' . SMARTPHONE_INFOS_2 .'
';
if (SHOW_PRODUCT_ADVANTAGE == 'true') {
echo ''. YOUR_BENEFITS .' ';
}
}
else
if (SHOW_PRODUCT_QR == 'false')
{
?>
Alle Smartphone Infos:Jetzt einfach scannen und los. Alle Smartphone Infos auf einen Blick:
';
if (SHOW_PRODUCT_ADVANTAGE == 'true') {
?>
'. YOUR_BENEFITS .'';
}
}
}
?>
= MIN_DISPLAY_ALSO_PURCHASED) {
?>
click
' . ART_NUMBER . ' ' . $product_info['products_model'] . '
';
}
?>
' . tep_image(DIR_WS_IMAGES . $display_image, $product_info['products_name'], 80, 80, 'hspace="5" vspace="5"') . '' . $products_name .'
' . $cart_model .'
';?>
click