Marktplatz - Eine große Auswahl an neuen und hilfreichen Modulen sowie modernen Templates für die modified eCommerce Shopsoftware
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Probleme mit der box_cart.html

    rubber-ducks

    • Frisch an Board
    • Beiträge: 51
    Probleme mit der box_cart.html
    am: 15. Mai 2012, 09:55:17
    Hallo,  ich habe ein Problem mit meinem Shop. Ich habe vor längere Zeit auf die Kleinunternehmen Regelung umgestellt. Jetzt möchte ich dieses rückgängig machen. Leider hatte ich mir die Dateien damals nicht gesichert. Immer wenn ich die Datei box_cart.html wieder umändern will, und diese dann hoch Lade. Ist nur noch eine weiße Seite zu sehen.

    Linkback: https://www.modified-shop.org/forum/index.php?topic=20047.0

    rubber-ducks

    • Frisch an Board
    • Beiträge: 51
    Re: Probleme mit der box_cart.html
    Antwort #1 am: 18. Mai 2012, 15:59:55
    Hallo

    Hat hier keine Idee was es vieleicht sein könnte..... Oder sollte ich den Schoh lieber neu aufsetzen.....

      Bis..

       Carsten

    karl

    • Schreiberling
    • Beiträge: 439
    Re: Probleme mit der box_cart.html
    Antwort #2 am: 18. Mai 2012, 18:55:39
    Was meinst Du mit weißer Seite? Gesamter Shop oder nur der kleine Warenkorb?

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: Probleme mit der box_cart.html
    Antwort #3 am: 18. Mai 2012, 23:32:11
    Ich gehe mal davon aus, dass die ganze Seite weiß ist.
    Lad dir mal die box_cart.html aus der Version, die du installiert hast, erneut hoch.

    Schöne Grüße,
    Jan

    rubber-ducks

    • Frisch an Board
    • Beiträge: 51
    Re: Probleme mit der box_cart.html
    Antwort #4 am: 19. Mai 2012, 06:58:16
    Hallo

    Die gesamte Startseite wird dann nur noch in weiß angezeigt.
    Die Original Datei aus der Installation habe ich auch schon versucht, jedoch hat das leider nichts gebracht.

    karl

    • Schreiberling
    • Beiträge: 439
    Re: Probleme mit der box_cart.html
    Antwort #5 am: 19. Mai 2012, 13:31:47
    Häng doch mal die box_cart.html und die Template/source/boxes/shopping_cart.php und entsprechende index.html an den nächsten Post und wir gucken mal ob wir was finden.

    noRiddle (revilonetz)

    • Experte
    • Beiträge: 14.005
    • Geschlecht:
    Re: Probleme mit der box_cart.html
    Antwort #6 am: 20. Mai 2012, 00:21:08
    Am besten du schaust in den Thread wo die Anleitung für die Umstellung gepostet wurde und machst es schrittweise rückgängig.

    Gruß,
    noRiddle

    rubber-ducks

    • Frisch an Board
    • Beiträge: 51
    Re: Probleme mit der box_cart.html
    Antwort #7 am: 20. Mai 2012, 09:16:17
    Am besten du schaust in den Thread wo die Anleitung für die Umstellung gepostet wurde und machst es schrittweise rückgängig.

    Gruß,
    noRiddle

    Hallo, Die Idee ist mir auch schon gekommen. Nur klappt es nicht.......

      Bis...

        Carsten

    rubber-ducks

    • Frisch an Board
    • Beiträge: 51
    Re: Probleme mit der box_cart.html
    Antwort #8 am: 20. Mai 2012, 09:22:32
    Häng doch mal die box_cart.html und die Template/source/boxes/shopping_cart.php und entsprechende index.html an den nächsten Post und wir gucken mal ob wir was finden.

    Hallo, vieleicht eine dumme frage. Aber wie kann ich die Dateien mit anhängen. Immer wenn ich es über anhänge versuche bekomme ich eine Fehlermeldung. Das der Datei Typ nicht erlaubt ist.

      Bis..

       Carsten

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    AW: Probleme mit der box_cart.html
    Antwort #9 am: 20. Mai 2012, 09:29:11
    Kopiere den Inhalt aus der Datei und füge ihn hier ein oder du machst ein zip daraus und kannst es dann hier als Anhang hochladen.

    Wenn du den Inhalt einfügst, dann benutze bitte den Code Block.

    rubber-ducks

    • Frisch an Board
    • Beiträge: 51
    Re: AW: Probleme mit der box_cart.html
    Antwort #10 am: 20. Mai 2012, 09:36:55
    Kopiere den Inhalt aus der Datei und füge ihn hier ein oder du machst ein zip daraus und kannst es dann hier als Anhang hochladen.

    Wenn du den Inhalt einfügst, dann benutze bitte den Code Block.

    Hallo, habe eine Zip datei gemacht. Bin mir nicht sicher wie das mit dem Code Block läuft....

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    AW: Probleme mit der box_cart.html
    Antwort #11 am: 20. Mai 2012, 11:05:52
    Wenn du direkt antwortest musst du meinen vorherigen Beitrag nicht zitierten.

    karl

    • Schreiberling
    • Beiträge: 439
    Re: Probleme mit der box_cart.html
    Antwort #12 am: 20. Mai 2012, 15:22:10
    Probier mal die shopping_cart.php
    die originale 1.05 SP1a

    in Deiner fehlen einige Zeilen wie das includen vom header etc.
    Was hast Du denn da veranstaltet?? :-x

    Code: PHP  [Auswählen]
    <?php

    /* -----------------------------------------------------------------------------------------
       $Id: shopping_cart.php 1299 2005-10-09 18:54:29Z gwinger $  

       XT-Commerce - community made shopping
       http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! ))

       Copyright (c) 2003 XT-Commerce
       -----------------------------------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       (c) 2002-2003 osCommerce(shopping_cart.php,v 1.71 2003/02/14); www.oscommerce.com
       (c) 2003      nextcommerce (shopping_cart.php,v 1.24 2003/08/17); www.nextcommerce.org

       Released under the GNU General Public License
       --------------------------------------------------------------
       Third Party contributions:
       Customers Status v3.x  (c) 2002-2003 Copyright Elari elari@free.fr | www.unlockgsm.com/dload-osc/ | CVS : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/elari/?sortby=date#dirlist

       Released under the GNU General Public License
       ---------------------------------------------------------------------------------------*/

    $cart_empty = false;
    require ("includes/application_top.php");
    // create smarty elements
    $smarty = new Smarty;
    require (DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/source/boxes.php');
    // include needed functions
    require_once (DIR_FS_INC.'xtc_array_to_string.inc.php');
    require_once (DIR_FS_INC.'xtc_image_submit.inc.php');
    require_once (DIR_FS_INC.'xtc_recalculate_price.inc.php');

    $breadcrumb->add(NAVBAR_TITLE_SHOPPING_CART, xtc_href_link(FILENAME_SHOPPING_CART));

    require (DIR_WS_INCLUDES.'header.php');

    include (DIR_WS_MODULES.'gift_cart.php');

    //BOF - DokuMan - 2010-08-30 - check for cartID also in shopping_cart
    // avoid hack attempts during the checkout procedure by checking the internal cartID
    if ((isset ($_SESSION['cart']->cartID) && isset ($_SESSION['cartID'])) || (!isset($_SESSION['cartID']) && isset($_SESSION['shipping']))) {
        if ($_SESSION['cart']->cartID !== $_SESSION['cartID']) {
            unset($_SESSION['shipping']);
            unset($_SESSION['payment']);
        }
    }
    //EOF - DokuMan - 2010-08-30 - check for cartID also in shopping_cart
    if ($_SESSION['cart']->count_contents() > 0) {
           
            $smarty->assign('FORM_ACTION', xtc_draw_form('cart_quantity', xtc_href_link(FILENAME_SHOPPING_CART, 'action=update_product', 'NONSSL'))); // web28 - 2010-09-20 - change SSL -> NONSSL
            $smarty->assign('FORM_END', '</form>');
            $hidden_options = '';
            $_SESSION['any_out_of_stock'] = 0;
            $products = $_SESSION['cart']->get_products();
            for ($i = 0, $n = sizeof($products); $i < $n; $i ++) {
                    // Push all attributes information in an array
                    if (isset ($products[$i]['attributes'])) {
                            while (list ($option, $value) = each($products[$i]['attributes'])) {
                                    $hidden_options .= xtc_draw_hidden_field('id['.$products[$i]['id'].']['.$option.']', $value);
                                    $attributes = xtc_db_query("select popt.products_options_name,
                                               poval.products_options_values_name,
                                               pa.options_values_price,
                                               pa.price_prefix,
                                               pa.attributes_stock,
                                               pa.products_attributes_id,
                                               pa.attributes_model
                                        from "
    .TABLE_PRODUCTS_OPTIONS." popt,
                                             "
    .TABLE_PRODUCTS_OPTIONS_VALUES." poval,
                                             "
    .TABLE_PRODUCTS_ATTRIBUTES." pa
                                                                where pa.products_id = '"
    .$products[$i]['id']."'
                                                                and pa.options_id = '"
    .$option."'
                                                                and pa.options_id = popt.products_options_id
                                                                and pa.options_values_id = '"
    .$value."'
                                                                and pa.options_values_id = poval.products_options_values_id
                                                                and popt.language_id = '"
    .(int) $_SESSION['languages_id']."'
                                                                and poval.language_id = '"
    .(int) $_SESSION['languages_id']."'");
                                    $attributes_values = xtc_db_fetch_array($attributes);
                                    $products[$i][$option]['products_options_name'] = $attributes_values['products_options_name'];
                                    $products[$i][$option]['options_values_id'] = $value;
                                    $products[$i][$option]['products_options_values_name'] = $attributes_values['products_options_values_name'];
                                    $products[$i][$option]['options_values_price'] = $attributes_values['options_values_price'];
                                    $products[$i][$option]['price_prefix'] = $attributes_values['price_prefix'];
                                    $products[$i][$option]['weight_prefix'] = $attributes_values['weight_prefix'];
                                    $products[$i][$option]['options_values_weight'] = $attributes_values['options_values_weight'];
                                    $products[$i][$option]['attributes_stock'] = $attributes_values['attributes_stock'];
                                    $products[$i][$option]['products_attributes_id'] = $attributes_values['products_attributes_id'];
                                    //BOF - web28 - 2011-04-17 - BUGFIX attributes_model
            //$products[$i][$option]['products_attributes_model'] = $attributes_values['products_attributes_model'];
            $products[$i][$option]['attributes_model'] = $attributes_values['attributes_model'];
            //EOF  - web28 - 2011-04-17 - BUGFIX attributes_model
                            }
                    }
            }
            $smarty->assign('HIDDEN_OPTIONS', $hidden_options);
            require (DIR_WS_MODULES.'order_details_cart.php');
    $_SESSION['allow_checkout'] = 'true';
            if (STOCK_CHECK == 'true') {
                    if ($_SESSION['any_out_of_stock'] == 1) {
                            if (STOCK_ALLOW_CHECKOUT == 'true') {
                                    // write permission in session
                                    $_SESSION['allow_checkout'] = 'true';
                                    $smarty->assign('info_message', OUT_OF_STOCK_CAN_CHECKOUT);
                            } else {
                                    $_SESSION['allow_checkout'] = 'false';
                                    $smarty->assign('info_message', OUT_OF_STOCK_CANT_CHECKOUT);
                            }
                    } else {
                            $_SESSION['allow_checkout'] = 'true';
                    }
            }

    // minimum/maximum order value
    $checkout = true;
    if ($_SESSION['cart']->show_total() > 0 ) {
     //BOF - Dokuman - 2010-06-07 - fix minimum order value with 2 currencies
     /*
     if ($_SESSION['cart']->show_total() < $_SESSION['customers_status']['customers_status_min_order'] ) {
      $_SESSION['allow_checkout'] = 'false';
      $more_to_buy = $_SESSION['customers_status']['customers_status_min_order'] - $_SESSION['cart']->show_total();
      $order_amount=$xtPrice->xtcFormat($more_to_buy, true);
      $min_order=$xtPrice->xtcFormat($_SESSION['customers_status']['customers_status_min_order'], true);
      $smarty->assign('info_message_1', MINIMUM_ORDER_VALUE_NOT_REACHED_1);
      $smarty->assign('info_message_2', MINIMUM_ORDER_VALUE_NOT_REACHED_2);
      $smarty->assign('order_amount', $order_amount);
      $smarty->assign('min_order', $min_order);
     }
     */

     if ( $xtPrice->xtcRemoveCurr($_SESSION['cart']->show_total()) < $_SESSION['customers_status']['customers_status_min_order'] ) {
      $_SESSION['allow_checkout'] = 'false';
      $more_to_buy = $_SESSION['customers_status']['customers_status_min_order'] - $xtPrice->xtcRemoveCurr($_SESSION['cart']->show_total());
      $more_to_buy *= $xtPrice->currencies[$xtPrice->actualCurr]['value'];
      $order_amount=$xtPrice->xtcFormat($more_to_buy, true);
      $min_order = $_SESSION['customers_status']['customers_status_min_order'];
      $min_order *= $xtPrice->currencies[$xtPrice->actualCurr]['value'];
      $min_order=$xtPrice->xtcFormat($min_order, true);
      $smarty->assign('info_message_1', MINIMUM_ORDER_VALUE_NOT_REACHED_1);
      $smarty->assign('info_message_2', MINIMUM_ORDER_VALUE_NOT_REACHED_2);
      $smarty->assign('order_amount', $order_amount);
      $smarty->assign('min_order', $min_order);
     }
     //EOF - Dokuman - 2010-06-07 - fix minimum order value with 2 currencies
     
     if  ($_SESSION['customers_status']['customers_status_max_order'] != 0) {
      if ($_SESSION['cart']->show_total() > $_SESSION['customers_status']['customers_status_max_order'] ) {
      $_SESSION['allow_checkout'] = 'false';
      $less_to_buy = $_SESSION['cart']->show_total() - $_SESSION['customers_status']['customers_status_max_order'];
      $max_order=$xtPrice->xtcFormat($_SESSION['customers_status']['customers_status_max_order'], true);
      $order_amount=$xtPrice->xtcFormat($less_to_buy, true);
      $smarty->assign('info_message_1', MAXIMUM_ORDER_VALUE_REACHED_1);
      $smarty->assign('info_message_2', MAXIMUM_ORDER_VALUE_REACHED_2);
      $smarty->assign('order_amount', $order_amount);
      $smarty->assign('min_order', $max_order);
      }
     }
    }

            if ($_GET['info_message'])
                    $smarty->assign('info_message', str_replace('+', ' ', htmlspecialchars($_GET['info_message'])));
            $smarty->assign('BUTTON_RELOAD', xtc_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART));
            $smarty->assign('BUTTON_CHECKOUT', '<a href="'.xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL').'">'.xtc_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT).'</a>');
    } else {
            // empty cart
            $cart_empty = true;
            if ($_GET['info_message'])
                    $smarty->assign('info_message', str_replace('+', ' ', htmlspecialchars($_GET['info_message'])));
            $smarty->assign('cart_empty', $cart_empty);
            $smarty->assign('BUTTON_CONTINUE', '<a href="'.xtc_href_link(FILENAME_DEFAULT).'">'.xtc_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE).'</a>');
    }
    $smarty->assign('language', $_SESSION['language']);

    $main_content = $smarty->fetch(CURRENT_TEMPLATE.'/module/shopping_cart.html');
    $smarty->assign('main_content', $main_content);

    $smarty->caching = 0;
    if (!defined('RM'))
      $smarty->load_filter('output', 'note');
    $smarty->display(CURRENT_TEMPLATE.'/index.html');

    include ('includes/application_bottom.php');
    ?>

    rubber-ducks

    • Frisch an Board
    • Beiträge: 51
    Re: Probleme mit der box_cart.html
    Antwort #13 am: 20. Mai 2012, 15:51:46
    Probier mal die shopping_cart.php
    die originale 1.05 SP1a

    in Deiner fehlen einige Zeilen wie das includen vom header etc.
    Was hast Du denn da veranstaltet?? :-x

    Code: PHP  [Auswählen]
    <?php

    /* -----------------------------------------------------------------------------------------
       $Id: shopping_cart.php 1299 2005-10-09 18:54:29Z gwinger $  

       XT-Commerce - community made shopping
       http://www.(( Wir dulden keine kommerziellen Werbelinks - Bitte Forenregeln beachten! ))

       Copyright (c) 2003 XT-Commerce
       -----------------------------------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       (c) 2002-2003 osCommerce(shopping_cart.php,v 1.71 2003/02/14); www.oscommerce.com
       (c) 2003      nextcommerce (shopping_cart.php,v 1.24 2003/08/17); www.nextcommerce.org

       Released under the GNU General Public License
       --------------------------------------------------------------
       Third Party contributions:
       Customers Status v3.x  (c) 2002-2003 Copyright Elari elari@free.fr | www.unlockgsm.com/dload-osc/ | CVS : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/elari/?sortby=date#dirlist

       Released under the GNU General Public License
       ---------------------------------------------------------------------------------------*/

    $cart_empty = false;
    require ("includes/application_top.php");
    // create smarty elements
    $smarty = new Smarty;
    require (DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/source/boxes.php');
    // include needed functions
    require_once (DIR_FS_INC.'xtc_array_to_string.inc.php');
    require_once (DIR_FS_INC.'xtc_image_submit.inc.php');
    require_once (DIR_FS_INC.'xtc_recalculate_price.inc.php');

    $breadcrumb->add(NAVBAR_TITLE_SHOPPING_CART, xtc_href_link(FILENAME_SHOPPING_CART));

    require (DIR_WS_INCLUDES.'header.php');

    include (DIR_WS_MODULES.'gift_cart.php');

    //BOF - DokuMan - 2010-08-30 - check for cartID also in shopping_cart
    // avoid hack attempts during the checkout procedure by checking the internal cartID
    if ((isset ($_SESSION['cart']->cartID) && isset ($_SESSION['cartID'])) || (!isset($_SESSION['cartID']) && isset($_SESSION['shipping']))) {
        if ($_SESSION['cart']->cartID !== $_SESSION['cartID']) {
            unset($_SESSION['shipping']);
            unset($_SESSION['payment']);
        }
    }
    //EOF - DokuMan - 2010-08-30 - check for cartID also in shopping_cart
    if ($_SESSION['cart']->count_contents() > 0) {
           
            $smarty->assign('FORM_ACTION', xtc_draw_form('cart_quantity', xtc_href_link(FILENAME_SHOPPING_CART, 'action=update_product', 'NONSSL'))); // web28 - 2010-09-20 - change SSL -> NONSSL
            $smarty->assign('FORM_END', '</form>');
            $hidden_options = '';
            $_SESSION['any_out_of_stock'] = 0;
            $products = $_SESSION['cart']->get_products();
            for ($i = 0, $n = sizeof($products); $i < $n; $i ++) {
                    // Push all attributes information in an array
                    if (isset ($products[$i]['attributes'])) {
                            while (list ($option, $value) = each($products[$i]['attributes'])) {
                                    $hidden_options .= xtc_draw_hidden_field('id['.$products[$i]['id'].']['.$option.']', $value);
                                    $attributes = xtc_db_query("select popt.products_options_name,
                                               poval.products_options_values_name,
                                               pa.options_values_price,
                                               pa.price_prefix,
                                               pa.attributes_stock,
                                               pa.products_attributes_id,
                                               pa.attributes_model
                                        from "
    .TABLE_PRODUCTS_OPTIONS." popt,
                                             "
    .TABLE_PRODUCTS_OPTIONS_VALUES." poval,
                                             "
    .TABLE_PRODUCTS_ATTRIBUTES." pa
                                                                where pa.products_id = '"
    .$products[$i]['id']."'
                                                                and pa.options_id = '"
    .$option."'
                                                                and pa.options_id = popt.products_options_id
                                                                and pa.options_values_id = '"
    .$value."'
                                                                and pa.options_values_id = poval.products_options_values_id
                                                                and popt.language_id = '"
    .(int) $_SESSION['languages_id']."'
                                                                and poval.language_id = '"
    .(int) $_SESSION['languages_id']."'");
                                    $attributes_values = xtc_db_fetch_array($attributes);
                                    $products[$i][$option]['products_options_name'] = $attributes_values['products_options_name'];
                                    $products[$i][$option]['options_values_id'] = $value;
                                    $products[$i][$option]['products_options_values_name'] = $attributes_values['products_options_values_name'];
                                    $products[$i][$option]['options_values_price'] = $attributes_values['options_values_price'];
                                    $products[$i][$option]['price_prefix'] = $attributes_values['price_prefix'];
                                    $products[$i][$option]['weight_prefix'] = $attributes_values['weight_prefix'];
                                    $products[$i][$option]['options_values_weight'] = $attributes_values['options_values_weight'];
                                    $products[$i][$option]['attributes_stock'] = $attributes_values['attributes_stock'];
                                    $products[$i][$option]['products_attributes_id'] = $attributes_values['products_attributes_id'];
                                    //BOF - web28 - 2011-04-17 - BUGFIX attributes_model
            //$products[$i][$option]['products_attributes_model'] = $attributes_values['products_attributes_model'];
            $products[$i][$option]['attributes_model'] = $attributes_values['attributes_model'];
            //EOF  - web28 - 2011-04-17 - BUGFIX attributes_model
                            }
                    }
            }
            $smarty->assign('HIDDEN_OPTIONS', $hidden_options);
            require (DIR_WS_MODULES.'order_details_cart.php');
    $_SESSION['allow_checkout'] = 'true';
            if (STOCK_CHECK == 'true') {
                    if ($_SESSION['any_out_of_stock'] == 1) {
                            if (STOCK_ALLOW_CHECKOUT == 'true') {
                                    // write permission in session
                                    $_SESSION['allow_checkout'] = 'true';
                                    $smarty->assign('info_message', OUT_OF_STOCK_CAN_CHECKOUT);
                            } else {
                                    $_SESSION['allow_checkout'] = 'false';
                                    $smarty->assign('info_message', OUT_OF_STOCK_CANT_CHECKOUT);
                            }
                    } else {
                            $_SESSION['allow_checkout'] = 'true';
                    }
            }

    // minimum/maximum order value
    $checkout = true;
    if ($_SESSION['cart']->show_total() > 0 ) {
     //BOF - Dokuman - 2010-06-07 - fix minimum order value with 2 currencies
     /*
     if ($_SESSION['cart']->show_total() < $_SESSION['customers_status']['customers_status_min_order'] ) {
      $_SESSION['allow_checkout'] = 'false';
      $more_to_buy = $_SESSION['customers_status']['customers_status_min_order'] - $_SESSION['cart']->show_total();
      $order_amount=$xtPrice->xtcFormat($more_to_buy, true);
      $min_order=$xtPrice->xtcFormat($_SESSION['customers_status']['customers_status_min_order'], true);
      $smarty->assign('info_message_1', MINIMUM_ORDER_VALUE_NOT_REACHED_1);
      $smarty->assign('info_message_2', MINIMUM_ORDER_VALUE_NOT_REACHED_2);
      $smarty->assign('order_amount', $order_amount);
      $smarty->assign('min_order', $min_order);
     }
     */

     if ( $xtPrice->xtcRemoveCurr($_SESSION['cart']->show_total()) < $_SESSION['customers_status']['customers_status_min_order'] ) {
      $_SESSION['allow_checkout'] = 'false';
      $more_to_buy = $_SESSION['customers_status']['customers_status_min_order'] - $xtPrice->xtcRemoveCurr($_SESSION['cart']->show_total());
      $more_to_buy *= $xtPrice->currencies[$xtPrice->actualCurr]['value'];
      $order_amount=$xtPrice->xtcFormat($more_to_buy, true);
      $min_order = $_SESSION['customers_status']['customers_status_min_order'];
      $min_order *= $xtPrice->currencies[$xtPrice->actualCurr]['value'];
      $min_order=$xtPrice->xtcFormat($min_order, true);
      $smarty->assign('info_message_1', MINIMUM_ORDER_VALUE_NOT_REACHED_1);
      $smarty->assign('info_message_2', MINIMUM_ORDER_VALUE_NOT_REACHED_2);
      $smarty->assign('order_amount', $order_amount);
      $smarty->assign('min_order', $min_order);
     }
     //EOF - Dokuman - 2010-06-07 - fix minimum order value with 2 currencies
     
     if  ($_SESSION['customers_status']['customers_status_max_order'] != 0) {
      if ($_SESSION['cart']->show_total() > $_SESSION['customers_status']['customers_status_max_order'] ) {
      $_SESSION['allow_checkout'] = 'false';
      $less_to_buy = $_SESSION['cart']->show_total() - $_SESSION['customers_status']['customers_status_max_order'];
      $max_order=$xtPrice->xtcFormat($_SESSION['customers_status']['customers_status_max_order'], true);
      $order_amount=$xtPrice->xtcFormat($less_to_buy, true);
      $smarty->assign('info_message_1', MAXIMUM_ORDER_VALUE_REACHED_1);
      $smarty->assign('info_message_2', MAXIMUM_ORDER_VALUE_REACHED_2);
      $smarty->assign('order_amount', $order_amount);
      $smarty->assign('min_order', $max_order);
      }
     }
    }

            if ($_GET['info_message'])
                    $smarty->assign('info_message', str_replace('+', ' ', htmlspecialchars($_GET['info_message'])));
            $smarty->assign('BUTTON_RELOAD', xtc_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART));
            $smarty->assign('BUTTON_CHECKOUT', '<a href="'.xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL').'">'.xtc_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT).'</a>');
    } else {
            // empty cart
            $cart_empty = true;
            if ($_GET['info_message'])
                    $smarty->assign('info_message', str_replace('+', ' ', htmlspecialchars($_GET['info_message'])));
            $smarty->assign('cart_empty', $cart_empty);
            $smarty->assign('BUTTON_CONTINUE', '<a href="'.xtc_href_link(FILENAME_DEFAULT).'">'.xtc_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE).'</a>');
    }
    $smarty->assign('language', $_SESSION['language']);

    $main_content = $smarty->fetch(CURRENT_TEMPLATE.'/module/shopping_cart.html');
    $smarty->assign('main_content', $main_content);

    $smarty->caching = 0;
    if (!defined('RM'))
      $smarty->load_filter('output', 'note');
    $smarty->display(CURRENT_TEMPLATE.'/index.html');

    include ('includes/application_bottom.php');
    ?>

    ????  Das Kann ich Dir nicht sagen. Ich setze den Schop jetzt eifach neu auf. Keine Lust nehr zu probieren.....

    karl

    • Schreiberling
    • Beiträge: 439
    Re: Probleme mit der box_cart.html
    Antwort #14 am: 20. Mai 2012, 17:02:09
    Ja, das ist manchmal besser.
    Verwende auch die neueste Version 1.05 SP1b sonst kannst Du später wieder Tagelang updaten.

    Und beim Posten nicht immer auf "zitieren" klicken. Auf den Button "antworten" reicht ja i.d.R.
    Managed Server
    7 Antworten
    7733 Aufrufe
    03. September 2009, 17:27:53 von Tomcraft
    2 Antworten
    2082 Aufrufe
    10. Juni 2015, 11:21:08 von noEE
    2 Antworten
    1341 Aufrufe
    16. November 2017, 15:53:38 von Soeren
    0 Antworten
    1868 Aufrufe
    22. Juni 2013, 13:08:12 von Jappi