Close

Profile: Deni

Avatar

User posts

bizsol wrote:
Hi Mladen

Just to let you know

I have tried putting the code in various places ?

but no succes

What do you think ?

Once again, Great appreciation for your help on this

Martyn - bizsol


Hi, 

Sorry, forgot to mention that you have to add class to the "Download Picture" link:

<div><a href="@Model.DefaultPicture.FullSizeImageUrl" target="_blank" class="downloadPictureLink">Download Picture</a></div>


That`s it !

nonam wrote:
Hello:

Am downloading the new update from NopCommerce and am looking for any new update for the ArtFactory theme to match with it. Please confirm if there are any changes. 

Thanks!

Manon :)


Hi, 

We have not released our products for v3.70. We will have a official release note when this is done and I think this will be tomorrow.

Bugs
9 years ago

joster wrote:
Ok, thank you. I will email you. Maybe the new version of your script will work.
I received a response from support at hotjar:

Hey Steve,

Unfortunately this is an incompatibility with the SevenSpikes script you're using and we can't resolve from our end. It sets up a $.isMobile() method, which normally should be a $.isMobile property and this breaks the whole script. We have encountered this once before with the SevenSpikes script and I've added an item in our backlog to see whether we can change our script, but since it's SevenSpikes using a non-standard method we may or may not try to change how our script works.

There are other users of the SevenSpikes template with the same issue and my recommendation would be to see if there's a newer version of the script to use instead.

Thanks,
Patrik


Hi, 

I must emphasize that our script works fine.

The problem is that both we and the hotjar uses bad practice and this caused to collision between our scripts.

So, to improve our code, we decided to modify the way our scripts work and in the new 3.70 version we have sevenSpikes object which will hold all our methods. Maybe hotjar should do the same.

Because we do not plan to merge all these changes back to 3.40, we have a workaround for this. It applies for all versions before 3.70.

1. Make a global search and replace in the nopCommerce folder. Find this: .isMobile() and replace it with: .isMobile7Spikes().

2. Go to the /Plugins/SevenSpikes.Nop.Plugins.Core/Scripts/SevenSpikesExtensions.js file and replace this: isMobile: and replace it with: isMobile7Spikes:


I hope this helped !

bizsol wrote:
Hi Mladen 

re copied code to page, works much better now
see: http://www.whiteopticsglasses.com

Users will have to select each specific model page
as it won't work when small image changes from small carousel
underneath.

But the specific model image dowload facility is now avaialble.
If you have anymore thoughts on improving this, please let me know

I thank you so much for your help and support, invaluable

Will be in touch,

Best regards
Martyn


Hi, 

We can make the link to be changed on change of the main image.

To do this, you have to find the /Plugins/SevenSpikes.Nop.Plugins.CloudZoom/Views/CloudZoom/CloudZoom.cshtml file and find the <div class="picture-thumbs"> element. Before its closing tag add this code:

<script type="text/javascript">
  (function() {
    $('.cloud-zoom-gallery').on('click', function() {
      $('.downloadPictureLink').attr('href', $(this).attr('href'));
    });
  })();
</script>



I hope this helped !

9 years ago

robschoen wrote:
I am not using the one page checkout, thank you


Hi, 

If you want to do it only for the Traction theme, then copy this file: /Views/Checkout/Confirm.cshtml to this folder: /Themes/Traction/Views/Checkout.

Now edit the new file. Find this code:

<div class="terms-of-service">
  <input id="termsofservice" type="checkbox" name="termsofservice" />
  <span>@T("Checkout.TermsOfService.IAccept")<a class="read" onclick="javascript:OpenWindow('@Url.RouteUrl("TopicPopup", new { SystemName = "conditionsofuse" })', 450, 500, true)">@T("Checkout.TermsOfService.Read")</a></span>
</div>


and replace it with this one:

<div>@T("the_resource_for_the_terms_of_service")</div>
<div class="terms-of-service">
  <input id="termsofservice" type="checkbox" name="termsofservice" />
  <label for="termsofservice">@T("Checkout.TermsOfService.IAccept")</label>
</div>


Now you can use any existing resource or create a new one.


I hope this helped !

9 years ago

robschoen wrote:
can the conditions of use on the order confirm page be displayed on that page instead of linked to in a new window?
I have found the resource checkout.termsofservice.iaccept and tried to add my conditions of use right before the "I agree with the terms of service and I adhere to them unconditionally__" line so the customer would have to scroll down through the conditions of use before getting to the checkbox and confirm button but the field would not accept my paragraphs.    please let me know how I can achieve this.  if I can get the paragraphs before the checkbox/agree I will no longer need the "(read)" link to the conditions of use in a new window.  


Hi, 

Please let us know if you are using our One Page Checkout plugin or not, so we can guide you to the correct file.

Bugs
9 years ago

porcelanosa wrote:
I don't know if someone reported it but i will go ahead and say, Mega Menu doesn't support multi store settings of topics if topic setting "Include in top menu" is checked, meaning no matter what store you are in that topic will display on all stores even if you limited that topic only to one specific store.


Hi, 

Since the topic setting "Include in top menu" was added back in 3.50 (which was released on 8th of December 2014), we support the getting of topics per store.

I have just tested the topics showing per store and it is working fine. 

Please check if your multi-store is correctly set up and the setting "Ignore "limit per store" rules (sitewide)" is unchecked.

Hi, 

As I said you have to put the code right before the closing tag of the <div class="gallery sevenspikes-cloudzoom-gallery"> element.

Your code should look like this:

<div class="gallery">
  <div class="picture" id="sevenspikes-cloud-zoom" data-zoomWindowElementId="@Model.ElementId" 
   data-selectorOfTheParentElementOfTheCloudZoomWindow="@Model.SettingsModel.SelectorOfTheParentElementOfTheCloudZoomWindow" 
   data-defaultImageContainerSelector="@Model.SettingsModel.DefaultImageContainerSelector">
    <a href="@Model.DefaultPicture.FullSizeImageUrl" class="cloud-zoom" id="zoom1" rel="@Model.DefaultPicture.DefaultRelation">
      <img src="@Model.DefaultPicture.SmallImageUrl" alt="@Model.DefaultPicture.AlternateText" title="@Model.DefaultPicture.Title" id="cloudZoomImage" />
    </a>
  </div>
  @if (Model.Pictures.Count > 1)
  {
    <div class="picture-thumbs">
      @if (Model.SettingsModel.EnablePictureThumbnailsInCarousel)
      {
        <ul id="carousel" class="jcarousel jcarousel-skin-thumbs">
          @foreach (var picture in Model.Pictures)
          {
            <li><a href="@picture.FullSizeImageUrl" class="cloud-zoom-gallery" title="@picture.Title" rel="@picture.GalleryRelation">
              <img class="cloud-zoom-gallery-img" src="@picture.TinyImageUrl" alt="@picture.AlternateText" title="@picture.Title"/>
            </a></li>
          }
        </ul>
      }
      else
      {
        foreach (var picture in Model.Pictures)
        {
        <a href="@picture.FullSizeImageUrl" class="cloud-zoom-gallery" title="@picture.Title" rel="@picture.GalleryRelation">
          <img class="cloud-zoom-gallery-img" src="@picture.TinyImageUrl" alt="@picture.AlternateText" title="@picture.Title" />
        </a>
        }
      }
    </div>
  }




  <div><a href="@Model.DefaultPicture.FullSizeImageUrl" target="_blank">Download Picture</a></div>
</div>


I hope this helped !

Hi, 

It is strange that the link is not visible, but it does not matter, because I have thought of even a better way for showing this link. Remove the code I gave you and place this code:

<div><a href="@Model.DefaultPicture.FullSizeImageUrl" target="_blank">Download Picture</a></div>

into this file: /Plugins/SevenSpikes.Nop.Plugins.CloudZoom/Views/CloudZoom/CloudZoom.cshtml right before the closing tag of the <div class="gallery sevenspikes-cloudzoom-gallery"> element.

Other way to download the image is to left-click on the image. This will open the high resolution image in popup and then the customer will be able to download the full-size image.


I hope this helped !

9 years ago

babi82 wrote:
hello,
I am using nopCom 3.60, I copied all plugins to localhost plugin folder but nothing shown!
I upgraded it also with the sql script still no affects!


Hi, 

Yesterday were creating the new deploy process for the upcoming v3.70 and by accident broke the 3.60 packages. Please do not use the package with build number between #18379 and #18393.

We have just started the deploy process again and it will be ready in less than an hour. Please update your products after that.


Sorry for the inconvenience!