Zurück   xt:Commerce Webshop Shop Support > xt:Commerce Shopsoftware Community Area > Shopbereich

Antwort
 
LinkBack Themen-Optionen Ansicht
  #1 (permalink)  
Alt 16.01.2007, 12:25
xt:C Sponsor
 
Registriert seit: 08.01.2007
Beiträge: 145
Standard Warenkorb erscheint nicht mehr rechts mit einzelnen Artikeln

Hi,

bei mir Sport Kübler Sport erscheint der Warenkorb nicht mehr mit den einzelnen Artikeln sondern nur noch in der Form:

Es sind 2 Artikel im Korb.

Ich hätte wieder gerne die ursprüngliche Variante dass man wenn man die Startseite oder andere Seiten öffnet, dann alle Artikel rechts im Warenkorb sieht in der Form.

Warenkorb
1 kleines FUssballtor
1 TT - Tisch
----------------------
inkl. Umst. 19%: 4534 EUR
Summe 3.000 EUR
exkl. Versandkosten



Wie bekomme ich das wieder rein?

Merci
Andi.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 16.01.2007, 13:24
Erfahrener Benutzer
 
Registriert seit: 13.10.2005
Beiträge: 185
Standard

Kommt darauf an, was du geändert hast. Musst ja irgendwas an der shopping_cart Datei geändert haben....

Im Zweifelfall wieder die originale Datei aid dem xtc Paket hochladen...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 16.01.2007, 13:53
xt:C Sponsor
 
Registriert seit: 08.01.2007
Beiträge: 145
Standard danke aber

wo sitzt die genau.

Mein Prob ist ausserdem dass ich auch noch html files habe.


Danke
Andi.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 16.01.2007, 15:04
Erfahrener Benutzer
 
Registriert seit: 13.10.2005
Beiträge: 185
Standard

Die Warenkorb Dateien findest du im ordner "boxes" und "source-boxes" im Verzeichnis von deinem Template als box_cart.html und shopping_cart.php

Die 2 Dateien sind für diese Box und die darin enthaltene Anzeige zuständig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 16.01.2007, 15:43
xt:C Sponsor
 
Registriert seit: 08.01.2007
Beiträge: 145
Standard ok vielen Dank aber

könntest du die zwei Dateien kurz posten hier.

In meiner ursprünglichen Installation gibt es diese Dateien nur in bearbeiteter Form.

Danke
Andi.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 16.01.2007, 18:00
Erfahrener Benutzer
 
Registriert seit: 13.10.2005
Beiträge: 185
Standard

