Beiträge von mitglied

    Wer möchte kann sich das mal anschauen.
    Ich habe in meinem Shop folgenden Hinweis eingebaut.

    https://silktide.com/tools/cookie-consent/download/

    Einfach drei Dateien im Shop ändern und es funktioniert.

    1. includes/application_bottom.php

    Code
    Zeile 102
    echo '"' . DIR_WS_CATALOG . 'shopscripte/js/cookiebar.min.js",';
    
    
    ändern in
    #    echo '"' . DIR_WS_CATALOG . 'shopscripte/js/cookiebar.min.js",';

    2. templates/shopscripte/shopscript.php


    ändern in

    Code
    if (AJAXCOOKIE == 'true') {
        echo'<!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
        <script type="text/javascript">
            window.cookieconsent_options = {"message":"'.CB_MESSAGE.'","dismiss":"'.CB_BUTTON.'","learnMore":"'.CB_MORE_INFO.'","link":"'.CB_LINK.'","theme":"dark-top"};
        </script>
        <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js"></script>
        <!-- End Cookie Consent plugin -->';
    }


    3. in die Sprachdatei z.B. lang/german/german.php folgendes einfügen

    Code
    define('CB_MESSAGE','Diese Webseite verwendet Cookies, um bestimmte Funktionen zu ermöglichen und das Angebot zu verbessern. Indem Sie hier fortfahren, stimmen Sie der Nutzung von Cookies zu.');
    define('CB_BUTTON','Verstanden');
    define('CB_MORE_INFO','Mehr Informationen');
    define('CB_LINK','http://www.DEINE_DOMAIN.de/datenschutz.html');

    Viele Grüße

    Version commerce:seo v2next 2.5.16
    Datei admin/recover_cart_sales.php
    hier fehlt eine Klammer zu ")"

    Zeile 194

    Code
    $sql_data_array = array('orders_id' => $insert_id, 'products_id' => xtc_get_prid($order->products[$i]['id']), 'products_model' => $order->products[$i]['model'], 'products_name' => $order->products[$i]['name'], 'products_shipping_time' => $order->products[$i]['shipping_time'], 'products_price' => $order->products[$i]['price'], 'final_price' => $order->products[$i]['final_price'], 'products_tax' => $order->products[$i]['tax'], 'products_discount_made' => ($order->products[$i]['discount_allowed'] != '' ? $order->products[$i]['discount_allowed'] : '0', 'products_quantity' => $order->products[$i]['qty'], 'allow_tax' => $_SESSION['customers_status']['customers_status_show_price_tax']);


    ändern in

    Code
    $sql_data_array = array('orders_id' => $insert_id, 'products_id' => xtc_get_prid($order->products[$i]['id']), 'products_model' => $order->products[$i]['model'], 'products_name' => $order->products[$i]['name'], 'products_shipping_time' => $order->products[$i]['shipping_time'], 'products_price' => $order->products[$i]['price'], 'final_price' => $order->products[$i]['final_price'], 'products_tax' => $order->products[$i]['tax'], 'products_discount_made' => ($order->products[$i]['discount_allowed'] != '' ? $order->products[$i]['discount_allowed'] : '0'), 'products_quantity' => $order->products[$i]['qty'], 'allow_tax' => $_SESSION['customers_status']['customers_status_show_price_tax']);

    Wer testen möchte kann testen

    suche Datei inc/coupon_mod_functions.php
    Zeile 140

    Code
    $t_prid = xtc_get_prid($products[$i]['id']);


    ersetzen mit

    Code
    $t_prid = xtc_get_prid($products[$i]['id']);
    if ($xtPrice->xtcCheckSpecial($t_prid) == 0 ) {


    dann Zeile 181

    Code
    }


    ersetzen mit

    Code
    }
    }

    Klappt bei mir.
    Jetzt wird bei Sonderangeboten der Gutschein nicht mehr angerechnet und die Gutscheinsumme im Warenkorb stimmt.

    Gruß

    Folgenden Fehler habe ich bekommen

    Code
    The /e modifier is deprecated, use preg_replace_callback instead in /httpdocs/includes/classes/class.phpmailer.php on line 1247

    habe dann folgendes geändert

    in

    wer Lust hat kann ja mal testen

    Gruß

    08.02.2016 Korrektur

    ändere mal folgendes

    /templates/dein_temp/module/product_info/product_info_v1.html

    das

    Code
    {$JAVASCRIPT_FORM_ACTION}
    {$FORM_ACTION}
    {$BUTTON_MINUS}{$ADD_QTY}{$BUTTON_PLUS}
    {$ADD_CART_BUTTON}

    in das

    Code
    {$JAVASCRIPT_FORM_ACTION|replace:'http://':'//'}
    {$FORM_ACTION|replace:'http://':'//'}
    {$BUTTON_MINUS|replace:'http://':'//'}{$ADD_QTY}{$BUTTON_PLUS|replace:'http://':'//'}
    {$ADD_CART_BUTTON|replace:'http://':'//'}

    Gruß