Okay
  Public Ticket #717925
remove brand slider
Closed

Comments

  • Vladyslav started the conversation

    hi, how can i remove brand slider from my-account page? (new york theme)

    thanks.

  •  1,593
    Criss replied

    Please open: "root/themes/yourtheme/footer.tpl

    Find

                {if isset($HOOK_FIELDBRANDSLIDER) && !empty($HOOK_FIELDBRANDSLIDER)}
                    <div class ="Brands-block-slider">
                    <div class="container">
                        {$HOOK_FIELDBRANDSLIDER}
                    </div>
                    </div>
                {/if}

    Replace with:

    {if isset($HOOK_FIELDBRANDSLIDER) && !empty($HOOK_FIELDBRANDSLIDER) && $page_name!="my-account"}
                    <div class ="Brands-block-slider">
                    <div class="container">
                        {$HOOK_FIELDBRANDSLIDER}
                    </div>
                    </div>
                {/if}
    

    Best Regards,
    Criss - FieldThemes

  • Vladyslav replied

    {*
    * 2007-2015 PrestaShop
    *
    * NOTICE OF LICENSE
    *
    * This source file is subject to the Academic Free License (AFL 3.0)
    * that is bundled with this package in the file LICENSE.txt.
    * It is also available through the world-wide-web at this URL:
    * http://opensource.org/licenses/afl-3.0.php
    * If you did not receive a copy of the license and are unable to
    * obtain it through the world-wide-web, please send an email
    * to [email protected] so we can send you a copy immediately.
    *
    * DISCLAIMER
    *
    * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
    * versions in the future. If you wish to customize PrestaShop for your
    * needs please refer to http://www.prestashop.com for more information.
    *
    *  @author PrestaShop SA <[email protected]>
    *  @copyright  2007-2015 PrestaShop SA
    *  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
    *  International Registered Trademark & Property of PrestaShop SA
    *}
    {if !isset($content_only) || !$content_only}
    </div><!-- #center_column -->
    {if isset($right_column_size) && !empty($right_column_size)}
        <div id="right_column" class="col-xs-12 col-sm-{$right_column_size|intval} column">{$HOOK_RIGHT_COLUMN}</div>
    {/if}
    </div><!-- .row -->
    </div><!-- #columns -->
    </div><!-- .columns-container -->
                {if isset($HOOK_FOOTER)}
                <!-- Footer -->
                            <div class="footer-container-to-call-popupnewsletter">
                                   {$HOOK_FOOTER}
                </div><!-- #footer -->
                {/if}
    {if isset($HOOK_PRODUCT_FOOTER) && !empty($HOOK_PRODUCT_FOOTER)}
        <div class="block_productcates">
            <div class ="container">
                <div class="row">
                    {$HOOK_PRODUCT_FOOTER}
                </div>
            </div>  
        </div>
    {/if}
     {if isset($HOOK_BRAND) && !empty($HOOK_BRAND)}
                    {$HOOK_BRAND}
            {/if}
    <div id="footer" class="footer-container">
        <div class="footer-center">
            <div class="container">
                <div class="row">
                    {if isset($HOOK_BLOCKFOOTER1) && !empty($HOOK_BLOCKFOOTER1)}
                            {$HOOK_BLOCKFOOTER1}
                    {/if}
                </div>
            </div>
        </div>
        <div class="footer-bottom">
            <div class="container">
                <div class="row">
                    {if isset($HOOK_BLOCKFOOTER2) && !empty($HOOK_BLOCKFOOTER2)}
                            {$HOOK_BLOCKFOOTER2}
                    {/if}
                </div>
            </div>
        </div>
    </div>
    </div><!-- #page -->
    {/if}
    <div id="scroll-top">
            <div class="back-top"><a href= "#" class="mypresta_scrollup hidden-phone"><i class="icon-chevron-up"></i></a></div>
    </div>
    
    <div id="layer_compare" class="layer_box">
        <div class="layer_inner_box">
       <div class="layer_product clearfix">
       <span class="cross icon-remove" title="{l s='Close window'}"></span>
       <div class="product-image-container layer_compare_img"></div>
       <div class="layer_product_info">
           <span id="layer_compare_product_title" class="product-name"></span>
       </div>
       </div>
       <div id="compare_add_success" class="success">{l s='Product successfully added to the product comparison!'}</div>
       <div id="compare_remove_success" class="success hidden">{l s='Product successfully removed from the product comparison!'}</div>
       <div class="button-container clearfix">
           <a class="continue pull-left btn btn-default" rel="nofollow" href="javascript:;">{l s='Continue shopping'}</a>
           <a class="pull-right btn btn-default layer_compare_btn" rel="nofollow" title="{l s='Go to Compare'}" href="{$link->getPageLink('products-comparison')|escape:'html':'UTF-8'}">{l s='Go to Compare'}</a>
       </div>
        </div>
    </div>
    <div class="layer_compare_overlay layer_overlay"></div>
    {include file="$tpl_dir./global.tpl"}
    </body>
    </html>

    i dont have same code.

  •  1,593
    Criss replied
            {if isset($HOOK_BRAND) && !empty($HOOK_BRAND) && $page_name!="my-account"}
                    {$HOOK_BRAND}
            {/if}

    Best Regards,
    Criss - FieldThemes

  • Vladyslav replied

    it not working, can plz you paste this code to the right place in template?

  •  1,593
    Criss replied

    Did you try to clear your store's cache?

    We're sorry but our working time's over, please provide us your Back Office & FTP info. We'll check it & reply you tomomrrow!



    Best Regards,
    Criss - FieldThemes

  • Vladyslav replied

    cashe is clean, i dont understand where i paste you code in the template, see you tomorrow )

  •  1,593
    Criss replied

    Here you're:

    {*
    * 2007-2015 PrestaShop
    *
    * NOTICE OF LICENSE
    *
    * This source file is subject to the Academic Free License (AFL 3.0)
    * that is bundled with this package in the file LICENSE.txt.
    * It is also available through the world-wide-web at this URL:
    * http://opensource.org/licenses/afl-3.0.php
    * If you did not receive a copy of the license and are unable to
    * obtain it through the world-wide-web, please send an email
    * to [email protected] so we can send you a copy immediately.
    *
    * DISCLAIMER
    *
    * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
    * versions in the future. If you wish to customize PrestaShop for your
    * needs please refer to http://www.prestashop.com for more information.
    *
    *  @author PrestaShop SA <[email protected]>
    *  @copyright  2007-2015 PrestaShop SA
    *  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
    *  International Registered Trademark & Property of PrestaShop SA
    *}
    {if !isset($content_only) || !$content_only}
    </div><!-- #center_column -->
    {if isset($right_column_size) && !empty($right_column_size)}
        <div id="right_column" class="col-xs-12 col-sm-{$right_column_size|intval} column">{$HOOK_RIGHT_COLUMN}</div>
    {/if}
    </div><!-- .row -->
    </div><!-- #columns -->
    </div><!-- .columns-container -->
                {if isset($HOOK_FOOTER)}
                <!-- Footer -->
                            <div class="footer-container-to-call-popupnewsletter">
                                   {$HOOK_FOOTER}
                </div><!-- #footer -->
                {/if}
    {if isset($HOOK_PRODUCT_FOOTER) && !empty($HOOK_PRODUCT_FOOTER)}
        <div class="block_productcates">
            <div class ="container">
                <div class="row">
                    {$HOOK_PRODUCT_FOOTER}
                </div>
            </div>  
        </div>
    {/if}
     {if isset($HOOK_BRAND) && !empty($HOOK_BRAND) && $page_name !="my-account"}
                    {$HOOK_BRAND}
            {/if}
    <div id="footer" class="footer-container">
        <div class="footer-center">
            <div class="container">
                <div class="row">
                    {if isset($HOOK_BLOCKFOOTER1) && !empty($HOOK_BLOCKFOOTER1)}
                            {$HOOK_BLOCKFOOTER1}
                    {/if}
                </div>
            </div>
        </div>
        <div class="footer-bottom">
            <div class="container">
                <div class="row">
                    {if isset($HOOK_BLOCKFOOTER2) && !empty($HOOK_BLOCKFOOTER2)}
                            {$HOOK_BLOCKFOOTER2}
                    {/if}
                </div>
            </div>
        </div>
    </div>
    </div><!-- #page -->
    {/if}
    <div id="scroll-top">
            <div class="back-top"><a href= "#" class="mypresta_scrollup hidden-phone"></a></div>
    </div>
    
    <div id="layer_compare" class="layer_box">
        <div class="layer_inner_box">
       <div class="layer_product clearfix">
       
       <div class="product-image-container layer_compare_img"></div>
       <div class="layer_product_info">
           
       </div>
       </div>
       <div id="compare_add_success" class="success">{l s='Product successfully added to the product comparison!'}</div>
       <div id="compare_remove_success" class="success hidden">{l s='Product successfully removed from the product comparison!'}</div>
       <div class="button-container clearfix">
           <a class="continue pull-left btn btn-default" rel="nofollow" href="javascript:;">{l s='Continue shopping'}</a>
           <a class="pull-right btn btn-default layer_compare_btn" rel="nofollow" title="{l s='Go to Compare'}" href="{$link->getPageLink('products-comparison')|escape:'html':'UTF-8'}">{l s='Go to Compare'}</a>
       </div>
        </div>
    </div>
    <div class="layer_compare_overlay layer_overlay"></div>
    {include file="$tpl_dir./global.tpl"}
    </body>
    </html>

    Best Regards,
    Criss - FieldThemes

  • Vladyslav replied

    very big thanks =)))

    it work perfect.

  • Vladyslav replied

    please ca you help.


    I want to add field-main-slider to the brand page (manufacturer), i have 3 different manufacturer pages and i want to add slides from admin panel.

  •  1,593
    Criss replied

    We're so sorry because we don't provide custom service.

    Have a good day!

    Best Regards,
    Criss - FieldThemes