logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
ray22901031  
#1 Posted : Wednesday, July 27, 2022 9:11:04 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 827

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
Where in AbleCommerce is this script being loaded? I'm only displaying the first part of the script.

function onCartUpdate(){typeof storeheadernavigation!="undefined"&&storeheadernavigation.refresh();typeof storemenu!="undefined"&&storemenu.refresh(!0)}function onAddedToCart(n){var i=n.Successful,t=n.TargetUrl;i&&(typeof

We are slowly removing scripts from our site and transferring them to Zaraz. Removing this script from the main server and putting it on an edge server will save us 100K in resources.

So far, we have been very successful in transferring over third-party scripts.

Thanks

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyar  
#2 Posted : Thursday, July 28, 2022 4:03:47 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 703

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
The code is coming from \Website\Scripts\app.js file.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.