Hi @norm,
Is the shortcode %ecwidStoreID% value detectable in edit mode or this only filled at publish time?
Hi @Norm ,
I have some questions about the shortcode %ecwidStoreID%. If I query it in edit mode from a bric, can I detect if the value is empty or what value it holds, while in edit mode using JS.
Thanks,
Ricardo
No, this value is currently not available within a Brics sandbox.
You have access to the following JS variables within a Brics sandbox:
- blocsAppVersion
- activeBreakpoint
- activeFramework
- twitterUsername
- facebookUsername
- inGlobalArea
In Blocs for Mac 6.4.1 (and iPad 1.4.10) I’ve expanded this to include.
- stripeUserID
- paddleUserID
- ecwidStoreID
I hope that helps ![]()
Thanks @Norm ,
That’s super helpful, can’t wait for 6.4.1 ![]()
1 Like