Jump to content

Details button does not work


Recommended Posts

I have set-up an installation of 1.606.  I am not a developer and do not code.

 

When my test customer goes to their account and clicks the "Details" button [javascript:showOrder(1,%2025,%20'http://nfstp.ca/store/en/index.php?controller=order-detail');] nothing happens.

 

Can someone give me step by step instructions on how to fix this?

 

Thanks,

Kevin

Link to comment
Share on other sites

Hi,

 

1) check js-console log, maybe you can find any errors related with this issue;

2) enable dev_mode (how to do it: http://blog.belvg.com/showing-php-and-sql-errors-and-debugging-a-blank-white-page-in-prestashop.html)

3) use debugger for invistigate this issue

also you can find js-code with this function in your theme: /themes/default-bootstrap/js/history.js

 

Regards

Link to comment
Share on other sites

Hi,

 

1) check js-console log, maybe you can find any errors related with this issue;

2) enable dev_mode (how to do it: http://blog.belvg.com/showing-php-and-sql-errors-and-debugging-a-blank-white-page-in-prestashop.html)

3) use debugger for invistigate this issue

also you can find js-code with this function in your theme: /themes/default-bootstrap/js/history.js

 

Regards

Thank you for the advice.  I have changed the config/defines.inc.php as described.  But as I mentioned I am not a programmer so this is of little help to me.  When I use Firefoxes "Inspect Element"  I get the following:

 

    <!DOCTYPE html>

    <!--

    [if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-…

    -->

    <!--

    [if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" la…

    -->

    <!--

    [if IE 8]><html class="no-js lt-ie9 ie8" lang="en"…

    -->

    <!--

    [if gt IE 8]> <html class="no-js ie9" lang="en"><!…

    -->

    <html class="" lang="en">

        <head></head>

        <body id="history" class="history hide-left-column hide-right-column lang_en">

            <div id="page">

                <div class="header-container"></div>

                <div class="columns-container">

                    <div id="columns" class="container">

                        <!--

                         Breadcrumb

                        -->

                        <div class="breadcrumb clearfix"></div>

                        <!--

                         /Breadcrumb

                        -->

                        <div class="row"></div>

                        <div class="row">

                            <div id="center_column" class="center_column col-xs-12 col-sm-12">

                                <h1 class="page-heading bottom-indent"></h1>

                                <p class="info-title"></p>

                                <div id="block-history" class="block-center">

                                    <table id="order-list" class="table table-bordered footab default footable-loaded footable">

                                        <thead></thead>

                                        <tbody>

                                            <tr class="first_item ">

                                                <td class="history_link bold footable-first-column"></td>

                                                <td class="history_date bold" data-value="20140520164735"></td>

                                                <td class="history_price" data-value="30.68"></td>

                                                <td class="history_method"></td>

                                                <td class="history_state" data-value="3"></td>

                                                <td class="history_invoice"></td>

                                                <td class="history_detail footable-last-column">

                                                    <a class="btn btn-default button button-small" href="javascript:showOrder(1, 25, 'http://nfstp.ca/store/en/index.php?controller=order-detail');">

                                                        <span></span>

                                                    </a>

                                                    <a class="link-button" title="Reorder" href="http://nfstp.ca/store/en/order?submitReorder=&id_order=25&li…f3637c794c9&id_shop=1&id_employee=1&theme=theme7&theme_font="></a>

                                                </td>

                                            </tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="item "></tr>

                                            <tr class="item alternate_item"></tr>

                                            <tr class="last_item "></tr>

                                        </tbody>

                                    </table>

                                    <div id="block-order-detail" class="unvisible"></div>

                                </div>

                                <ul class="footer_links clearfix"></ul>

                            </div>

                            <!--

                             #center_column

                            -->

                        </div>

                        <!--

                         .row

                        -->

                    </div>

                    <!--

                     #columns

                    -->

                </div>

                <!--

                 .columns-container

                -->

                <!--

                 Footer

                -->

                <div class="footer-container"></div>

                <!--

                 #footer

                -->

            </div>

            <!--

             #page

            -->

            <script type="text/javascript"></script>

            <script src="/store/js/jquery/jquery-1.11.0.min.js" type="text/javascript"></script>

            <script src="/store/js/jquery/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>

            <script src="/store/js/jquery/plugins/jquery.easing.js" type="text/javascript"></script>

            <script src="/store/js/tools.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/global.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/autoload/10-bootstrap.min.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/autoload/15-jquery.total-storage.min.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/autoload/15-jquery.uniform-modified.js" type="text/javascript"></script>

            <script src="/store/js/jquery/plugins/fancybox/jquery.fancybox.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/products-comparison.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/history.js" type="text/javascript"></script>

            <script src="/store/js/jquery/plugins/footable/jquery.footable.js" type="text/javascript"></script>

            <script src="/store/js/jquery/plugins/footable-sort/jquery.footable-sort.js" type="text/javascript"></script>

            <script src="/store/js/jquery/plugins/jquery.scrollTo.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/modules/blockcart/ajax-cart.js" type="text/javascript"></script>

            <script src="/store/js/jquery/plugins/jquery.serialScroll.js" type="text/javascript"></script>

            <script src="/store/js/jquery/plugins/bxslider/jquery.bxslider.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/tools/treeManagement.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/modules/blocknewsletter/blocknewsletter.js" type="text/javascript"></script>

            <script src="/store/js/jquery/plugins/autocomplete/jquery.autocomplete.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/modules/blocksearch/blocksearch.js" type="text/javascript"></script>

            <script src="/store/modules/themeconfigurator/js/live_configurator.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/modules/blockwishlist/js/ajax-wishlist.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/modules/blocktopmenu/js/hoverIntent.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/modules/blocktopmenu/js/superfish-modified.js" type="text/javascript"></script>

            <script src="/store/themes/default-bootstrap/js/modules/blocktopmenu/js/blocktopmenu.js" type="text/javascript"></script>

        </body>

    </html>

Link to comment
Share on other sites

×
×
  • Create New...