dumitrutira
-
Posts
45 -
Joined
-
Last visited
Reputation Activity
-
dumitrutira reacted to tuanphan in Problems with my banner slideshows
You can use this code to Website > Website Tools > Code Injection > Footer to make banner slideshow autoplay.
<!-- Auto Scroll Layout Sections from Will-Myers.com --> <script> (function(){ let playInBackend = true, timing = 3, section = '', direction = 1; //1 = forwards, 0 = backwards /*Do not Adjust below this line*/ function AutoScrollLayout(e){e=""==e?document.querySelector(".user-items-list-section"):document.querySelector(e);let t,n,o,i,c,r=!1,s=e.querySelectorAll('button[class*="__arrow-button"]');function d(){t=setInterval(u,n)}function u(){o=document.querySelector("body.sqs-edit-mode-active"),i=document.querySelector(".sqs-modal-lightbox-open"),r||o||i||!c||s[direction].click()}n=1e3*timing;if(document.addEventListener("visibilitychange",function(){r=!!document.hidden}),["mousedown","touchstart"].forEach(t=>{e.addEventListener(t,function(){r=!0})}),["mouseup","touchend"].forEach(n=>{e.addEventListener(n,function(){r=!1,clearInterval(t),d()})}),window.IntersectionObserver){new IntersectionObserver((e,t)=>{e.forEach(e=>{c=!!e.isIntersecting})},{rootMargin:"-75px 0px -75px 0px"}).observe(e)}s[direction]&&d()}window.addEventListener("load",function(){let e=new Array;e.push(section),section.includes(",")&&(e=section.split(",")),e.forEach(e=>{(window.top==window.self||window.top!==window.self&&playInBackend)&&new AutoScrollLayout(e)})}); }()); </script>
-
dumitrutira reacted to tuanphan in Space Between Additional Info and Product Images
You can use this code to Website > Website Tools > Custom CSS to reduce space
section.ProductItem-additional { margin-top: 0px !important; } .ProductItem-gallery-thumbnails { margin-bottom: 5px !important; }
-
dumitrutira reacted to tuanphan in Custom Social Icon - Phone
Add to Settings > Advanced > Code Injection > Footer
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <script> jQuery(document).ready(function($){ $('header#header a.icon:nth-child(4)').attr('href','tel:+6432499005'); $('<i class="fa-sharp fa-regular fa-phone"></i>').appendTo('header#header a.icon:nth-child(4)'); }) </script> <style> header#header a.icon:nth-child(4) svg { display: none; } </style>
-
dumitrutira got a reaction from creedon in Hide prices for certain products 7.0
Superb, seems to be working!
Thank you so much!
-
dumitrutira reacted to creedon in Hide prices for certain products 7.0
Please do the second step I mentioned in my post. Update the code.
-
dumitrutira reacted to creedon in Hide prices for certain products 7.0
It appears to be working to me.
-
dumitrutira reacted to creedon in Hide prices for certain products 7.0
Please see Store Product Price Zero Remove.
Let us know how it goes.
-
dumitrutira got a reaction from creedon in Ampersand not rendering properly when pulling info from product pages
Thank you, it worked!
-
dumitrutira reacted to creedon in Ampersand not rendering properly when pulling info from product pages
A bug in SS.
For a workaround until SS fixes the issue please see Product Block Improperly Encoded Ampersand Fix.
Your issue is similar to a number of similar issues.
Let us know how it goes.