Jump to content
xt:Commerce Community Forum
Sign in to follow this  
Imperial_Fashion

Hilfe Bestellbutton geht nicht DRINGEND!!!

Recommended Posts

Hallo zusammen

Bis vor kurzem ging mein Bestellbutton immer.

Wenn ich jetzt auf dem Button klicke, springt es auf der product_info Seite zurück.

Product Info php

<?php

/* -----------------------------------------------------------------------------------------
$Id: product_info.php 1320 2005-10-25 14:21:11Z matthias $

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(product_info.php,v 1.94 2003/05/04); www.oscommerce.com
(c) 2003 nextcommerce (product_info.php,v 1.46 2003/08/25); www.nextcommerce.org

Released under the GNU General Public License
-----------------------------------------------------------------------------------------
Third Party contribution:
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
New Attribute Manager v4b Autor: Mike G | mp3man@internetwork.net | http://downloads.ephing.com
Cross-Sell (X-Sell) Admin 1 Autor: Joshua Dechant (dreamscape)
Released under the GNU General Public License
---------------------------------------------------------------------------------------*/

include ('includes/application_top.php');
// create smarty elements
$smarty = new Smarty;

// include boxes

if ($_GET['products_id']) {
$cat = xtc_db_query("SELECT categories_id FROM ".TABLE_PRODUCTS_TO_CATEGORIES." WHERE products_id='".(int) $_GET['products_id']."'");
$catData = xtc_db_fetch_array($cat);
require_once (DIR_FS_INC.'xtc_get_path.inc.php');
if ($catData['categories_id'])
$cPath = xtc_input_validation(xtc_get_path($catData['categories_id']), 'cPath', '');

}

