v2.7.x Parse error: syntax error,

Thema wurde von 4A+Z?, 18. Mai 2016 erstellt.

  1. 4A+Z?

    4A+Z? Erfahrener Benutzer

    Registriert seit:
    31. Juli 2011
    Beiträge:
    85
    Danke erhalten:
    8
    Danke vergeben:
    21
    @barbara
    hatte ich so gemacht - hätte ich "Allgemeiner Code" auswählen müssen?

    @Developer

    checkout_confirmation-USERMOD.html gibt es nicht.

    checkout_confirmation.html gibt es in:
    gx/templates/EyeCandy/module
    gx/templates/Honeygrid/module
    gx/templates/gambio/module und
    checkout_confirmation.html.php in gx/templates_c

    Welche brauchst du? Und die dann als Datei hochladen?
     
  2. barbara

    barbara G-WARD 2014-2020

    Registriert seit:
    14. August 2011
    Beiträge:
    35.352
    Danke erhalten:
    11.198
    Danke vergeben:
    1.601
    Ich hätte "html" genommen. Hast Du den Text dann da in das Textfeld kopiert?

    Du musst die Datei nehmen, die von Deinem Template genutzt wird.
    Wenn Du EyeCandy nutzt, ist die Datei auch im Ordner EyeCandy/ module
    Nutzt Du noch Gambio, findest Du die Datei in templates/ Gambio/ module....
     
  3. 4A+Z?

    4A+Z? Erfahrener Benutzer

    Registriert seit:
    31. Juli 2011
    Beiträge:
    85
    Danke erhalten:
    8
    Danke vergeben:
    21
    Ich habe PHP genommen und ja, in das Feld kopiert.
    Benutze EyeCandy
    Diesmal html gewählt...

    HTML:
    {load_language_text section="checkout_confirmation"}
    {load_language_text section="buttons" name="button"}
    
    <!-- ORDER CONFIRMATION -->
    {if $LIGHTBOX == 'true'}<div id="lightbox_content" style="display:none">{/if}
    <form action="{$CHECKOUT_FORM_ACTION_URL}" method="post">
        <div class="order_confirm{if $LIGHTBOX == 'true'} lightbox_block{/if}">
            <div class="process_bar">
                <ul>
                    <li><label><span>{$txt.text_shoppingcart}</span></label></li>
                    <li><label><span>{$txt.text_yourdata}</span></label></li>
                    <li><label><span>{$txt.text_ordershipping}</span></label></li>
                    <li class="active"><label><span>{$txt.text_orderconfirm}</span></label></li>
                </ul>
            </div>
            <h1>{$txt.heading_confirmation}</h1>
    
            <div class="text_information">
            {if $ERROR}
                {$ERROR}
            {else}
                {$txt.text_confirm_information}
            {/if}
            </div>
    
            <ul class="arrows">
                {if $PRIVACY_CONFIRMATION_URL}<li><a href="{$PRIVACY_CONFIRMATION_URL}" target="_blank" class="conditions_info_link lightbox_iframe">{$PRIVACY_CONFIRMATION_TEXT}</a></li>{/if}
                {if $CONDITIONS_CONFIRMATION_URL}<li><a href="{$CONDITIONS_CONFIRMATION_URL}" target="_blank" class="conditions_info_link lightbox_iframe">{$CONDITIONS_CONFIRMATION_TEXT}</a></li>{/if}
                {if $WITHDRAWAL_CONFIRMATION_URL}<li><a href="{$WITHDRAWAL_CONFIRMATION_URL}" target="_blank" class="conditions_info_link lightbox_iframe">{$WITHDRAWAL_CONFIRMATION_TEXT}</a></li>{/if}
            </ul>
    
            {if $GM_LOG_IP =='1' && ($GM_CONFIRM_IP =='1' || $GM_SHOW_IP =='1')}
                <div class="text_information">
                    {if $GM_CONFIRM_IP =='1'}
                        <input type="checkbox" value="save" name="gm_log_ip" /> {$txt.text_confirm_log_ip} {$CUSTOMERS_IP}
                    {/if}
                </div>
            {/if}
    
            {if $amazon_checkout_address}
                <h2 class="underline overline"><img class="png-fix" src="{$tpl_path}img/icons/address.png" alt="" />{$txt.text_shipping_address}</h2>
                {$amazon_checkout_address}
            {else}
                <div class="cols2">
                    <div class="col">
                        <h2 class="underline overline"><img class="png-fix" src="{$tpl_path}img/icons/address.png" alt="" /> {$txt.text_shipping_address} <a class="conditions_info_link" href="{$SHIPPING_ADDRESS_EDIT}">{$txt.text_edit}</a></h2>
                        <p>{$DELIVERY_LABEL}</p>
    
                    </div>
                    <div class="col last">
                        <h2 class="underline overline"><img class="png-fix" src="{$tpl_path}img/icons/address.png" alt="" /> {$txt.text_payment_address} <a class="conditions_info_link" href="{$BILLING_ADDRESS_EDIT}">{$txt.text_edit}</a></h2>
                        <p>{$BILLING_LABEL}</p>
                    </div>
                </div>
            {/if}
    
            {if $amazon_checkout_payment}
                <h2 class="underline overline"><img class="png-fix" src="{$tpl_path}img/icons/payment.png" alt="" /> {$txt.text_payment_info}</h2>
                {$amazon_checkout_payment}
            {else}
                {if $PAYMENT_METHOD!='' && $BILLING_LABEL}
                    <h2 class="underline overline"><img class="png-fix" src="{$tpl_path}img/icons/payment.png" alt="" /> {$txt.text_payment_method} <a class="conditions_info_link" href="{$PAYMENT_EDIT}">{$txt.text_edit}</a></h2>
                    <p>{$PAYMENT_METHOD}</p>
                {/if}
    
                {if $PAYMENT_INFORMATION!='' && $BILLING_LABEL}
                        <h2 class="underline overline"><img class="png-fix" src="{$tpl_path}img/icons/payment.png" alt="" /> {$txt.text_payment_info} <a class="conditions_info_link" href="{$PAYMENT_EDIT}">{$txt.text_edit}</a></h2>
                    <p>{$PAYMENT_TITLE}</p>
    
                    {if !empty($payment_information_data)}
                        <table class="payment_information">
                        {foreach name=payment_information item=payment_information_array from=$payment_information_data}
                            <tr>
                                <td>{$payment_information_array.title}</td>
                                <td>{$payment_information_array.field}</td>
                            </tr>
                        {/foreach}
                        </table>
                    {/if}
                {/if}
            {/if}
    
            {$MODULE_ts_excellence}
    
            {if $ORDER_COMMENTS != ''}
                <h2 class="underline overline"><img class="png-fix" src="{$tpl_path}img/icons/comments.png" alt="" /> {$txt.text_comments}  <a class="conditions_info_link" href="{$PAYMENT_EDIT}">{$txt.text_edit}</a></h2>
                <p>{$ORDER_COMMENTS}</p>
            {/if}
    
    
    
            <h2 class="underline overline" style="margin-bottom:0"><img class="png-fix" src="{$tpl_path}img/icons/products.png" alt="" /> {$txt.text_products} <a class="conditions_info_link" href="{$PRODUCTS_EDIT}">{$txt.text_edit}</a></h2>
    
            <div id="products_overview">
                <table cellspacing="0">
    
                    {$PRODUCTS_TABLE_PART}
    
                    {foreach name=total_block item=total_item_array from=$total_block_data}
                        <tr class="{if $smarty.foreach.total_block.last}total{/if}">
                            <td colspan="2">&nbsp;</td>
                            <td class="order_total_name" colspan="2">{$total_item_array.title}</td>
                            <td class="order_total_price">{$total_item_array.text}</td>
                        </tr>
                    {/foreach}
                </table>
    
                {if $CONFIRMATION_INFO|strip_tags:true|trim}
                    <div id="confirmation_info">{$CONFIRMATION_INFO}</div>
                {/if}
            </div>
    
    
            {$CHECKOUT_FORM_PREFORM}
            <div style="margin-top: 30px">
                    <input type="hidden" name="ie11bugfix" value="1" />
    
                    {if $MODULE_BUTTONS!=''}{$MODULE_BUTTONS}{/if}
    
                    {* TODO: write action_page_back handler *}
                    <div class="back_button"><a href="{'checkout_payment.php'|xtc_href_link:'':'SSL'}" class="button_grey_big button_set_big action_page_back"><span class="button-outer"><span class="button-inner">{$button.back}</span></span></a></div>
    
                    <div class="checkout_button"><a href="{page_url}#" class="button_green_big button_set_big action_submit"><span class="button-outer"><span class="button-inner">{$button.send_order}</span></span></a></div>
            </div>
        </div>
    </form>
    {if $LIGHTBOX == 'true'}
        <a href="{$LIGHTBOX_CLOSE}" class="icon_lightbox_close_checkout button_close_lightbox" title="{$button.close}">{$button.close}</a>
    </div>
    {/if}
    
     
  4. barbara

    barbara G-WARD 2014-2020

    Registriert seit:
    14. August 2011
    Beiträge:
    35.352
    Danke erhalten:
    11.198
    Danke vergeben:
    1.601
    Hast Du den Text eventuell im Admin -> Content-Manager bei Bestellzusammenfassung - Information
    eingetragen?
     
  5. 4A+Z?

    4A+Z? Erfahrener Benutzer

    Registriert seit:
    31. Juli 2011
    Beiträge:
    85
    Danke erhalten:
    8
    Danke vergeben:
    21
    :oops: vielen Dank, Barbara
    sorry, dass ich damit genervt habe, ich hab´s nicht mehr gefunden
    Grüße
    Rudolf
     
  6. 4A+Z?

    4A+Z? Erfahrener Benutzer

    Registriert seit:
    31. Juli 2011
    Beiträge:
    85
    Danke erhalten:
    8
    Danke vergeben:
    21
    Meine Anfrage wg. Parse Error hat sich erledigt.
    Habe heute Morgen auf 2.7.4.2 upgedatet, danach tauchte diese Fehlermeldung nicht mehr auf. :D
    Grüße
    Rudolf