Zurück   xt:Commerce Webshop Shop Support > xt:Commerce Shopsoftware Community Area > Installation und Konfiguration

Antwort
 
LinkBack Themen-Optionen Ansicht
  #1 (permalink)  
Alt 29.07.2010, 16:21
Neuer Benutzer
 
Registriert seit: 25.01.2010
Beiträge: 13
Unglücklich Cross Selling -> in der Warenkorb von der Hauptproduktseite aus

Hallo,

ich habe folgendes Problem:

Ich möchte das unsere Kunden die durch uns (Cross selling) empfohlen Artikel auch direkt von der Hauptproduktseite aus in den Warenkorb legen können.

Um dies zu erreichen habe ich das "cross_selling.html" Template dahingehend erweitert, das dort auch das "In den Warenkorb" Formular angezeigt wird.

PHP-Code:
  {foreach name=aussen item=cross_sell_products_data from=$_cross_selling}

  <
tr>

    {if 
$cross_sell_products_data.products_image!=''}<td class="productCrossSellImage"><a href="{$cross_sell_products_data.products_link}">{img img=$cross_sell_products_data.products_image type=m_thumb class=productImageBorder alt=$cross_sell_products_data.products_name}</a></td>{/if}

    <
td class="productCrossSellContent">

        <
h2><a href="{$cross_sell_products_data.products_link}">{$cross_sell_products_data.products_name}</a></h2>

        <
class="price">{$cross_sell_products_data.products_price.formated}</p>

    </
td>

    {
form type=form name=product action='dynamic' link_params=getParams method=post}
    {
form type=hidden name=action value=add_product}
    {
form type=hidden name=product value=$cross_sell_products_data.products_id}
    <
td>
    
    <
table border="0" cellspacing="0" cellpadding="2">
        <
tr><td colspan="2">{$products_information}</td></tr>
    
    
          <
tr>
            <
td style="width:100%">{form type=text name=qty value=1 style='width:50px;'}</td>
            <
td>{button text=$smarty.const.BUTTON_ADD_CART file='button_in_cart.gif' type='form' btn_template='tpl_button_2.gif' space_left='25'}</td>
          </
tr>
    </
table>
    
    </
td>
    
    {
form type=formend}

    
  </
tr>

  {/foreach} 

Mein Problem ist nun, das wenn jemand nun auf einer solchen Seite mehrmals auf "in den Warenkorb" drückt die einzelnen Produkte im Warenkorb nicht mehr hochgezählt werden. D.h. aus dem einem was schon im Warenkorb liegt werden nicht 2 ..

Hat jemand eine Idee, wo ich da gucken muss. Insgesamt ist das schon blöd.
Alle Produkte ohne Empfehlung addieren sich alle andere mit nicht. Das wird wohl oder weniger für den Kunden verwirrend sein

liebe grüsse
christian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
cross, hauptproduktseite, selling, 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
PayPal Express Modul mit GiroPay - Stand 08.05.2012 mikkel PayPal Express-Kaufabwicklung für xt:Commerce 288 27.04.2012 18:07
Warenkorb im Cross Selling Dino113 Installation und Konfiguration 2 15.04.2011 00:21
Cross Selling im Warenkorb plug Shopbereich 1 05.02.2009 15:14


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:44 Uhr.

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

xt:Commerce is a SafeCharge brand