The Shoprocket Support Hub

Welcome to the Shoprocket hub. You'll find comprehensive guides and documentation to help you start working with Shoprocket as quickly as possible, as well as support if you get stuck. Let's jump right in!

FAQ Documentation Developer Chat System Health
Ask A Question



Integration code not appearing on .html file

When inserting the integration code into my blank html file on a local computer and inserting the js/jquery at the footer, nothing shows up when opening the html file. Code included below: <!DOCTYPE html> <html> <head> <title>Demo of sotre</title> </head> <body> <!-- SHOPROCKET SR-BLOCK START --> <div class="sr-block sr-default" sr-meta="" sr-show-max="99" style="visibility: hidden;"> <div class="sr-item sr-buy-widget sr-small"> <div class="sr-image-holder"> <img src="[IMAGESRC]/convert?w=460&h=460&fit=max&quality=100" class="sr-image" title="[NAME]" alt="[NAME]"/> </div> <div class="sr-product-details"> <div class="sr-name">[NAME]</div> <div class="sr-strapline">[STRAPLINE] </div> <div class="sr-price">[CURRENCY][PRICE]</div> <a class="sr-add-link" href="[ADDTOCART]" type="button"> <div class="sr-add"><i class="fa fa-shopping-cart"></i> Buy Now</div> </a> </div> </div> </div> <!-- SHOPROCKET END --> </body> <footer> <!-- jQuery --> <script src=""></script> <!-- Shoprocket JavaScript --> <script>var $=jQuery.noConflict();</script> <script>var JSR=jQuery;</script> <script language="javascript" src=""></script> <input type="hidden" name="sr-companyid" id="sr-companyid" value="12594"> <!-- Shoprocket Basket Widget --> <div id="sr-basket-widget" class="sr-right"><span class="sr-confirm-amount"></span></div> </footer> </html> When opening this file containing this code, nothing shows up in the browser.

Posted by Super Random about a year ago