Jump to content
xt:Commerce Community Forum

Coupon nicht im Shop nutzbar


KolKedo

Recommended Posts

Guten morgen liebe xtCommerce Gemeinde,

vielleicht kann mir jemand von euch weiterhelfen. Ich habe mir für meinen xtCommerce Shop der Version 4.0.15 das Modul Coupon gekauft, im Adminbereich funktioniert auch alles ohne Probleme. Im Shop wird es nicht angezeigt, des weiteren wenn ich es für die Warenkorb-Seite aktiviere verliert der Warenkorb sein Seitendesign und es steht auch nur noch der Inhalt des Warenkorbs auf der Seite ohne Header, Menü und Footer. Aber die Möglichkeit des Coupon eingeben habe ich dort dann auch nicht.

Ich konnte bis lang hier im Forum noch nichts finden was mich weiterbringt, das Handbuch ist diesbezüglich auch nicht wirklich gut beschrieben.

Config Auszüge kann ich gerne noch mehr Nachreichen, wenn ich weiß welche euch hier weiter helfen können.

hier die subpage_confirmation.html


{form type=form name=process action='checkout' method=post conn=SSL}
{form type=hidden name=action value=process}

{if $smarty.const._STORE_TERMSCOND_CHECK eq 'false'}
{content cont_id=3 is_id='false'}
<p><a href="{$_content_3.content_link}" target="_blank">{txt key=TEXT_TERMSANDCOND_CONFIRMATION}</a> | {$_content_3.content_popup_link}</p>
{/if}
{if $smarty.const._STORE_TERMSCOND_CHECK eq 'true'}
{content cont_id=3 is_id='false'}
<p>{form type=checkbox name=conditions_accepted} <strong>{txt key=TEXT_ACCEPT_CONDITIONS}</strong> | {$_content_3.content_popup_link}</p>
{/if}
{hook key=checkout_tpl_info}
{hook key=checkout_tpl_form}
<br />

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="55%">
<h1>{txt key=TEXT_SHIPPING_ADDRESS}:</h1>
<p>
{if $shipping_address.customers_company} {$shipping_address.customers_company}<br />{/if}
{$shipping_address.customers_firstname} {$shipping_address.customers_lastname}<br />
{$shipping_address.customers_street_address}<br />
{if $shipping_address.customers_suburb} {$shipping_address.customers_suburb}<br />{/if}
{$shipping_address.customers_postcode} {$shipping_address.customers_city}<br />
{$shipping_address.customers_country}<br />
</p>
<p><a href="{link page=checkout paction=shipping conn=SSL}">[{txt key=TEXT_EDIT}]</a></p>
</td>
<td width="55%">
<h1>{txt key=TEXT_PAYMENT_ADDRESS}:</h1>
<p>
{if $payment_address.customers_company} {$payment_address.customers_company}<br />{/if}
{$payment_address.customers_firstname} {$payment_address.customers_lastname}<br />
{$payment_address.customers_street_address}<br />
{if $payment_address.customers_suburb} {$payment_address.customers_suburb}<br />{/if}
{$payment_address.customers_postcode} {$payment_address.customers_city}<br />
{$payment_address.customers_country}<br />
</p>
<p><a href="{link page=checkout paction=payment conn=SSL}">[{txt key=TEXT_EDIT}]</a></p>
</td>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="55%">
{if $shipping_info.shipping_name}
<h2>{txt key=TEXT_SHIPPING_METHOD}:</h2>
<p>{$shipping_info.shipping_name}</p>
{/if}
{if $shipping_info.shipping_desc}
<p>{$shipping_info.shipping_desc}</p>
{/if}
{if $shipping_info.shipping_info}
<p>{$shipping_info.shipping_info}</p>
{/if}
<p><a href="{link page='checkout' paction=shipping conn=SSL}">[{txt key=TEXT_EDIT}]</a></p>
</td>
<td width="55%">
{if $payment_info.payment_name}
<h2>{txt key=TEXT_PAYMENT_METHOD}:</h2>
<p>{$payment_info.payment_name}</p>
{if $payment_info.payment_desc}
<p>{$payment_info.payment_desc}</p>
{/if}
{/if}
{if $payment_info.payment_info}
<p>{$payment_info.payment_info}</p>
{/if}
<p><a href="{link page='checkout' paction=payment conn=SSL}">[{txt key=TEXT_EDIT}]</a></p>
</td>
</tr>
</table>