templates/xtc4/boxes/box_cart.html
Code:
{config_load file="$language/lang_$language.conf" section="boxes"}
{if $deny_cart neq 'true'}
{if $empty=='false'}
<table width="100%" border="0" cellpadding="2" cellspacing="0">
  <tr>
    <td class="infoBoxHeading_right">
    <table width="100%"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td class="infoBoxHeading_right">{#heading_cart#}</td>
          <td align="right"><a href="{$LINK_CART}"><img src="{$tpl_path}img/icon_more_light.gif" alt="" /></a></td>
        </tr>
    </table> 
    </td>
  </tr>
  <tr>
    <td class="infoBox_right" align="left">
    <table width="95%"  border="0" cellpadding="2" cellspacing="0">
        <tr>
          <td class="boxText">
          <table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
            <tr>
              <td style="border-bottom: 1px solid; border-color: #cccccc;" align="left" class="boxText">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                {foreach name=aussen item=products_data from=$products}
                  <tr>
                    <td class="main">{$products_data.QTY}&nbsp;x&nbsp;</td>
                    <td class="main"><a href="{$products_data.LINK}">{$products_data.NAME|truncate:15:"...":true}</a></td>
                  </tr>
                {/foreach}
                </table>
              </td>
            </tr>
            {if $DISCOUNT}
            <tr>
              <td align="right" class="productDiscountPrice">{#text_discount#}&nbsp;{$DISCOUNT}</td>
            </tr>{/if}
            <tr>
              <td align="right">{$UST}<strong>{#text_total#}</strong>{$TOTAL}{if $SHIPPING_INFO}<br />{$SHIPPING_INFO}{/if}</td>
            </tr>
          </table>
         </td>
        </tr>
    </table>
    </td>
  </tr>
</table>
{else} <!-- cart has no content --> 
<table width="100%" border="0" cellpadding="2" cellspacing="0">
  <tr>
    <td class="infoBoxHeading_right">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td class="infoBoxHeading_right">{#heading_cart#}</td>
          <td align="right"><a href="{$LINK_CART}"><img src="{$tpl_path}img/icon_more_light.gif" alt="" /></a></td>
        </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td class="infoBox_right" align="left">
    <table width="95%"  border="0" cellpadding="2" cellspacing="0">
        <tr>
          <td class="boxText">{#text_empty_cart#}</td>
        </tr>
    </table>
    </td>
  </tr>
</table>
{/if}

{if $ACTIVATE_GIFT=='true'}

{if $GV_AMOUNT neq ''}
<table class="infoBoxContents" width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="infoBox_right"><a href="{$LINK_CART}"><img src="{$tpl_path}img/img_gift.gif" alt="" /></a></td>
    <td valign="middle" class="infoBox_right">
    <table width="95%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="{$tpl_path}img/pixel_trans.gif" alt="" width="100%" height="1" /></td>
      </tr>
      <tr>
        <td align="center" class="smalltext">{#voucher_balance#}</td>
      </tr>
      <tr>
        <td align="center" class="gvBox" valign="bottom">{$GV_AMOUNT}</td>
      </tr>
    </table>
    </td>
  </tr>
</table>

<table cellpadding="0" width="100%" cellspacing="0" border="0">
  <tr>
    <td class="infoBox_right"><img src="{$tpl_path}img/pixel_trans.gif" alt="" width="100%" height="1" /></td>
  </tr>
</table>
{/if}
{/if}
{/if}
templates/xtc4/source/boxes/shopping_cart.php

PHP-Code:
<?php

/* -----------------------------------------------------------------------------------------
   $Id: shopping_cart.php 1281 2005-10-03 09:30:17Z mz $   

   XT-Commerce - community made shopping
   http://www.xt-commerce.com

   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.18 2003/02/10); www.oscommerce.com
   (c) 2003     nextcommerce (shopping_cart.php,v 1.15 2003/08/17); www.nextcommerce.org 

   Released under the GNU General Public License 
   ---------------------------------------------------------------------------------------*/
$box_smarty = new smarty;
$box_smarty->assign('tpl_path''templates/'.CURRENT_TEMPLATE.'/');
$box_content '';
$box_price_string '';
// include needed files
require_once (DIR_FS_INC.'xtc_recalculate_price.inc.php');

if (
strstr($PHP_SELFFILENAME_CHECKOUT_PAYMENT) or strstr($PHP_SELFFILENAME_CHECKOUT_CONFIRMATION) or strstr($PHP_SELFFILENAME_CHECKOUT_SHIPPING))
    
$box_smarty->assign('deny_cart''true');

if (
$_SESSION['cart']->count_contents() > 0) {
    
$products $_SESSION['cart']->get_products();
    
$products_in_cart = array ();
    
$qty 0;
    for (
$i 0$n sizeof($products); $i $n$i ++) {
        
$qty += $products[$i]['quantity'];
        
$products_in_cart[] = array ('QTY' => $products[$i]['quantity'], 
                                     
'LINK' => xtc_href_link(FILENAME_PRODUCT_INFOxtc_product_link($products[$i]['id'],$products[$i]['name'])), 
                                     
'NAME' => $products[$i]['name']);

    }
    
$box_smarty->assign('PRODUCTS'$qty);
    
$box_smarty->assign('empty''false');
} else {
    
// cart empty
    
$box_smarty->assign('empty''true');
}

if (
$_SESSION['cart']->count_contents() > 0) {
    
    
$total =$_SESSION['cart']->show_total();
if (
$_SESSION['customers_status']['customers_status_ot_discount_flag'] == '1' && $_SESSION['customers_status']['customers_status_ot_discount'] != '0.00') {
    if (
$_SESSION['customers_status']['customers_status_show_price_tax'] == && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
        
$price $total-$_SESSION['cart']->show_tax(false);
    } else {
        
$price $total;
    }
    
$discount $xtPrice->xtcGetDC($price$_SESSION['customers_status']['customers_status_ot_discount']);
    
$box_smarty->assign('DISCOUNT'$xtPrice->xtcFormat(($discount * (-1)), $price_special 1$calculate_currencies false));
    
}


if (
$_SESSION['customers_status']['customers_status_show_price'] == '1') {
    if (
$_SESSION['customers_status']['customers_status_show_price_tax'] == && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 0$total-=$discount;
    if (
$_SESSION['customers_status']['customers_status_show_price_tax'] == && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1$total-=$discount;
    if (
$_SESSION['customers_status']['customers_status_show_price_tax'] == 1$total-=$discount;
    
$box_smarty->assign('TOTAL'$xtPrice->xtcFormat($totaltrue));

    

    
$box_smarty->assign('UST'$_SESSION['cart']->show_tax());
    
    if (
SHOW_SHIPPING=='true') { 
            
$box_smarty->assign('SHIPPING_INFO',' '.SHIPPING_EXCL.'<a href="javascript:newWin=void(window.open(\''.xtc_href_link(FILENAME_POPUP_CONTENT'coID='.SHIPPING_INFOS).'\', \'popup\', \'toolbar=0, width=640, height=600\'))"> '.SHIPPING_COSTS.'</a>');    
    }
}
if (
ACTIVATE_GIFT_SYSTEM == 'true') {
    
$box_smarty->assign('ACTIVATE_GIFT''true');
}

// GV Code Start
if (isset ($_SESSION['customer_id'])) {
    
$gv_query xtc_db_query("select amount from ".TABLE_COUPON_GV_CUSTOMER." where customer_id = '".$_SESSION['customer_id']."'");
    
$gv_result xtc_db_fetch_array($gv_query);
    if (
$gv_result['amount'] > 0) {
        
$box_smarty->assign('GV_AMOUNT'$xtPrice->xtcFormat($gv_result['amount'], true0true));
        
$box_smarty->assign('GV_SEND_TO_FRIEND_LINK''<a href="'.xtc_href_link(FILENAME_GV_SEND).'">');
    }
}
if (isset (
$_SESSION['gv_id'])) {
    
$gv_query xtc_db_query("select coupon_amount from ".TABLE_COUPONS." where coupon_id = '".$_SESSION['gv_id']."'");
    
$coupon xtc_db_fetch_array($gv_query);
    
$box_smarty->assign('COUPON_AMOUNT2'$xtPrice->xtcFormat($coupon['coupon_amount'], true0true));
}
if (isset (
$_SESSION['cc_id'])) {
    
$box_smarty->assign('COUPON_HELP_LINK''<a href="javascript:popupWindow(\''.xtc_href_link(FILENAME_POPUP_COUPON_HELP'cID='.$_SESSION['cc_id']).'\')">');
}
// GV Code End
$box_smarty->assign('LINK_CART'xtc_href_link(FILENAME_SHOPPING_CART'''SSL'));
$box_smarty->assign('products'$products_in_cart);

$box_smarty->caching 0;
$box_smarty->assign('language'$_SESSION['language']);
$box_shopping_cart $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_cart.html');
$smarty->assign('box_CART'$box_shopping_cart);
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 16.01.2007, 21:30
xt:C Sponsor
 
Registriert seit: 08.01.2007
Beiträge: 145
Standard absolut spitze..........

es geht wieder...


ihr seid echt der Hammer!!!

Danke.

Andi.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #8 (permalink)  
Alt 16.01.2007, 21:37
xt:C Sponsor
 
Registriert seit: 08.01.2007
Beiträge: 145
Standard tja, zu früh gefreut

wenn ich Artikel in den Warenkorb lege und auf "zur Kasse" klicke erhalte ich



Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web5/html/shop/templates/lux/source/boxes/shopping_cart.php:104) in /srv/www/htdocs/web5/html/shop/inc/xtc_redirect.inc.php on line 29



hmmmmm

und nü?

Danke
Andi.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #9 (permalink)  
Alt 16.01.2007, 21:43
Erfahrener Benutzer
 
Registriert seit: 13.10.2005
Beiträge: 185
Standard

Der Fehler ist mir neu.... Kann ich leider wenig zu sagen.... ist die Frage, welche Shopversion du einsetzt. Die Dateien oben sind von der 3.04 SP2

Auf jeden Fall ist in der Datei "shop/inc/xtc_redirect.inc.php" in Zeile 29 nen Problem.... Aber ich kann da so nix machen. Sorry.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #10 (permalink)  
Alt 16.01.2007, 22:24
xt:C Sponsor
 
Registriert seit: 08.01.2007
Beiträge: 145
Cool genau und das ist die ominöse Datei

wenn da schon ereg... drinsteht........gg


header('Location: ' . eregi_replace("[\r\n]+(.*)$", "", $url));


Andi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
artikeln, einzelnen, erscheint, rechts, warenkorb

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Kombinieren Von Einzelnen Artikeln Zu Set Matrixx Installation und Konfiguration 5 08.08.2007 15:17


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:56 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand