I've had enough of wixs corvid , API and site builder! Constant problems and now users get stuck on product page

First my issue, then my rant at wixs horrible platform and service!!

I’ve had enough of redeveloping my code and trying to figure out how wix has caused yet another issue(see below rant/compaint). I NEED HELP FROM WIX PLEASE!!!

Firstly what is the deal with all of the errors about FROG in the dev console?? before users even start building, their site is broken. there should not be this many errors on a website!

POST https://frog.wix.com/ net::ERR_CONNECTION_REFUSED

Second I have an issue where after adding a product to the basket from a stores dynamic product page I then cannot navigate to the cart page when clicking the cart icon. The url changes in the address bar but the page does not load and just stays on the page!

IS THERE ANY WAY AT ALL I CAN DISABLE WIXs HORRIBLE ROUTING SYSTEM AND JUST LOAD A DAMN PAGE VIA A STANDARD DAMN LINK??? Their internal routing / page load system is busted and just does not work! I won’t even go into the loading times!!!

This is ridiculous!

I have wasted countless DAYS yes days worth of time trying to get around their stupid restrictions and backasswards way of doing things and for what - a half crap broken website bodged together due to their ridiculous restrictions, that I could have built better for my client in half the time it has taken.
Unfortunately as my client has wasted so much money investing in WIX they are stuck with them!

For example what idiot @ WIX thought it was a good idea to allow adding items to basket in code but not to think that maybe the developer would have some need to remove items from the cart with code?

I have now optimised my code several times over and refactored way too often because every other day I get on to develop, something else has broken or doesn’t work as it did previously.
Not to mention the times when something works perfectly in the preview but then fails in publish view or the best yet when to test something small, that should take no more than 20 seconds at most, I have to wait 120+ seconds or more because I have to:

  • publish, wait for publish, switch over to the published site, wait for published changes to take affect, refresh the page, wait for it to load then test.
    And I am not just talking specifically about the basket code that randomly stops working in preview so wix just say “its ok, you can test it in public mode…”!
    Then there’s the hooks that either refuse to fire or only fire half the time! Or how about the owner of a website not being able to add himself as a flippin Admin to his own website? Or how it can take upto 5 minutes for code to execute and a page to show its elements or simply change page after a link is clicked!

I have experienced so many problems and actually lost money due to this rubbish platform but have to stick with it as I Don’t want to let my client down! WIX THIS NEEDS FIXING!!

By the way, you can remove products from the cart using code (it’s a new feature);
https://www.wix.com/corvid/reference/wix-stores/removeproductfromcart

Hi Jay,
Thanks for bringing this to our attention. Can you please send the URL for your site so we can investigate?

Hi again, Jay,
In addition to the URL for your site, can you please provide some more details so we can better troubleshoot? Please let us know:
—Which page got stuck?
—Which page takes 5 minutes to load?
—Which hooks you’re using
Thanks!

Thanks JD, good to know. this must’ve only just been implemented recently as i had to refactor my code to bodge into the stores process instead.

Marlowe, is there any way to send the domain to you privately. It is not my site and I am just developing it so do not feel comfortable posting it without my clients permission. If you are able to see My Sites it is the only one I am collab on that has premium;

I’m not using any of the hooks I found that did not fire during testing anymore, I cannot remember which ones it was. Possibly in the stores hooks.

The page is a Dynamic Stores product page set by url slug. On page ready waits for the dataset to be ready then calls backend code to load extra data based on the pages store dataset item. I’ve rewrote the code 3 times now and the latest “version” handles all of the data getting in the backend at once and has been optimised to use as few calls to the database as possible. This page can load in no less than 25+ seconds, usually 30+, and has taken nearly 5 minutes on a few occasions (mostly just being refreshed). I’m not expecting light speed, just a reasonable load.

The issue involving not being able to access the cart and getting stuck on a page affects a few different pages on the site.

When clicking on the cart I get many errors in the console (chromes console) but 2 stand out as specific to the issue:


> Uncaught TypeError: o.parent.postMessage is not a function
    at wixCodeMessageChannel.js:39
    at Object.<anonymous> (withActions.js:4)
    at G (bolt.carmi.js:879)
    at Array.LW (bolt.carmi.js:9480)
    at bolt.carmi.js:43048
    at DW (bolt.carmi.js:43070)
    at $endBatch (bolt.carmi.js:43149)
    at mainr.js:230
    at setImmediate.js:40
    at m (setImmediate.js:69)
    at s (setImmediate.js:109)

> breadcrumbs.ts:80 POST https://sentry.wixpress.com/api/3/store/?sentry_key=8b4e078a51d04e0e9efdf470027f0ec1&sentry_version=7 429 (TOO MANY REQUESTS)

The rest are the usual 20 + frog.wix errors.

It seems the above error stops the navigation routing from working. The console and network are transferring data and the url changes but no action is happening.

Is there no way I can simply disable the [suspected] JS? handled routing / navigation and just make the site navigate with the browser the normal way?

Thanks, Jay. We were able to find the site, and we have a few developers looking into the issues now. I’ll send you more information as soon as possible.

Hi Jay,
We need you to run some code, so we’re going to follow up with you in email. Thanks!

ok thanks, will check now;

One thing i have noticed is that it seems to happen when i have a product of the same ID already in the basket. if the basket is empty it works after adding to cart then clicking on cart

I feel your pain. Code works perfectly, them stops working, then wasting a day re working it, to get it working, then it stops working again.

I have a function that randomly just stops half way through.

Please add your own issue into a new post instead of bumping up an old post. Explain what you are trying to do, what works, and what doesn’t. Also, add any code in a code block as stated in the Forum Guidelines .

@yisrael-wix Hi thankyou Yisrael. I’d definitely like some help but I’m not keen on pasting my source code on a public forum. Can it be done privately ?

@paul51482 If you feel that the issue is a bug, then see How to Report a Bug . If you need assistance with your code, then you can post your code here (in a new post) so that the community can see what you’re doing and try to help. If you find that you are having difficulty with the code and need assistance, you may want to check out the Wix Marketplace - it’s a place where you can look for Velo experts for hire.

@yisrael-wix Thanks. I did post a snippet in a new post. A got some help. I made some changes we’ll see how it goes. Although I don’t see how code can work 90% of the time and then just stop mid way. Anyway thanks.

@paul51482 Ah, sorry - didn’t pay attention (not working today). Yeah - I see you’re getting some help. J.D. is great. Hope you figure it out.

@yisrael-wix yer I implemented his idea, so far no issues, but I’ll give it some time.

@yisrael-wix are you good with custom elements? because I do have a few issues with custom elements.

@paul51482 Please create a new post with your specific questions/issues about custom elements. This post will be closed.