WcartCommunitySign inJoin
0

A code snippet broke my store layout. How do I switch it off quickly?

After adding some custom code my homepage looks broken and I need to undo it fast.

pluginscode-snippetstroubleshooting

· 3 views

1 answer

0
Accepted

Open Code Snippet in the Settings sidebar. In the list, click the green On badge in the Status column. It changes to Off and the snippet stops loading on your storefront straight away. Your code is kept, so you can fix it with Edit and switch it back On later.

If you have several snippets and aren't sure which one caused it, switch them off one at a time and reload the store after each.

When several snippets use the same Location, the one with the lowest Priority number loads first.

Sign in to answer. Sign in or create an account.