Close

Profile: hristo

Avatar

User posts

tarekmahran wrote:
Hi,

I bought Pavillion theme and I want to add country selection option in the preference header item. I had multicountry store and want to allow visitors to select country.

How can I do that by the best way.

Regards,
Faramawy



Hello,

in nopCommerce, there are just these three types of options: tax type, currency and language. If you need another one, you have to do implement it yourself. Take a look in Header.cshtml file (Themes\Pavilion\Views\Shared), the code block for header selectors looks like this:

<div class="header-selectors">
    @taxTypeSelectorHtml
    @currencySelectorHtml
    @languageSelectorHtml
    @headerSelectorWidgetHtml
</div>

This code is linking to "partial" files where each option's logic is. The partial files are "CuurencySelector.cshtml", "LanguageSelector.cshtml" and "TaxTypeSelector.cshtml". You have to build your custom code in a similar way.


Regards

8 years ago

En.RaMy wrote:
Hi,

I want to add Background textures to the theme as implemented in http://themes.allure.nop-templates.com/men

Please help !


Hi,

you can easily add a background texture to your site, just add this code to the custom head styles panel in your administration:

body {
    background-image: url('../img/your-texture-file.png');
    background-repeat: repeat;
}

Then place your texture image in the image folder of your theme Themes\Brooklyn\Content\img

Keep in mind that you can add only one texture.

8 years ago

GreatAdventure wrote:

To make navigation easier on mobile, how hard would it be to have the category headings collapsible (and collapsed by default)?

Sorry for the confusion. To be more clear I now know what I'm talking about. What I'm asking about is the "Smart Product Collections" on the home page.

Would it be possible to make them so that they can be collapsed on mobile devises?

Thanks,
Shawn



Hello GreatAdventure,

yes, your request is clear, and you have a point, I think overall UX will be better this way on a smartphone. We will discuss it after the Holidays and will get back to you to let you know if it's going to be implement it or not.

8 years ago

mshaikhji wrote:
Hi All,

I want to make the pop up window of conditions to be of width(say 600) and height(say 600) and the content should be scrollable.

As of now, I have a page which is quite long and whatever width i am trying to set, its getting overridden by ui-dialog class which sets width at (350px !important) which actually makes the conditions page wierd and infact the page is so lengthy that there is no scrollbar available and the full page goes way beyond the footer and looks wierd.

Is there any solution to work for this problem?

I think that the admin must have feature to set the width/height of the popup window at specifies pages like cart page, which is actually very important in terms of admin perspective.

Thanks all...!



Hello mshaikhji,

yes, you can restyle the "Terms" window, but unfortunately there is no way to distinguish it from other "dialog" windows. This means that if you restyle it (make it big or whatever) every other dialog popup on your site will change too.

Let me know if you still want to proceed and I'll give you some guidelines.

8 years ago

monishrafi wrote:
Hi,

Please any body help on this as we need to add increment decrement button inline with quantity box so that user can change quantity through mouse click

we are using motion responsive theme and nop ajax cart



Here is a script you can use for that, but you have to initialize it (and style the new elements) on your own, since this is not a part of the theme:


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);
}


You have to add 2 new elements (e.g. <span>) around your quantity input text box in all possible scenarios (product templates, shopping cart table, plugins...) and use the class names "increase" and "decrease" to get them targeted by the above script. When ready, initialize the handlePurchaseQuantityValue() function and test.


Regards

8 years ago

jkeeler wrote:
I have about 20 or so top level categories and on the home page, the menu is fixed down. This forces the home page content to begin after the category menu.  I understand there is a slider there on the demo site, however I need to push the content up or I will have a huge gap of empty space. I also modified the theme to use ColumsTwo on the home page.  Thanks.


Hi jkeeler,

unfortunately that's not possible. Pavilion theme's home page may look like composed of two columns, but it's not, the content is divided into two horizontal sections - the first one is containing the category menu, main slider and 2 product carousels, and the second is containing the rest of the content on the page. You can't shift content from the second section into the first one - it always starts where the first section ends. So if you have a big gap in the first section, the only you can do is to fill it with a bigger slider or an additional product carousel.

Regards

abc_nopdev wrote:
Is there any way to link a product attribute to another page? So it goes to a completely different product page when you select a color, for example, rather than just selecting another image from the carousel.

Thanks!


No, sorry, currently there is no such functionality in nopCommerce.

8 years ago

abc_nopdev wrote:
How do I remove the RSS Feed Button that is next to the other social media icons?


Hi,

if you turn the "news" off in your administration, the rss icon will disappear. If you want to have the "news" on, and just to hide the rss icon, you have to hide it with css. Just go to your "custom head styles" panel in your administration and put this code there:

.social-sharing li.rss {
    display: none;
}

Regards

8 years ago

jkeeler wrote:
The category menu on the home page is static and on all other pages it is not. Is it possible to have the home page category menu the same as the rest of the site or vise versa?


Hello jkeeler,

no this is not possible since the menu is implemented in two different ways on home page and on all other pages. On the other pages the menu list is a part of the header, while on home page it is not. If you want to change this you have to write your custom logic to override the default behavior of the menu and then adapt the css to the new state.

Regards

Hello,

sorry for the delay, this issue is now moved to the support ticket system.

Regards