<h1>{txt key=TEXT_ARTICLE}:</h1>
<table class="tabledetails" width="100%" border="0" cellspacing="0" cellpadding="6">
<tr class="headerrow">
<td class="left">{txt key=TEXT_QTY}</td>
<td class="left" width="100"></td>
<td class="left">{txt key=TEXT_ARTICLE}</td>
<td class="left">{txt key=TEXT_SINGLE_PRICE}</td>
<td class="right">{txt key=TEXT_TOTAL_PRICE}</td>
</tr>
{foreach name=aussen item=data from=$data}
<tr class="{cycle values="contentrow1,contentrow2"}">
<td class="left">{$data.products_quantity}</td>
<td class="left">
{if $data.products_image!=''}{img img=$data.products_image type=m_thumb class=productImageBorder alt=$data.products_name|escape:"html"}{/if}
</td>
<td class="left">
<strong><a href="{$data.products_link}">{$data.products_name}</a></strong>
{if $data.shipping_status}<br /><p class="shippingtime">{txt key=TEXT_SHIPPING_STATUS} {$data.shipping_status}</p>{/if}
{if $data.products_short_description}<br /><p>{$data.products_short_description}</p>{/if}
<td class="left">
{if $data._cart_discount}
<span class="old-price">{$data._original_products_price.formated}</span>
{$data.products_price.formated} (-{$data._cart_discount} %)
{else}
{$data.products_price.formated}
{/if}
</td>
<td class="right">{$data.products_final_price.formated}</td>
</tr>
{$data.products_information}
{/foreach}
<tr>
<td colspan="5" class="subtotal">
{txt key=TEXT_SUB_TOTAL}: {$sub_total}<br />
{foreach name=aussen item=sub_data from=$sub_data}
{$sub_data.products_name}: {$sub_data.products_price.formated}<br />
{/foreach}
{foreach name=aussen item=tax_data from=$tax}
{txt key=TEXT_TAX} {$tax_data.tax_key}%: {$tax_data.tax_value.formated}<br />
{/foreach}
<strong>{txt key=TEXT_TOTAL}: {$total}</strong>
{if $discount}
<br />{txt key=TEXT_DISCOUNT_MADE} : {$discount.formated}<br />
{/if}
{if $payment_info.payment_cost_info eq '1' || $language eq 'de'}
<br /><p align="right">{txt key=TEXT_ORDER_CONFIRMATION_BUTTON_LAW}</p>
{/if}
</td>
</tr>
</table>
<br />
{hook key=checkout_tpl_confiramtion}
{if $post_form eq '1'}
<p>{txt key=TEXT_INFO_PAY_NEXT_STEP}</p>
<p align="right">{button text=$smarty.const.BUTTON_CONFIRM_ORDER_PAY file='confirm_order_pay.gif' type='form'}</p>
{else}
<p align="right">{button text=$smarty.const.BUTTON_CONFIRM_ORDER file='confirm_order.gif' type='form'}</p>
{/if}
{form type=formend}[/HTML]

Ich bedanke mich jetzt schon für euer Bemühen :-)

Link to comment
Share on other sites

Hi,

das Gutschein - Plugin wird über einen Hook eingebunden.

Wenn das Seitendesign nicht korrekt angezeigt wird, scheint es entweder einen Fehler in der coupon-Template Datei zu geben oder in der stylsheet.

Als ersten Schritt --> Modul Version abgleichen, ich denke, dass du die Version 1.3.8 anstatt 1.3.9 brauchst.

Dann neu testen.

Falls Fehler weiterhin besteht:

Schau dir mal unter ../plugins/xt_coupons/templates die Datei coupons_form.html (für die conformation - Seite und coupons_cart.html für die Warenkorbseite) an.

Hier müsste alles in einem <div class="box"> ANWEISUNGEN </div> stehen.

Diese Klasse wird aber in deiner stylesheet (4.0.15) nicht vorhanden sein - daher der Fehler.

Gruß Alex.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...