require (DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/source/boxes.php');

// include needed functions
require_once (DIR_FS_INC.'xtc_get_download.inc.php');
require_once (DIR_FS_INC.'xtc_delete_file.inc.php');
require_once (DIR_FS_INC.'xtc_get_all_get_params.inc.php');
require_once (DIR_FS_INC.'xtc_date_long.inc.php');
require_once (DIR_FS_INC.'xtc_draw_hidden_field.inc.php');
require_once (DIR_FS_INC.'xtc_image_button.inc.php');
require_once (DIR_FS_INC.'xtc_draw_form.inc.php');
require_once (DIR_FS_INC.'xtc_draw_input_field.inc.php');
require_once (DIR_FS_INC.'xtc_image_submit.inc.php');

if ($_GET['action'] == 'get_download') {
xtc_get_download($_GET['cID']);
}

include (DIR_WS_MODULES.'product_info.php');

require (DIR_WS_INCLUDES.'header.php');
$smarty->assign('language', $_SESSION['language']);
$smarty->caching = 0;
if (!defined(RM))
$smarty->load_filter('output', 'note');
$smarty->display(CURRENT_TEMPLATE.'/index.html');
include ('includes/application_bottom.php');
?>
[/PHP]

product_info html

[PHP]{config_load file="$language/lang_$language.conf" section="product_info"}
{$PRODUCT_NAVIGATOR}
{$FORM_ACTION}

<table width="100%" border"1">
<tr>
<td align="left" class="mainheader">{$PRODUCTS_NAME}</td>
<tr>
<td><table width="100%" align="center">
<tr>
<td align="center"> </td>
<tr>
<td align="center">{if $PRODUCTS_IMAGE!=''}<a href="{$PRODUCTS_POPUP_LINK}"><img src="{$PRODUCTS_IMAGE}" alt="{$PRODUCTS_NAME}" /><font size="1px"><br>{#zoom#}</br></font></a>{/if}
<!-- more images -->
{if $PRODUCTS_IMAGE_1 != ''}<a href="{$PRODUCTS_POPUP_LINK_1}"><img src="{$PRODUCTS_IMAGE_1}" alt="{$PRODUCTS_NAME}" /><font size="1px"><br>{#zoom#}</br></font></a>{/if}
{if $PRODUCTS_IMAGE_2 != ''}<a href="{$PRODUCTS_POPUP_LINK_2}"><img src="{$PRODUCTS_IMAGE_2}" alt="{$PRODUCTS_NAME}" /><font size="1px"><br>{#zoom#}</br></font></a>{/if}
{if $PRODUCTS_IMAGE_3 != ''}<a href="{$PRODUCTS_POPUP_LINK_3}"><img src="{$PRODUCTS_IMAGE_3}" alt="{$PRODUCTS_NAME}" /><font size="1px"><br>{#zoom#}</br></font></a>{/if}
<!-- more images eof -->
{if $PRODUCTS_IMAGE_LINK!=''}<a href="{$PRODUCTS_IMAGE_LINK}" onclick="window.open(this.href); return false;">{$PRODUCTS_TEXT_ZOOM}</a>{/if}
{if $PRODUCTS_FSK18=='true'}<img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}
<tr>
<td align="center"> </td>
</tr>
</table>

<tr>
<td><table width="800px" align="center">
<tr>
<td align="right"><font size="3px" color="red">{$PRODUCTS_PRICE}</font>
<br>
{$PRODUCTS_TAX_INFO}
<br>
{if $PRODUCTS_SHIPPING_LINK}{$PRODUCTS_SHIPPING_LINK}{/if}
</td>
<tr>
<td align="left">{if $PRODUCTS_DESCRIPTION !=''}{$PRODUCTS_DESCRIPTION}</td>
<tr>
<td align="left">{#print#}{$PRODUCTS_PRINT}
<br>
{if $PRODUCTS_MODEL!=''}{#model#} {$PRODUCTS_MODEL}{/if}{$PRODUCTS_DISCOUNT}
<br>
{if $SHIPPING_NAME}{#text_shippingtime#}{if $SHIPPING_IMAGE}<img src="{$SHIPPING_IMAGE}" alt="{$SHIPPING_NAME}" />{/if}{$SHIPPING_NAME}
<br>
{if $PRODUCTS_QUANTITY >= '5'}{#lagervoll#}<img src="images/icons/ampel_gruen.png" alt="voll" title="voll" />{/if}
{if $PRODUCTS_QUANTITY <= '4' and $PRODUCTS_QUANTITY >= '1'}{#lagerknapp#}<img src="images/icons/ampel_gelb.png" alt="knapp" title="knapp" />{/if}
{if $PRODUCTS_QUANTITY <= '0'}{#lagerleer#}<img src="images/icons/ampel_rot.png" alt="ausverkauft" title="ausverkauft" />{/if}
{/if}
{/if}
<br>
{if $PRODUCTS_VPE}{$PRODUCTS_VPE}{/if}</td>
<tr>
<td><table width="100%" align="center">
<tr>
<td align="left">{if $MODULE_graduated_price !=''} {$MODULE_graduated_price}{/if}</td>
<tr>
<td align="left">{if $MODULE_product_options !=''}{$MODULE_product_options}{/if}
<tr>
{if $XTB_REDIRECT_USER_TO=='product'}<div style='width:400px;padding:10px;color:white;background-color:green;'>{#ebay_won#}</div>{/if}
<tr>
<td class="mainright">{$ADD_QTY}{$ADD_CART_BUTTON}</td>
<tr>
<td align="left">{if $MODULE_cross_selling != ''}{$MODULE_cross_selling}{/if}
<tr>
<td align="left">{if $PRODUCTS_DATE_AVIABLE != ''}{$PRODUCTS_DATE_AVIABLE}{/if}</td>
<tr>
<td align="left">{if $MODULE_products_reviews != ''}{$MODULE_products_reviews}</td>{/if}
<tr>
<td align="left">{if $MODULE_products_media != ''}{$MODULE_products_media}</td>{/if}
<td align="left">{if $MODULE_reverse_cross_selling != ''}{$MODULE_reverse_cross_selling}</td>{/if}
<td align="left">{if $MODULE_also_purchased != ''}{$MODULE_also_purchased}</td>{/if}
{$FORM_END}
</tr>
</table>

</tr>
</table>

</tr>
</table>[/PHP]

Ich kann den Fehler nicht finden, ich glaube es liegt wo anderst.

Kann mir bitte jemand dringenst Helfen?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...