Close

Profile: Stefan

Avatar

User posts

8 years ago

insity wrote:
Thanks a lot Stefan, the changes suggested by you worked perfectly.


Hi insity,

I am glad it helped.

Thanks again.

8 years ago

Hi insity,

I understand what you need. Unfortunately there is no setting about it, but can be achieved fairly easy with some lines of css and js. In order to do this just follow the instructions below in case you are using nopCommerce version 3.50:

1. Open the Plugins\SevenSpikes.Nop.Plugins.RealOnePageCheckout\Themes\Motion\Content\RealOnePageCheckout.css file and add the following on line 77 :

.ropc .order-summary-content .section-body {
        display: block;
    }


This will make the order summary expanded by default.

2. Open the Plugins\SevenSpikes.Nop.Plugins.RealOnePageCheckout\Views\RealOnePageCheckout\RealOnePageCheckout.cshtml file and edit it as shown below:


<script type="text/javascript">
    $(document).ready(function () {

        if ($.getSpikesViewPort().width <= 768) {
            $('.panel-group.panel-group-right-middle').detach().insertBefore('.panel-group.panel-group-left');
        }


        $('.page-body').on('click', '.ropc .section-title', function () {
            var e = window, a = 'inner';
            if (!('innerWidth' in window)) {
                a = 'client';
                e = document.documentElement || document.body;
            }


            var result = { width: e[a + 'Width'], height: e[a + 'Height'] };

            if (result.width < 769) {
                $(this).siblings('.section-body').slideToggle('slow');
            }
        });
    });
</script>


The line in bold is the one that should be added.

Hope that helps.

8 years ago

chrisADK wrote:
Hi Stephan,,

Ok great. I was not clear on part of this. It needs to be after Quick Tabs though. So that the product description shows up before the attributes.

Thanks Chris


Hi Chris,

In that case just place the code that is cut after the line:

@Html.Widget("productdetails_before_collateral", Model.Id)

This is the widget zone used for the Nop Quick Tabs.

Hope that helps.

8 years ago

Hi chrisADK,

You can do this by a very simple cut and paste. Just open your Themes/Motion/Views/Product/ProductTemplate.Simple.cshtml file and locate the code for the attributes:

  @{
                    var dataDictAttributes = new ViewDataDictionary();
                    dataDictAttributes.TemplateInfo.HtmlFieldPrefix = string.Format("attributes_{0}", Model.Id);
                    @Html.Partial("_ProductAttributes", Model.ProductAttributes, dataDictAttributes)
                }

Just cut it and paste it right before the following line:

@Html.Widget("productdetails_before_collateral", Model.Id)

This will make the attributes be displayed below the image and before the quick tabs. So now you will just need to add your css in order to make the dropdowns full width as you need.

Hope that helps.

Footer
8 years ago

rodeon wrote:
Hi;
I am trying to add product catagories to the footer but ı cant do it.how can ı solve that problem.I want to add some links to the footer.ı am using codless version. can you help me ?


Hi rodeon,

By default in nopComemrce there is no such functionality. You will need to do this manually by editing the Themes/Brooklyn/Views/Common/Footer.cshtml file and add links to your categories.

If you are wondering how to build the category link you can have a look at the Themes/Brooklyn/Views/Catalog/TopMenu.cshtml file.

Hope that helps.

8 years ago

jakubz wrote:
Thanks Peter that's works great! Maybe i show our new release when we end:) 

I have question, but i don't know where add this topic. We actually try update Nop from 3.6 to 3.7, and we decide to stop support Smart Theme (you create so clean "default" theme" so we think to change for it). Your default plugins looks better than in our customization ;) and we don't need change anything there.

Unfortunately default theme don't have one thing. "Top Arrow", which when click it, we are moved to a top of page. Is this easy way to add this to default theme?


Hi jakubz,

Yes it will not be hard to achieve the scroll to top functionality. Just add the <div id="goToTop"></div> element before the ending body tag and use the following js in order to trigger the scrolling:

$(document).ready(function () {

    $(window).on("scroll", function () {

        if ($(window).scrollTop() > 100) {// 100px - go to top scroll barier
            $("#goToTop").show();
        }
        else {
            $("#goToTop").hide();
        }
    });

     $("#goToTop").on("click", function () {
        $('html,body').animate({ scrollTop: 0 }, 400);
     });

});


Now you will need just to style the button as you wish.

Hope that helps.

8 years ago

Hi Jakubz,

As you know all plugins in a theme are designed and implemented according to the theme design. So that is why all the functionality from the plugins that come with the Smart theme is different than the one that comes with the default clean theme. Actually as the default clean theme is not ours we cannot implement the default plugins to work like the plugins in the Smart theme - to have a navigation bar at the top on mobile so that the filters and menu are opened as they are in the Smart theme. Such customization will not be straightforward, so I believe it will be easier to change the Smart theme instead of changing the default clean theme to have the functionality of the smart theme.

Hope that makes sense.

Product Tags
8 years ago

JayC wrote:
Is there a way to have the products tags not show up on the product detail page but still be active?


Hi Jay,

Yes you can hide them via css code. Just add the following in your admin -> plugins -> 7spikes themes -> nop motion theme -> settings -> custom head styles textbox:

.product-details-page .product-tags-box {display: none;}

Hope that helps.

Bugs
9 years ago

Hi,

By design when you hover over the product, there is an overlay displayed showing that the image becomes not clickable and the buttons are displayed in the center of the product box. The name of the product remains clickable though. If you think is it confusing for the customers, we can change that so that the overlay is still clickable.

Thanks in advance.

Bugs
9 years ago

berecan wrote:
Hi, can u explain me what i do wrong?
install this theme on clear nop 3.7 and have problem with Categories Hover Effect. This effect is shown under the picture.

http://c2n.me/3rDBWVr


Hi berecan,

By design the images should be higher. On our demo the picture dimensions are 450px x 330px . Can you try uploading higher images and make sure that the Categories Thumbnail setting in your Media settings is set to 450px.

Please let me know how it goes.