Close

Product image thumbnails?

crazyscrubs
7 years ago
#13590 Quote
Avatar
  • 11
The default theme shows all product thumbnails, which is how we want it to work:


However, the Uptown theme does not show all product thumbnails:


We want to be able to see all of them. However, we cannot find a setting for this to enable it. Is this a mistake/bug in the theme? We can see in the markup that the thumbnails are there, they are just currently hidden from view because of the way the theme is styled.
crazyscrubs
7 years ago
#13591 Quote
Avatar
  • 11
We have temporarily edited to try to fix this until we hear back:
Themes\Uptown\Views\Product\_ProductDetailsPictures.cshtml

Running our site locally, we see our changes.

However, after uploading the view to our web server, we do not see the changes take effect.

We're cleared nop cache, restarted the application, tried reloading the theme (plugin). We tried re-compiling, re-publishing, re-uploading all DLLs (including theme plugin DLLs) and our changes are still not showing.

We edited and uploaded Global.asax to force an app/site reload, and that did not work, either.

What do we need to do in order for view changes to show up on our production web server? We are using SmarterASP.net.

Thanks!
crazyscrubs
7 years ago
#13592 Quote
Avatar
  • 11
Proof changes work locally:
http://i.imgur.com/g7XD61Y.png

Changes not showing on server:
http://i.imgur.com/fTYmbDu.png

Correct file uploaded to server:
http://i.imgur.com/81gkUsN.png

Proof code changes match local file path:
http://i.imgur.com/kZi5kY1.png
crazyscrubs
7 years ago
#13593 Quote
Avatar
  • 11
Proof changes work locally:


Changes not showing on server:


Correct file uploaded to server:


Proof code changes match local file path:
crazyscrubs
7 years ago
#13594 Quote
Avatar
  • 11
We know where to go and tried both clear cache and restart app:
crazyscrubs
7 years ago
#13595 Quote
Avatar
  • 11
We waited over 24 hours to make sure the host's app pool recycled. Verified our changes still do not show.
Valentin
7 years ago
#13596 Quote
Avatar
  • 172
Greetings,

this issue has been handled. If you update your theme the changes will apply and you will not need to do any modifications. However, if you have made any customizations to your site that you do not want to lose, make sure to back up the modified files and merge them with the new ones after the update.
Best Regards,

Valentin Kirov
Nop-Templates.com
crazyscrubs
7 years ago
#13632 Quote
Avatar
  • 11
Thank you. We got the update and reloaded the theme.

With those changes, while we can scroll/click through all colors now, that is not how we want it to work.

We'd rather have our own customized page in place. However, changes to the view, when uploaded to our server, do not show, as we described previously.
crazyscrubs
7 years ago
#13633 Quote
Avatar
  • 11
I tried the documentation at:
https://www.nop-templates.com/how-to-modify-a-nop-templates-nopcommerce-theme

After we did that, our changes showed up.

Subsequent changes to the views in the new folder did not show up, though.

I opened a ticket with SmarterASP to see if they are caching our views or something.
crazyscrubs
7 years ago
#13634 Quote
Avatar
  • 11
We have confirmed it is not an issue with the web host.

I was able to determine that my changes weren't showing up because they were being hidden behind some div elements.

However, this was due to the fact that the template is not rendering correctly.

The only customization I have made was to the product Razor template (_ProductDetailsPictures.cshtml) and I added text at the top to confirm my changes were loading on the web server (nothing else):
"This is a change from Crazy Scrubs. There are no other changes in this file."

It renders properly locally:
http://imgur.com/OmyPCze

It does not, however, render properly on the server. Notice how the search box is misplaced, and the product photo is way down at the bottom:
http://imgur.com/6wdhWDr

I confirmed there are no Javascript errors:
http://imgur.com/oopM00K

I confirmed I am configured using my custom template:
http://imgur.com/7gf9PoL

I confirmed my path changes to Head.cshtml are in place:
http://imgur.com/KQPByV2

I confirmed the CSS loads properly:
http://imgur.com/jffVc6n


Here is our website and product page URL which is having issues:
http://new.scrubauthority.com/test-barco-one-womens-v-neck-top

Why is it working locally, but not on the server?