There’s a hot topic at the moment on the Official BigCommerce Forums regarding hidden categories. Originally you could hide a category from being visible in the menu, but still link to it; ideal for landing pages or email promotions. This feature later disappeared, and now hidden categories are treated as disabled.
Using a bit of jQuery, we can replicate the old feature by hiding menu links matching or containing specific keywords.
We’re currently waiting for access to the language.ini file and proper multi language support from BC. In the mean time we have to rely on 1) editing what labels we can through design mode, 2) deleting %%LNG.%% variables and replacing them with our own text or 3) using
crude smart little hacks using jQuery.
So for this 5 minute masterclass, I’m going to show you how to change a status message in the cart page with jQuery.
I noticed today a question on the BigCommerce forum asking if it was possible to get the cart to redirect to the front page if everything was emptied out of the cart. The reply from one of the support staff said it was impossible to do so because you need access to the PHP source code, which of course BC won’t allow.
Always up for a challenge, especially when I see such big claims that something is impossible, I headed for the template file editor and opened up cart.html, and after a few moments of experimenting, I concluded that it is entirely possible to create the redirect.