Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: BETA MODUL: CustomersNotice - Hinweise für Kunden

    karsta.de

    • Experte
    • Beiträge: 3.159
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #90 am: 28. März 2018, 13:51:53
    Das ist doch schon drin oder meinst du was anderes. Kundengruppe anhaken, dann bekommt das nur diese Kundengruppe zu sehen.

    [ Für Gäste sind keine Dateianhänge sichtbar ]

    BG kgd

    Juan Carlos Silverio Gomez

    • Fördermitglied
    • Beiträge: 473
    • Geschlecht:
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #91 am: 12. April 2018, 16:32:47
    Hallo,

    bekomme im Logfile diesen Error wenn ich das Modul installiert habe und eine Bestellung Lösche, ohne dieses Modul gibt es kein error:

    Zitat
    [12-04-2018 16:25:30] E_USER_WARNING   : LoggingManager: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY orders_id DESC, date_added' at line 1<br/><br/>SELECT orders_id, comments FROM orders_status_history WHERE orders_id IN() ORDER BY orders_id DESC, date_added in File: floresdelsuroeste.es/inc/db_functions_mysqli.inc.php on Line: 161
    [12-04-2018 16:25:30] E_USER_WARNING   : LoggingManager: Backtrace #0 - /www/htdocs/w0180175/floresdelsuroeste.es/admin_QYVYCP5D44/includes/extra/footer/10_comment_at_a_glance.php called at Line 21
    [12-04-2018 16:25:30] E_USER_WARNING   : LoggingManager: Backtrace #1 - /www/htdocs/w0180175/floresdelsuroeste.es/admin_QYVYCP5D44/includes/footer.php called at Line 47
    [12-04-2018 16:25:30] E_USER_WARNING   : LoggingManager: Backtrace #2 - /www/htdocs/w0180175/floresdelsuroeste.es/admin_QYVYCP5D44/orders.php called at Line 444

    Kann das jemand nachvollziehen ?

    Lg
    Carlos

    karsta.de

    • Experte
    • Beiträge: 3.159
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #92 am: 12. April 2018, 17:25:32
    Also habe das gerade in einem Testshop getestet und an diesem Modul liegt es nicht.
    Habe das MODUL: CustomersNotice - Hinweise für Kunden und auch die 10_comment_at_a_glance.php-Datei im Shop und mein Error-Log bleibt auch nach löschen einer Bestellung leer.

    Vielleicht hast du irgendwo anders oder beim Einbau einen Fehler. Aber aus deinen Fehlermeldungen geht nicht hervor dass das MODUL: CustomersNotice ein Problem macht.

    BG kgd

    Juan Carlos Silverio Gomez

    • Fördermitglied
    • Beiträge: 473
    • Geschlecht:
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #93 am: 12. April 2018, 17:36:39
    Hallo Karsta,

    ich kann nur nachvollziehen das wenn das modul installiert ist (gibt es ja nichts falsch zu machen ;-), ich diesen error bekomme. Ist es weg..gibt es kein fehler...

    Lg
    Carlos

    Juan Carlos Silverio Gomez

    • Fördermitglied
    • Beiträge: 473
    • Geschlecht:
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #94 am: 12. April 2018, 17:41:21
    Zitat
    [12-04-2018 16:25:30] E_USER_WARNING   : LoggingManager: Backtrace #0 - /www/htdocs/w0180175/floresdelsuroeste.es/admin_QYVYCP5D44/includes/extra/footer/10_comment_at_a_glance.php called at Line 21

    das ist das error bezogen auf das modul:

    Code: PHP  [Auswählen]
     $orders_history_query = xtc_db_query("SELECT orders_id, comments FROM " . TABLE_ORDERS_STATUS_HISTORY . " WHERE orders_id IN(".$ordc_in_str.") ORDER BY orders_id DESC, date_added");

    und hier bezogen auf die database:

    Zitat
    [12-04-2018 16:25:30] E_USER_WARNING   : LoggingManager: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY orders_id DESC, date_added' at line 1<br/><br/>SELECT orders_id, comments FROM orders_status_history WHERE orders_id IN() ORDER BY orders_id DESC, date_added in File: floresdelsuroeste.es/inc/db_functions_mysqli.inc.php on Line: 161

    ...hmm

    Gruss
    carlos

    karsta.de

    • Experte
    • Beiträge: 3.159
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #95 am: 12. April 2018, 17:57:12
    Die Datei 10_comment_at_a_glance.php stammt aus der Erweiterung "MODUL: Kommentare in Bestellübersicht als Tooltip anzeigen für Shopversion 2.x" und nicht aus "BETA MODUL: CustomersNotice - Hinweise für Kunden".

    Nimm mal Testweise die Datei wieder raus.

    Code: PHP  [Auswählen]
     $orders_history_query = xtc_db_query("SELECT orders_id, comments FROM " . TABLE_ORDERS_STATUS_HISTORY . " WHERE orders_id IN(".$ordc_in_str.") ORDER BY orders_id DESC, date_added");

    Stammt aus der orders_info_blocks.php und das hat auch nichts mit der CustomersNotice zu tun.

    BG kgd

    Q

    • Fördermitglied
    • Beiträge: 1.543
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #96 am: 15. April 2018, 22:12:38
    Zitat
    1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY orders_id DESC, date_added' at line 1

    SELECT orders_id, comments FROM orders_status_history WHERE orders_id IN() ORDER BY orders_id DESC, date_added

    Taucht dann auf, wenn z.B. durch den Filter, keine Bestellungen aufgelistet werden. Und kommt vom von kgd erwähnten Modul "MODUL: Kommentare in Bestellübersicht als Tooltip anzeigen für Shopversion 2.x"

    karsta.de

    • Experte
    • Beiträge: 3.159
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #97 am: 15. April 2018, 22:36:43

    Juan Carlos Silverio Gomez

    • Fördermitglied
    • Beiträge: 473
    • Geschlecht:
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #98 am: 18. April 2018, 15:15:24
    Hallo nochmal,

    gibt es eine Möglichkeit das CustomerNotice aufrufen zu lassen. Mit einem Link im menu oder so ? (ohne dass man sich wieder einloggen muss ?)

    Gruss,
    Carlos

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.374
    • Geschlecht:
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #99 am: 18. April 2018, 17:51:44
    Die Frage verstehe ich nicht. Die Hinweise sind doch je nach Einstellung auch für Gäste sichtbar!

    Grüße

    Torsten

    Juan Carlos Silverio Gomez

    • Fördermitglied
    • Beiträge: 473
    • Geschlecht:
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #100 am: 18. April 2018, 21:22:23
    Hallo,

    ist schon Ok.

    Vielen Dank

    Gruss
    Carlos

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.374
    • Geschlecht:
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #101 am: 19. April 2018, 10:58:52
    Du das war nicht böse gemeint, nicht dass wir uns hier falsch verstehen. Wenn du die Frage vielleicht nochmal anders stellst, dann bin ich doch er letzte, der nicht versucht eine Lösung zu finden. ;-)

    Grüße

    Torsten

    Steini200

    • Neu im Forum
    • Beiträge: 8
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #102 am: 29. August 2018, 07:27:11
    Servus zusammen,
    ich nutze aktuell das Bootstrap3 von Karl. Leider wird mir die Customer Notice nicht ausgegeben.

    Hab ich es vielleicht an der falschen Stelle in der index.html aus dem Template Ordner drin?

    Code: PHP  [Auswählen]
    {config_load file="$language/lang_$language.conf" section="index"}
    {config_load file="$language/lang_$language.conf" section="boxes"}
    {config_load file="lang_`$language`.custom"}
    {if isset($box_ADMIN)}<div class="adminspacer"></div>{$box_ADMIN}{/if}
    {* BEGINN Hauptcontainer innerhalb body *}
    <div id="container" class="{$smarty.const.BOOTSTRAP_THEME}">
            {* BEGINN Menü, Top nav mit Logo für große Bildschirme*}
            {if $smarty.const.MMENU === true}{$box_CATEGORIES_MMENU}{/if}
            <div class="top nav navbar-{$smarty.const.TOP1_NAVBAR}">
                    <div id="layout_navbar" class="container">
                            <div id="logo1" class="pull-left hidden-xs"><a href="{$index}" title="{#link_index#} &bull; {$store_name}"><img class="img-responsive center-block" src="{$tpl_path}{$smarty.const.SHOP_LOGO}" alt="{$store_name}" /></a></div>
                            {if isset($box_LANGUAGES)}{$box_LANGUAGES}{/if}
                            <ul class="nav nav-pills pull-right">
                                    <li class="{if isset($home) && $home == true}active{/if}"><a href="{$index}"><span class="glyphicon glyphicon-home"></span><span class="hidden-xs">&nbsp;&nbsp;{#link_index#}</span></a></li>
                                    {if isset($account)}<li{if strstr($smarty.server.PHP_SELF, 'account') && !strstr ($smarty.server.PHP_SELF, 'create_account')} class="active"{/if}><a href="{$account}"><span class="glyphicon glyphicon-user" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;{#link_account#}</span></a></li>{/if}
                                    {if isset($smarty.session.customer_id)}
                                            <li{if strstr ($smarty.server.PHP_SELF, 'logoff')} class="active"{/if}><a href="{$logoff}"><span class="glyphicon glyphicon-log-out" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;{#link_logoff#}</span></a></li>
                                    {else}
                                            <li{if strstr($smarty.server.PHP_SELF, 'create_account')} class="active"{/if}><a href="{$create_account}"><span class="glyphicon icon-user-plus" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;{#new_customer#}</span></a></li>
                                            <li{if strstr($smarty.server.PHP_SELF, 'login')} class="active"{/if}><a href="{$login}"><span class="glyphicon glyphicon-log-in" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;{#link_login#}</span></a></li>
                                    {/if}
                            </ul>
                            <ul class="nav nav-pills pull-right" style="clear:right;">
                                    <li{if strstr ($smarty.server.PHP_SELF, 'checkout')} class="active"{/if}><a href="{$checkout}"><span class="glyphicon glyphicon-credit-card" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;<strong>{#link_checkout#}</strong></span></a></li>
                                    {if isset($box_WISHLIST)}<li class="wishlist">{$box_WISHLIST}</li>{/if}
                                    {if isset($box_CART)}<li class="cart">{$box_CART}</li>{/if}
                                    </ul>
                    </div>
            </div>
            {* ENDE top nav *}
            {* BEGINN Maincontainer*}
            <div id="main_container" class="container">
            {* BEGINN EU-Cookie und Javascript deaktiviert *}
                    {if isset($box_EU_COOKIE)}{$box_EU_COOKIE}{/if}
                    {if $smarty.const.SHOW_JS_DISABLED === true}<noscript><div class="alert alert-warning">{#noscript#}</div></noscript>{/if}
            {* ENDE EU-Cookie und Javascript deaktiviert *}
                    {* BEGINN Logo für kleine Bildschirme, Kundeninfo und Suche *}
                    <div id="layout_logo" class="row clearfix">
                            <div id="logo2" class="visible-xs mb"><a href="{$index}" title="{#link_index#} &bull; {$store_name}"><img src="{$tpl_path}{$smarty.const.SHOP_LOGO}" class="img-responsive center-block" alt="{$store_name}" /></a></div>
                    {if isset($box_INFOBOX)}{$box_INFOBOX}{/if}
                            {if isset($box_SEARCH)}<div id="search" class="col-xs-12 col-sm-5 pull-right mb">{$box_SEARCH}</div>{/if}
                    </div>
                    {* ENDE Logo *}
                    {* BEGINN Superfish, Responsivemenü- oder Mmenü- und Sidebarlinks*}
                    <nav id="navbar" class="top2 navbar navbar-{$smarty.const.TOP2_NAVBAR}{if $smarty.const.SUPERFISHMENU === false} visible-xs visible-sm{/if}">
                            <div class="canvasmenu container-fluid">
                                    {if $smarty.const.MMENU == true}<a class="navbar-brand" href="#menu"><span class="visible-xs visible-sm pull-left"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>&nbsp;&nbsp;</span>{#heading_mmenu#}</a>{/if}
                                    {if $smarty.const.RESPONSIVEMENU == true && $smarty.const.MMENU == false}<a class="navbar-brand menu-btn menu-btn--left pull-left" href="#"><span class="visible-xs visible-sm"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>&nbsp;&nbsp;{#heading_responsivemenu#}</span></a>{/if}
                                    {if !isset($fullcontent) && $fullcontent != true}<a class="navbar-brand menu-btn menu-btn--right pull-right" href="#"><span class="visible-xs visible-sm">{#heading_sidebar#}&nbsp;&nbsp;<span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span></span></a>{/if}
                            </div>
                            {if $smarty.const.SUPERFISHMENU === true}
                            <div class="fullmenu container-fluid">
                                    <div class="navbar-header"><a class="navbar-brand" href="{$index}"><span class="glyphicon glyphicon-home"></span></a></div>
                                    {$box_CATEGORIES_SUPERFISH}
                            </div>
                            {/if}
                    </nav>
                    {* ENDE Superfish, Responsivemenü und Mmenü *}
                    {* BEGINN Contentteil*}
                    <div id="content" class="row">
    {if isset($home) && $home == true}
                {* BEGINN col_left für Startseite *}
                            <div id="col_left" class="col-xs-12 col-md-3 pushy pushy-right">
                                    {if isset($box_CATEGORIES)}{$box_CATEGORIES}{/if}
                                    {if isset($box_ADD_QUICKIE)}{$box_ADD_QUICKIE}{/if}
                                    {if isset($box_LOGIN)}{$box_LOGIN}{/if}
                                    {if isset($box_WHATSNEW)}{$box_WHATSNEW}{/if}
                                    {if isset($box_SPECIALS)}{$box_SPECIALS}{/if}
                                    {if isset($box_LAST_VIEWED)}{$box_LAST_VIEWED}{/if}
                                    {if isset($box_REVIEWS)}{$box_REVIEWS}{/if}
                                    {if isset($box_MANUFACTURERS)}{$box_MANUFACTURERS}{/if}
                                    {if isset($box_MANUFACTURERS_INFO)}{$box_MANUFACTURERS_INFO}{/if}
                                    {if isset($box_CURRENCIES)}{$box_CURRENCIES}{/if}
                                    {if isset($box_HISTORY)}{$box_HISTORY}{/if}
                                    {if isset($box_TRUSTEDSHOPS)}{$box_TRUSTEDSHOPS}{/if}
                            </div>
                            {* ENDE col_left *}
                            {* BEGINN col_right *}
                            <div id="col_right" class="col-xs-12 col-md-9">
                                    {* BEGINN Slider Karusell - *}
                                    {if isset($SLIDER)}
                                    <div id="myCarousel" class="carousel slide">
                                            <ol class="carousel-indicators">
                                                    {foreach name=aussen item=slider from=$SLIDER}<li data-target="#myCarousel" data-slide-to="{$smarty.foreach.aussen.iteration - 1}"{if $smarty.foreach.aussen.first} class="active"{/if}></li>{/foreach}
                                            </ol>
                                            <div class="carousel-inner" role="listbox">
                                                    {foreach name=aussen item=slider from=$SLIDER}
                                                    <div class="item{if $smarty.foreach.aussen.first} active{/if}">{$slider.IMAGE}
                                                            <div class="container"><div class="carousel-caption">{$slider.TEXT}</div></div>
                                                    </div>
                                                    {/foreach}
                                            </div>
                                    </div>
                                    {/if}
                                    {* ENDE Slider Karusell *}
                                    {* BEGINN Banner *}
                                    {if isset($BANNER)}<div class="content_banner clearfix">{$BANNER}</div>{/if}
                                    {* ENDE Banner *}
                                    {if isset($main_content)}{$main_content}{/if}
                                    {*if $bestseller*}{if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}{*/if*}
                            </div>
                            {* ENDE col_right *}
                            {* BEGINN col_full *}
    {elseif isset($fullcontent) && $fullcontent == true}
                            <div id="col_full" class="container">
                                    {if isset($navtrail)}<div id="breadcrumb" class="well-sm"><span class="breadcrumb_info">{#text_here#}</span>{$navtrail} </div>{/if}
                                    {if isset($main_content)}{$main_content}{/if}
                                    {if $bestseller}{if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}{/if}
                            </div>
                            {* ENDE col_full *}
    {else}
                {* BEGINN col_left nicht Startseite *}
                            <div id="col_left" class="col-xs-12 col-md-3 pushy pushy-right">
                                    {if isset($box_CATEGORIES)}{$box_CATEGORIES}{/if}
                                    {if isset($box_ADD_QUICKIE)}{$box_ADD_QUICKIE}{/if}
                                    {if isset($box_LOGIN)}{$box_LOGIN}{/if}
                                    {if isset($box_WHATSNEW)}{$box_WHATSNEW}{/if}
                                    {if isset($box_SPECIALS)}{$box_SPECIALS}{/if}
                                    {if isset($box_LAST_VIEWED)}{$box_LAST_VIEWED}{/if}
                                    {if isset($box_REVIEWS)}{$box_REVIEWS}{/if}
                                    {if isset($box_MANUFACTURERS)}{$box_MANUFACTURERS}{/if}
                                    {if isset($box_MANUFACTURERS_INFO)}{$box_MANUFACTURERS_INFO}{/if}
                                    {if isset($box_CURRENCIES)}{$box_CURRENCIES}{/if}
                                    {if isset($box_HISTORY)}{$box_HISTORY}{/if}
                                    {if isset($box_TRUSTEDSHOPS)}{$box_TRUSTEDSHOPS}{/if}                  
                            </div>
                            {* ENDE col_left *}
                            {* BEGINN col_right *}
                            <div id="col_right" class="col-xs-12 col-md-9">
                                    {if isset($navtrail)}<div id="breadcrumb" class="well-sm"><span class="breadcrumb_info">{#text_here#}</span>{$navtrail}</div>{/if}
    {* BOF - Timo Paul (mail[at]timopaul[dot]biz) - 2014-06-22 - customersNotice *}
                                    {if isset($CUSTOMERS_NOTICE)}{$CUSTOMERS_NOTICE}{/if}
    {* EOF - Timo Paul (mail[at]timopaul[dot]biz) - 2014-06-22 - customersNotice *}
                                    {if isset($main_content)}{$main_content}{/if}
                                    {if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}
                            </div>
                            {* ENDE col_right *}
    {/if}
                    </div>
                    {* ENDE Contentteil*}
            </div>
            {* ENDE Maincontainer*}
            {* BEGINN Responsivmenü - nicht sichtbar*}
                    {if $smarty.const.RESPONSIVEMENU === true && $smarty.const.MMENU === false}{$box_CATEGORIES_RESPONSIVEMENU}{/if}
            {* BEGINN FOOTER *}
            <div id="layout_footer" class="container-fluid navbar-{$smarty.const.FOOTER_NAVBAR}">
                    <div class="container">
                            <div id="layout_footer_inner" class="row">
                                    {if isset($box_CONTENT)}<div class="col-md-3 col-sm-6 col-xs-12">{$box_CONTENT} </div>{/if}
                                    {if isset($box_INFORMATION)}<div class="col-md-3 col-sm-6 col-xs-12">{$box_INFORMATION} </div>{/if}
                                    {* Setzt die Floats der SM-Spalten zurück, falls ihr Inhalt nicht gleich hoch ist *}
                                    <div class="clearfix visible-sm-block"></div>
                                    {if isset($box_MISCELLANEOUS)}<div class="col-md-3 col-sm-6 col-xs-12">{$box_MISCELLANEOUS} </div>{/if}
                                    {if isset($box_NEWSLETTER)}<div class="col-md-3 col-sm-6 col-xs-12">{$box_NEWSLETTER} </div>{/if}
                            </div>
                    </div>
                    <div class="mod_copyright text-muted text-center small">{$smarty.const.TITLE} &copy; {$smarty.now|date_format:"%Y"} | Template &copy; {$smarty.now|date_format:"%Y"} by Karl</div>
            </div>
            {* ENDE FOOTER *}
            <a href="#" class="go2top btn btn-default"><span class="glyphicon glyphicon-chevron-up"></span></a>
            <div class="site-overlay--left"></div>
            <div class="site-overlay--right"></div>
            <div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
            <div class="modal-dialog">
                    <div class="modal-content">
                    <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">{#closex#}</span><span class="sr-only">{#close#}</span></button>
                            <h4 class="modal-title text-center">&nbsp;</h4>
                    </div>
                    <div class="modal-body">
                    </div>
                    <div class="modal-footer">
                                            <a id="show-previous-image" class="left carousel-control" role="button"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span></a>
                                            <a id="show-next-image"  class="right carousel-control" role="button"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></a>
                                            <span class="counter small pull-left" style="padding:6px 12px;"></span>
                                            <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">{#close#}</button>
                    </div>
                    </div>
                </div>
            </div>
    </div>
    {* ENDE Hauptcontainer innerhalb body *}
    {if ($smarty.const.TRACKING_COUNT_ADMIN_ACTIVE == 'true' && $smarty.session.customers_status.customers_status_id == '0') || $smarty.session.customers_status.customers_status_id != '0'}
      {if $smarty.const.TRACKING_PIWIK_ACTIVE == 'true'}
        {piwik url=$smarty.const.TRACKING_PIWIK_LOCAL_PATH id=$smarty.const.TRACKING_PIWIK_ID goal=$smarty.const.TRACKING_PIWIK_GOAL}
      {/if}
      {if $smarty.const.TRACKING_GOOGLEANALYTICS_ACTIVE == 'true'}
        {googleanalytics account=$smarty.const.TRACKING_GOOGLEANALYTICS_ID}
      {/if}
      {if $smarty.const.TRACKING_FACEBOOK_ACTIVE == 'true'}
        {facebook id=$smarty.const.TRACKING_FACEBOOK_ID}
      {/if}
    {/if}
    {if $smarty.const.GOOGLE_CERTIFIED_SHOPS_MERCHANT_ACTIVE == 'true'}
      {googlecertificate subaccount=$smarty.const.GOOGLE_SHOPPING_ID account=$smarty.const.GOOGLE_TRUSTED_ID}
    {/if}

    karsta.de

    • Experte
    • Beiträge: 3.159
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #103 am: 29. August 2018, 08:12:58
    Versuche es mal so:

    Code: PHP  [Auswählen]
    {config_load file="$language/lang_$language.conf" section="index"}
    {config_load file="$language/lang_$language.conf" section="boxes"}
    {config_load file="lang_`$language`.custom"}
    {if isset($box_ADMIN)}<div class="adminspacer"></div>{$box_ADMIN}{/if}
    {* BEGINN Hauptcontainer innerhalb body *}
    <div id="container" class="{$smarty.const.BOOTSTRAP_THEME}">
            {* BEGINN Menü, Top nav mit Logo für große Bildschirme*}
            {if $smarty.const.MMENU === true}{$box_CATEGORIES_MMENU}{/if}
            <div class="top nav navbar-{$smarty.const.TOP1_NAVBAR}">
                    <div id="layout_navbar" class="container">
                            <div id="logo1" class="pull-left hidden-xs"><a href="{$index}" title="{#link_index#} &bull; {$store_name}"><img class="img-responsive center-block" src="{$tpl_path}{$smarty.const.SHOP_LOGO}" alt="{$store_name}" /></a></div>
                            {if isset($box_LANGUAGES)}{$box_LANGUAGES}{/if}
                            <ul class="nav nav-pills pull-right">
                                    <li class="{if isset($home) && $home == true}active{/if}"><a href="{$index}"><span class="glyphicon glyphicon-home"></span><span class="hidden-xs">&nbsp;&nbsp;{#link_index#}</span></a></li>
                                   {if isset($account)}<li{if strstr($smarty.server.PHP_SELF, 'account') && !strstr ($smarty.server.PHP_SELF, 'create_account')} class="active"{/if}><a href="{$account}"><span class="glyphicon glyphicon-user" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;{#link_account#}</span></a></li>{/if}
                                   {if isset($smarty.session.customer_id)}
                                            <li{if strstr ($smarty.server.PHP_SELF, 'logoff')} class="active"{/if}><a href="{$logoff}"><span class="glyphicon glyphicon-log-out" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;{#link_logoff#}</span></a></li>
                                   {else}
                                            <li{if strstr($smarty.server.PHP_SELF, 'create_account')} class="active"{/if}><a href="{$create_account}"><span class="glyphicon icon-user-plus" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;{#new_customer#}</span></a></li>
                                           <li{if strstr($smarty.server.PHP_SELF, 'login')} class="active"{/if}><a href="{$login}"><span class="glyphicon glyphicon-log-in" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;{#link_login#}</span></a></li>
                                   {/if}
                            </ul>
                            <ul class="nav nav-pills pull-right" style="clear:right;">
                                    <li{if strstr ($smarty.server.PHP_SELF, 'checkout')} class="active"{/if}><a href="{$checkout}"><span class="glyphicon glyphicon-credit-card" aria-hidden="true"></span><span class="hidden-xs">&nbsp;&nbsp;<strong>{#link_checkout#}</strong></span></a></li>
                                   {if isset($box_WISHLIST)}<li class="wishlist">{$box_WISHLIST}</li>{/if}
                                    {if isset($box_CART)}<li class="cart">{$box_CART}</li>{/if}
                                    </ul>
                    </div>
            </div>
            {* ENDE top nav *}
            {* BEGINN Maincontainer*}
            <div id="main_container" class="container">
            {* BEGINN EU-Cookie und Javascript deaktiviert *}
                    {if isset($box_EU_COOKIE)}{$box_EU_COOKIE}{/if}
                    {if $smarty.const.SHOW_JS_DISABLED === true}<noscript><div class="alert alert-warning">{#noscript#}</div></noscript>{/if}
           {* ENDE EU-Cookie und Javascript deaktiviert *}
                    {* BEGINN Logo für kleine Bildschirme, Kundeninfo und Suche *}
                    <div id="layout_logo" class="row clearfix">
                            <div id="logo2" class="visible-xs mb"><a href="{$index}" title="{#link_index#} &bull; {$store_name}"><img src="{$tpl_path}{$smarty.const.SHOP_LOGO}" class="img-responsive center-block" alt="{$store_name}" /></a></div>
                    {if isset($box_INFOBOX)}{$box_INFOBOX}{/if}
                            {if isset($box_SEARCH)}<div id="search" class="col-xs-12 col-sm-5 pull-right mb">{$box_SEARCH}</div>{/if}
                    </div>
                    {* ENDE Logo *}
                    {* BEGINN Superfish, Responsivemenü- oder Mmenü- und Sidebarlinks*}
                    <nav id="navbar" class="top2 navbar navbar-{$smarty.const.TOP2_NAVBAR}{if $smarty.const.SUPERFISHMENU === false} visible-xs visible-sm{/if}">
                            <div class="canvasmenu container-fluid">
                                    {if $smarty.const.MMENU == true}<a class="navbar-brand" href="#menu"><span class="visible-xs visible-sm pull-left"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>&nbsp;&nbsp;</span>{#heading_mmenu#}</a>{/if}
                                   {if $smarty.const.RESPONSIVEMENU == true && $smarty.const.MMENU == false}<a class="navbar-brand menu-btn menu-btn--left pull-left" href="#"><span class="visible-xs visible-sm"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>&nbsp;&nbsp;{#heading_responsivemenu#}</span></a>{/if}
                                   {if !isset($fullcontent) && $fullcontent != true}<a class="navbar-brand menu-btn menu-btn--right pull-right" href="#"><span class="visible-xs visible-sm">{#heading_sidebar#}&nbsp;&nbsp;<span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span></span></a>{/if}
                           </div>
                            {if $smarty.const.SUPERFISHMENU === true}
                            <div class="fullmenu container-fluid">
                                    <div class="navbar-header"><a class="navbar-brand" href="{$index}"><span class="glyphicon glyphicon-home"></span></a></div>
                                    {$box_CATEGORIES_SUPERFISH}
                            </div>
                            {/if}
                    </nav>
                    {* ENDE Superfish, Responsivemenü und Mmenü *}
                    {* BEGINN Contentteil*}
                    <div id="content" class="row">
    {if isset($home) && $home == true}
                {* BEGINN col_left für Startseite *}
                            <div id="col_left" class="col-xs-12 col-md-3 pushy pushy-right">
                                    {if isset($box_CATEGORIES)}{$box_CATEGORIES}{/if}
                                    {if isset($box_ADD_QUICKIE)}{$box_ADD_QUICKIE}{/if}
                                    {if isset($box_LOGIN)}{$box_LOGIN}{/if}
                                    {if isset($box_WHATSNEW)}{$box_WHATSNEW}{/if}
                                    {if isset($box_SPECIALS)}{$box_SPECIALS}{/if}
                                    {if isset($box_LAST_VIEWED)}{$box_LAST_VIEWED}{/if}
                                    {if isset($box_REVIEWS)}{$box_REVIEWS}{/if}
                                    {if isset($box_MANUFACTURERS)}{$box_MANUFACTURERS}{/if}
                                    {if isset($box_MANUFACTURERS_INFO)}{$box_MANUFACTURERS_INFO}{/if}
                                    {if isset($box_CURRENCIES)}{$box_CURRENCIES}{/if}
                                    {if isset($box_HISTORY)}{$box_HISTORY}{/if}
                                    {if isset($box_TRUSTEDSHOPS)}{$box_TRUSTEDSHOPS}{/if}
                            </div>
                            {* ENDE col_left *}
                            {* BEGINN col_right *}
                            <div id="col_right" class="col-xs-12 col-md-9">
                                    {* BEGINN Slider Karusell - *}
                                    {if isset($SLIDER)}
                                    <div id="myCarousel" class="carousel slide">
                                            <ol class="carousel-indicators">
                                                    {foreach name=aussen item=slider from=$SLIDER}<li data-target="#myCarousel" data-slide-to="{$smarty.foreach.aussen.iteration - 1}"{if $smarty.foreach.aussen.first} class="active"{/if}></li>{/foreach}
                                            </ol>
                                            <div class="carousel-inner" role="listbox">
                                                    {foreach name=aussen item=slider from=$SLIDER}
                                                    <div class="item{if $smarty.foreach.aussen.first} active{/if}">{$slider.IMAGE}
                                                            <div class="container"><div class="carousel-caption">{$slider.TEXT}</div></div>
                                                    </div>
                                                    {/foreach}
                                            </div>
                                    </div>
                                    {/if}
                                    {* ENDE Slider Karusell *}
                                    {* BEGINN Banner *}
                                    {if isset($BANNER)}<div class="content_banner clearfix">{$BANNER}</div>{/if}
                                    {* ENDE Banner *}
                                    {if isset($main_content)}{$main_content}{/if}
                                    {*if $bestseller*}{if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}{*/if*}
                            </div>
                            {* ENDE col_right *}
                            {* BEGINN col_full *}
    {elseif isset($fullcontent) && $fullcontent == true}
                            <div id="col_full" class="container">
                                    {if isset($navtrail)}<div id="breadcrumb" class="well-sm"><span class="breadcrumb_info">{#text_here#}</span>{$navtrail} </div>{/if}
    {* BOF - Timo Paul (mail[at]timopaul[dot]biz) - 2014-06-22 - customersNotice *}
                                    {if isset($CUSTOMERS_NOTICE)}{$CUSTOMERS_NOTICE}{/if}
    {* EOF - Timo Paul (mail[at]timopaul[dot]biz) - 2014-06-22 - customersNotice *}
                                    {if isset($main_content)}{$main_content}{/if}
                                    {if $bestseller}{if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}{/if}
                            </div>
                            {* ENDE col_full *}
    {else}
                {* BEGINN col_left nicht Startseite *}
                            <div id="col_left" class="col-xs-12 col-md-3 pushy pushy-right">
                                    {if isset($box_CATEGORIES)}{$box_CATEGORIES}{/if}
                                    {if isset($box_ADD_QUICKIE)}{$box_ADD_QUICKIE}{/if}
                                    {if isset($box_LOGIN)}{$box_LOGIN}{/if}
                                    {if isset($box_WHATSNEW)}{$box_WHATSNEW}{/if}
                                    {if isset($box_SPECIALS)}{$box_SPECIALS}{/if}
                                    {if isset($box_LAST_VIEWED)}{$box_LAST_VIEWED}{/if}
                                    {if isset($box_REVIEWS)}{$box_REVIEWS}{/if}
                                    {if isset($box_MANUFACTURERS)}{$box_MANUFACTURERS}{/if}
                                    {if isset($box_MANUFACTURERS_INFO)}{$box_MANUFACTURERS_INFO}{/if}
                                    {if isset($box_CURRENCIES)}{$box_CURRENCIES}{/if}
                                    {if isset($box_HISTORY)}{$box_HISTORY}{/if}
                                    {if isset($box_TRUSTEDSHOPS)}{$box_TRUSTEDSHOPS}{/if}                  
                            </div>
                            {* ENDE col_left *}
                            {* BEGINN col_right *}
                            <div id="col_right" class="col-xs-12 col-md-9">
                                    {if isset($navtrail)}<div id="breadcrumb" class="well-sm"><span class="breadcrumb_info">{#text_here#}</span>{$navtrail}</div>{/if}
    {* BOF - Timo Paul (mail[at]timopaul[dot]biz) - 2014-06-22 - customersNotice *}
                                    {if isset($CUSTOMERS_NOTICE)}{$CUSTOMERS_NOTICE}{/if}
    {* EOF - Timo Paul (mail[at]timopaul[dot]biz) - 2014-06-22 - customersNotice *}
                                    {if isset($main_content)}{$main_content}{/if}
                                    {if isset($box_BESTSELLERS)}{$box_BESTSELLERS}{/if}
                            </div>
                            {* ENDE col_right *}
    {/if}
                    </div>
                    {* ENDE Contentteil*}
            </div>
            {* ENDE Maincontainer*}
            {* BEGINN Responsivmenü - nicht sichtbar*}
                    {if $smarty.const.RESPONSIVEMENU === true && $smarty.const.MMENU === false}{$box_CATEGORIES_RESPONSIVEMENU}{/if}
            {* BEGINN FOOTER *}
            <div id="layout_footer" class="container-fluid navbar-{$smarty.const.FOOTER_NAVBAR}">
                    <div class="container">
                            <div id="layout_footer_inner" class="row">
                                    {if isset($box_CONTENT)}<div class="col-md-3 col-sm-6 col-xs-12">{$box_CONTENT} </div>{/if}
                                    {if isset($box_INFORMATION)}<div class="col-md-3 col-sm-6 col-xs-12">{$box_INFORMATION} </div>{/if}
                                    {* Setzt die Floats der SM-Spalten zurück, falls ihr Inhalt nicht gleich hoch ist *}
                                    <div class="clearfix visible-sm-block"></div>
                                    {if isset($box_MISCELLANEOUS)}<div class="col-md-3 col-sm-6 col-xs-12">{$box_MISCELLANEOUS} </div>{/if}
                                    {if isset($box_NEWSLETTER)}<div class="col-md-3 col-sm-6 col-xs-12">{$box_NEWSLETTER} </div>{/if}
                            </div>
                    </div>
                    <div class="mod_copyright text-muted text-center small">{$smarty.const.TITLE} &copy; {$smarty.now|date_format:"%Y"} | Template &copy; {$smarty.now|date_format:"%Y"} by Karl</div>
            </div>
            {* ENDE FOOTER *}
            <a href="#" class="go2top btn btn-default"><span class="glyphicon glyphicon-chevron-up"></span></a>
            <div class="site-overlay--left"></div>
            <div class="site-overlay--right"></div>
            <div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
            <div class="modal-dialog">
                    <div class="modal-content">
                    <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">{#closex#}</span><span class="sr-only">{#close#}</span></button>
                           <h4 class="modal-title text-center">&nbsp;</h4>
                    </div>
                    <div class="modal-body">
                    </div>
                    <div class="modal-footer">
                                            <a id="show-previous-image" class="left carousel-control" role="button"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span></a>
                                            <a id="show-next-image"  class="right carousel-control" role="button"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></a>
                                            <span class="counter small pull-left" style="padding:6px 12px;"></span>
                                            <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">{#close#}</button>
                   </div>
                    </div>
                </div>
            </div>
    </div>
    {* ENDE Hauptcontainer innerhalb body *}
    {if ($smarty.const.TRACKING_COUNT_ADMIN_ACTIVE == 'true' && $smarty.session.customers_status.customers_status_id == '0') || $smarty.session.customers_status.customers_status_id != '0'}
      {if $smarty.const.TRACKING_PIWIK_ACTIVE == 'true'}
        {piwik url=$smarty.const.TRACKING_PIWIK_LOCAL_PATH id=$smarty.const.TRACKING_PIWIK_ID goal=$smarty.const.TRACKING_PIWIK_GOAL}
      {/if}
      {if $smarty.const.TRACKING_GOOGLEANALYTICS_ACTIVE == 'true'}
        {googleanalytics account=$smarty.const.TRACKING_GOOGLEANALYTICS_ID}
      {/if}
      {if $smarty.const.TRACKING_FACEBOOK_ACTIVE == 'true'}
        {facebook id=$smarty.const.TRACKING_FACEBOOK_ID}
      {/if}
    {/if}
    {if $smarty.const.GOOGLE_CERTIFIED_SHOPS_MERCHANT_ACTIVE == 'true'}
      {googlecertificate subaccount=$smarty.const.GOOGLE_SHOPPING_ID account=$smarty.const.GOOGLE_TRUSTED_ID}
    {/if}

    BG kgd

    Steini200

    • Neu im Forum
    • Beiträge: 8
    Re: BETA MODUL: CustomersNotice - Hinweise für Kunden
    Antwort #104 am: 29. August 2018, 08:42:00
    Danke für die schnelle Antwort, leider habe ich immer noch keine Ausgabe. Soll ich noch andere Dateien mal zur Verfügung stellen?

    Der 6. Step der Install.txt sagt ja auch:

    Zitat
    6. In der Datei [SHOP_ROOT]/templates/[DEIN_TEMPLATE]/general_bottom.css.php nach der Zeile

    Code: PHP  [Auswählen]
        DIR_TMPL_CSS.'jquery.colorbox.css',

    folgende Zeile einfügen:

    Code: PHP  [Auswählen]
        DIR_TMPL_CSS.'customers_notice.css',

    Müsste es hier nicht:

    Zitat
    6. In der Datei [SHOP_ROOT]/templates/[DEIN_TEMPLATE]/css/general_bottom.css.php nach der Zeile

    Code: PHP  [Auswählen]
        DIR_TMPL_CSS.'jquery.colorbox.css',

    folgende Zeile einfügen:

    Code: PHP  [Auswählen]
        DIR_TMPL_CSS.'customers_notice.css',

    heißen?

    [EDIT Tomcraft 29.08.2018: Anleitung in Modul Version 0.5 für Shopversion 2.x in Beitrag 1 aktualisiert.]
    5 Antworten
    4745 Aufrufe
    12. Dezember 2013, 12:29:01 von misterwong
    9 Antworten
    6621 Aufrufe
    28. Februar 2012, 21:35:42 von karge
    2 Antworten
    2755 Aufrufe
    30. Mai 2013, 16:52:20 von Cookie
               
    anything