Close

Profile: Boyko

Avatar

User posts

final_thrill wrote:
I need to modify several razor views in the views folder.  I tried creating a "Views" folder under the default clean folder, then place my modified views in there.  However when I rebuild, and fire up the site, its not displaying the modified view.  What am I doing wrong? 


Hi final_thrill,

When you override views into a theme you need to have the same category structure.
For example if you want to override this view Views\MegaMenu\MegaMenu.cshtml into the DefaultClean theme you need to copy it in this folder of the plugin 
Themes\DefaultClean\MegaMenu\MegaMenu.cshtml.

10 years ago

BlueMed wrote:
Dear Support Team,

I want to change the format of the Order receipt received on mail as well as the Invoice PDF format.But with the editor with minimal support , I cannot the get the format what i expect. So i planed to do through coding.Only allowed message tokens are visible on receipt?.How can i do that.Kindly help me on this.

Regards,
Ela
BlueMed Dev Team


Hi Ela,

I think I don't understand what exactly you want to do. Please elaborate and explain what the problem is and how it is related to our products.

10 years ago

ezzat2k wrote:
I'm running the latest 3.40.


Thanks


Hi ezzat2k,

Thank you for the version update.
It is good that you are using the latest nopCommerce version.
Would you mind suggesting it in the UserVoice portal?
This way we could plan it for our next sprint and it could be done at some point next week.

BlueMed wrote:
Dear support team,

Our product box is showing the tier price instead of actual product price.I dont know What is wrong with it.Kindly help me on this.

Regards,
Ela


Hi Ela,

We wouldn't be able to help you unless you provide us with a link to your web site and administration credentials to see how you have setup your product prices.

[email protected] wrote:
FWIW - The new view has the following line:

    @(Html.DataTable<SevenSpikes.Nop.Plugins.MegaMenu.Models.MegaMenuCategoryModel>(categoriesModels, megaMenuSettings.NumberOfCategoriesPerRow, "row", "box",
    @<text>

... so I replaced "megaMenuSettings.NumberOfCategoriesPerRow" with "3" and this worked.  My issue is resolved however Im curious if this hard-coding is no longer required?  Is there somewhere else I can set this variable so I dont have to change the view anymore going fwd?


You can change this setting from the All Settings page in the administration. We have a video about how to search and change settings in our Videos section.

Sprites
10 years ago

IvanSlater wrote:
Hi Boyko.

Thanks for the answer. In our case, we use CDN to load images, so, each ribbon comes from a differente cdn server, what is creating multiple requests.

You can enable CDN and see it happens by webpagetest.org.

Thanks!!


Hi IvanSlater,

Yes, that makes sense. In that case you can use the approach with the css styles of the ribbon and use sprite background image.

Sprites
10 years ago

IvanSlater wrote:
Hi there.

As you know, product ribbons do a lot of extra requests to get the ribbon images.
It makes one request for each ribbon from each product, that is a lot of requests.

So, should be nice use sprites or less request.

It makes site slowers and increase server usage.

Can you take a look?


Hi IvanSlater,

The ribbons don't make so many requests as you described. The number of requests is equal to the number of different ribbons if each ribbon uses a different picture. A ribbon can be shown for many products but as the image of the ribbon is the same for all these products then the browser will make only a single request to get this image from the server and then it will use the same downloaded (cached) image (no more trips to the server).
So if you have 5 different ribbons (5 different pictures) on a single page then only 5 requests will be made from the browser.
You can use sprites now if you want and have these 5 images into a single sprite image.
But then you have to define styles for each ribbon and instead of uploading an image from the administration you will have to define the sprite image as background image of the ribbon.

mihailo82 wrote:
Please, 

Could anyone help me with setting number of items in home-page-category-grid div on home page.
Thanks a lot.


Hi mihailo82,

Unfortunately there is no setting in nopCommerce that can set the number of visible categories on the home page. nopCommerce shows all the categories that are marked with "Show on home page".
But you can limit them directly in the Razor view file.
For example if you want to show maximum 3 categories you can do it like this.
Open this file: Themes\Smart\Views\Catalog\HomepageCategories.cshtml

Change this line:

@foreach (var item in Model)


To be:

@foreach (var item in Model.Take(3))


You can change the number to meet your needs.

BlueMed wrote:
Hi,

We are working with nopcommerce 3.4 with Traction theme.After successful up gradation we are trying to restore the DB on the server through "Generate script" option. Everything is good except the script generation of SP "[ProductLoadAllPagegNopAjaxFilters".

Regards,
Ela
BlueMed Dev Team


Hi Ela,

When you generate the script you need to exclude this stored procedure as it is encrypted.
Then when you run the script on another SQL server you need to install the Ajax Filters again in order to have the stored procedure generated again and the Filters to work.
We have already discussed this here.

Bugs
10 years ago

BlueMed wrote:


We are using nopcommerce 3.4 traction theme.After successful up gradation, i am deleted the default store and keep our store.But the anywhere slider images and thumbnail images are blur.Unable to upload quality slider images. Help me on this..very urgent.

Regards,
Ela


Hi Ela,

We can't advice without seeing your web site. Please submit a ticket and provide a live link to your site. If you use the recommended image sizes you should not have problems with images.
Please refer to the documentation for the recommended image settings in the Traction theme documentation.