App reviews, troubleshooting, and recommendations
The mobile cart view on my website is not working when you click it nor is the search list; however, everything seems to work just fine in the desktop view. My customers are not able to go to cart to view and some are evening having issues adding to cart on mobile....please help.
yrushcollective.com is by url.
Solved! Go to the solution
This is an accepted solution.
Yes that’s right.
Hello @YRush !
<script>
function addToCartMobileClick() {
if (!/product/.test(window.location.href)){
return;
}
var btn = document.querySelector(`#mst-stiky-box button`);
btn.addEventListener('click', function(){
var atc = document.querySelector(`.grid__item.row_grid_qnt button`);
atc.click();
});
}
addToCartMobileClick()
</script>
Thanks,
Digital Artisans
I tried that and it's still doing the same thing on the mobile. Does it need time to update perhaps?
Hello @YRush,
Kindly also update.
Thanks,
Digital Artisans
Once I entered the code, I saved. Am I missing something.
My apologies for all the questions....this part is foreign language to me.
Hello @YRush ,
Once you enter the code save it and refresh. Please make sure you follow accurately the code placement.
Thanks,
Digital Artisans
ok so I place the code here:
Is this accurate?
This is an accepted solution.
Yes that’s right.
ok...it still won't update on the mobile for some odd reason. Thanks for your input!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024