Skip to main content
Participant
July 11, 2016
Question

Jquery issue in Muse??

  • July 11, 2016
  • 1 reply
  • 845 views

Hey guys

I've been using Adobe Muse to create my website, and so far everything's been going really well.

I've just tried to add the Shoprocket codes so that visitors can still purchase things, but it doesn't seem to be working??

Shoprocket has said to insert the following code on any page that I want people to be able to checkout from, so that the cart appears etc.:

<!-- jQuery -->

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script><script>var $=jQuery.noConflict();</script>

<!-- Shoprocket JavaScript -->

<script language="javascript" src="https://space.shoprocket.co/frontend/sr.min.js?cid=10850"></script>

<!-- Shoprocket Basket Widget -->

<div id="sr-basket-widget" class="sr-right"><span class="sr-confirm-amount"></span></div>

and then I insert this code where I want people to be able to purchase a particular product from:

<a href="javascript:sraddtocheckout(91742);" class="sr-add">Add to Cart</a>

This is the particular page of my website that I have tried this on:

http://www.jenirohwer.com//ain-t-no-mountain-high.html

Clicking 'add to cart' does not seem to make anything happen, nor does clicking on the cart itself.

When I hover over 'add to cart' the following line appears in the bottom right hand corner of the screen (in Chrome):

javascript:sraddtocheckout(91742);

Someone please help me! I've been trying to get this working for nearly a week now and can't work it out

Thanks in advance!!!

This topic has been closed for replies.

1 reply

David_Powers
Inspiring
July 11, 2016

I've just tested your page in Google Chrome on Windows 10. A modal window prompting me to select sleeve length, size, and quantity appeared. Making a selection, and clicking Add to Cart put $45.00 in the shopping cart.

I haven't looked at any part of your code. I simply tested the page, and it worked. Try clearing your browser cache. Also make sure you don't have an ad-blocker enabled.

Participant
July 11, 2016

Hi David

I've just cleared my cache and don't have an ad blocker and it still isn't working.

I've tried it on several different devices across several different networks and they are all having the same issue

David_Powers
Inspiring
July 11, 2016

Just tested again in Microsoft Edge. It works perfectly, so there's obviously nothing wrong with the way it has been coded. I suggest you contact Shoprocket.