Close

Profile: hristian.dimov

Avatar

User posts

7 years ago

abc_nopdev wrote:
Any help would be appreciated! Thanks!


Hi,

sorry for the late reply!

I answered your question in the ticket that you submitted, but I will post the answer here as well.

"Unfortunately, there is no way to change the timezone for the plugins. All of the dates are stored in UTC format ( like everywhere in nopCommerce ). You need to convert your dates in UTC format."

Hope this helps!

Bivolini wrote:
Hi,

I have created 2 stores with same FTP account, I found a problem with google crawl, so the best solution i do is to delete the second store.

now my brooklyn and plugins are installed, but the plugins seems not working, for exemple the 'anywhere sliders' and 'Mega menu' plugins (no flayout menu + no silde images), also the add to basket button not work.

I think there is a problem with all 7Spikes plugins!



Hi,

Could you please explain what is not working? The installed plugins are only related to the store on which they are installed. Please check if all plugins that are installed are present on your server as well.

If everything looks fine, it would be very helpful if you submit a ticket and provide an admin credential to your site so that we can check it.

Looking forward to your reply!

7 years ago

reencafesa wrote:
Can I put a default category or manufacturer in the filter?


Yes, you can. All you have to do is to modify the "\Plugins\SevenSpikes.Nop.Plugins.AjaxFilters.Pro\Views\AjaxFiltersPro\NopFiltersPro.cshtml" by adding this code at the bottom of the file:

<script type="text/javascript">
    $(document).ready(function() {
        var dropdownlist = $("#categories").data("kendoDropDownList");

        dropdownlist.value("1");
        dropdownlist.trigger("change");

        $(document).on('nopAjaxFiltersProInitialLoadEvent', function () {
            $('.home-page-filter-selector:first input').trigger('change');
        });
    });
</script>

where $("#categories") is the categories dropdown and .value("1"); is the "id" of the category that you want to pre-select by default.

P.S. if you want to pre-select the manufacturer dropdown instead of categories, change it like this - $("#manufacturers").

P.S 2 - you might wanna change the default value of the specification inputs to "-1" because if you left it with value 0, this will trigger a chain reaction and it will load all of the dropdowns.

from this: <input type="hidden" id="specification_@(spec.Id)" name="specificationOptions" value="0" class="ajaxFiltersProSpecificationItem"

to this: <input type="hidden" id="specification_@(spec.Id)" name="specificationOptions" value="-1" class="ajaxFiltersProSpecificationItem"

Hope this helps!

7 years ago

dyrarikid wrote:
Hi,

I was wondering if there are some calculating bugs on the theme regarding taxes?

I put the default tax as 24% (Which we use in Iceland) but it seems to be calculating the tax incorrectly...

If I buy a product in 200.000 ISK (Icelandic Krona) then the tax should be 48.000 ISK.
But it will show instead that the tax is: 38.710 ISK.

Please advice.

Regards,
Odinn Thor


Hi,

The theme itself does not change or calculate the taxes anyhow. This is done by core code functionality of nopCommerce. If you switch to the DefaultClean theme, you will see that prices are the same. Please double-check if you have entered the correct values.

Hope this helps!

7 years ago

subhajit01 wrote:
In nitro nop commerce theme have a section featured products so, I want to remove this section and at the same position on the home page I want to display the main category products with heading like category products or sub category products.first, need to know how to remove featured product section and how to add a headline for each category so customer know which product for which industry or what application. I hope you understand.

For reference please click the link:https://www.gmtglobalinc.com/

Thank you so much in advance.


Hi,

you can completely remove the home page products by removing this line: @Html.Action("HomepageProducts", "Product") from this file "Themes\Nitro\Views\Home\Index.cshtml". As for the categories with their products you have to write your own code to retrieve the categories and show them in the appropriate place.

Hope this helps!

7 years ago

subhajit01 wrote:
In home page category navigation section is possible to customize like nopcommerce administration navigation for example when i clicked any parent category that time open all sub category of parent category.same with nop-commerce administration navigation-bar. If it is possibe then please let me know how can i do that.


Hi,

