Yes, this can't be handled by the theme because we are using the nopCommerce ProductDetailsModel and we can't modify the code.
Hi,
The above solutions are workarounds so they are not the best practices.
You should ask this question in the nopCommerce forum, but the 3.9 release date is quite soon so most likely the nopCommerce team won't do it for 3.9.
Hi,
Unfortunately, the StockAvailability property of the ProductDetailsModel is localized text.
If you have only two languages you can use the || operator in the conditional statement.
Hi,
There are a few ways to do it:
1. Use the jQuery "contains" selector.
Here is a simple code:
$('.stock span.value:contains(Out of stock)').css('color', 'red');
<span class="value @if (Model.StockAvailability == "Out of stock"){<text>out-of-stock</text>}"
Hello,
Thank you for reporting this. We have fixed it and the packages will be deployed to our server after 1 hour.
The changes are in the Info.cshtml, Register.cshtml, EstimateShipping.cshtml and in styles.css files.
Hi,
You can simulate click on the checkboxes on document ready. The "data-option-ids" attribute contains the filter item Id.
Please note that this will cause a page refresh.
Hi,
The Global.asax file does not compile to a .dll file.
Here you can find out more information about your issue. We have found out that sometimes the Restart Application button from the administration is not working as expected.
Hi,
You have to restart the application manually because sometimes there is a problem with restarting the application from the admin area.
You must have Global.asax file.
Hi,
Can you restart the application by adding an empty space at the end of the Global.asax file?
Hi,
Yes, that is right.
You can test this on our demo site. Here is a link with a selected Manufacturer filter "Apple". You can use further filters also on this page but if you change the category they will be lost because we don't have category filters. It is category navigation.