top of page

Forum Posts

kristucknott
Jun 08, 2023
In Coding with Velo
Having a weird issue while writing some backend functions and testing them: it's not displaying all the logs. When running a function it seemed to be stopping at what I was assuming was collection timeouts, but after liberally scattering 'console.log()'s thorough the code I've realised it's actually a problem with the log display in the run code page. If I look at my site logs through Google Logs Explorer it seems my code is executing correctly and generating logs which just aren't getting picked up in the Wix interface. You can see the difference in the same code execution in the images below, both of which are the extent of the console.log() output in their respective displays. Has anyone encountered this and is there a fix?
Testing functions doesn't display console.log() output correctly. content media
0
0
14
kristucknott
Feb 23, 2022
In Coding with Velo
Is there a way of removing the ribbon from a product with code? Using the updateProductFields( ) function and passing 'null' or '' doesn't seem to work.
0
1
25
kristucknott
Mar 11, 2021
In Coding with Velo
Both the updateProductFields( ) and the createProduct( ) functions take a productInfo object as their parameter but it only contains options to change a subset of a Product's features. There appears to be no way to change some things such as 'Additional Info' using code, only by manually going into the gui interface. Is this true or am I missing something? Seems like a strange oversight seeing as they're as fundamental as a 'Description' to adding Products.
0
0
8

kristucknott

More actions
bottom of page