Yes, it is possible. The easiest way is to use jQuery. You can bind a click event ( https://api.jquery.com/click/ ) to each of the categories that have children categories and slide toggle their content ( you can use slideToggle - http://api.jquery.com/slidetoggle/ ).

Hope this helps!

7 years ago

reencafesa wrote:
Hello everyone, I want to filter this way:
[Specification_1] [Specification_2] ... [Specification_N]
Or so that [Categories] or [Manufacturers] have the option of everything available and this is always by default, I need to filter without categories or manufacturers.

Thanks


Hi,

unfortunately, this is not possible. It is mandatory to have a category or manufacturer for the first drop-down. Since there is no page where you can see all products from all categories/all manufacturers having an "All available" option is not possible as well.

Hope this helps!

7 years ago

subhajit01 wrote:
first of all thank you so much for your reply.

@{
            if (category.Id == Model.CurrentCategoryId ||
                category.SubCategories.Count(BreadCrumbContainsCurrentCategoryId) > 0)}
when I remove above code that time showing every category,but in our website we have one main category(Linear motion) , under the main category have another category, if we called category 1 . under the category 1 we have other categoriesa called category 2, so i need to show main category and category 1 but not category 2 which is under the  category 1.
for your clear understand please visit  our website. LINK:https://www.gmtglobalinc.com/


I hope you get my point.
Please help me i do not able to do this only.


Hi,

unfortunately, this scenario requires modifications which is out of the scope of our support line. I suggest you ask in the nopCommerce forum as there you might find someone with the same requirement as yours.

Hope this helps!

JRon wrote:
Hi there, I am trying to add increment and decrement buttons to the quantity box on the product page on my dev website, It´s based on the Alfresco theme but I am not using the Ajax cart plugin (due to another reason)

I am trying to implement the solution discussed here https://www.nop-templates.com/boards/topic/3052/increment-decrement-button but it´s not working for me, I am pasting my code from _AddToCart.cshtml here below, any suggestion to make this work?

<button type="button" class="minus decrease left">
    <span>-</span>
</button>
@Html.TextBoxFor(model => model.EnteredQuantity, new {@class = "qty-input left"})
<button type="button" class="plus increase left">
    <span>+</span>
</button>

<script>
    $(document).ready(function() {
        function incrementQuantityValue(event) {
            event.preventDefault();
            event.stopPropagation();
            var input = $(this).siblings('.qty-input');
            var value = parseInt(input.val());
            if (isNaN(value)) {
                input.val(1);
                return;
            }
            value++;
            input.val(value);
                
            input.trigger('input');
        }
        function decrementQuantityValue(event) {
            event.preventDefault();
            event.stopPropagation();
            var input = $(this).siblings('.qty-input');
            var value = parseInt(input.val());
            if (isNaN(value)) {
                input.val(1);
                return;
            }
            if (value <= 1) {
                return;
            }
            value--;
            input.val(value);

            input.trigger('input');
        }
        function handlePurchaseQuantityValue() {
            $(document).on('click', '.add-to-cart .increase, .cart .increase', incrementQuantityValue);
            $(document).on('click', '.add-to-cart .decrease, .cart .decrease', decrementQuantityValue);
        }
    });
</script>


Hi,

You need to do 2 things. First - change those 2 lines:

from this:

$(document).on('click', '.add-to-cart .increase, .cart .increase', incrementQuantityValue);
$(document).on('click', '.add-to-cart .decrease, .cart .decrease', decrementQuantityValue);

to this:

$(document).on('click', '.increase', incrementQuantityValue);
$(document).on('click', '.decrease', decrementQuantityValue);

And second - add this line

handlePurchaseQuantityValue();

after this:

function handlePurchaseQuantityValue() {
      $(document).on('click', '.increase', incrementQuantityValue);
      $(document).on('click', '.decrease', decrementQuantityValue);
}

Hope this helps!

7 years ago

subhajit01 wrote:
I want to modify the home page left side column bar which showing category of products but  I want category and subcategory showing column bar at the same time at the home category section. Please let me know how can I do it. I tried but I am not able to that. please help me

Left side column bar style is below

>Linear Motion
(Main category)
    >Support Unit(sub category)
    >Coupling (Sub category)
    >crossed roller slide rail(sub category)


>Positioning Stage(Main Category)
     >Manual positioning stage(Sub category)
     >Motorized positioning stage(Sub category)

And so on. I need to customize my homepage left side column bar like above style. please let help me how to do



Hi,

From what I understand, you want to show all categories and their subcategories. If that is correct, you need to modify the CategoryNavigation.cshtml view. All you have to do there is to remove this check:

if (category.Id == Model.CurrentCategoryId || category.SubCategories.Count(BreadCrumbContainsCurrentCategoryId) > 0)
{

and of course the closing curly bracket "}".

Hope this helps!