What is the default document for my store?

Sophio requires all stores to have a document called 'start.wws' in the root folder of the website. This file is a placeholder, that the web server looks for. When the web server see's this file, it triggers an event that helps the web server know what possible home pages to deliver for your store. If your site uses index.html as the default document, it may work, but it will cause problems for visitors that have cookies blocked. It is important that every page of your website runs through our content management system (CMS) to make sure we can properly track the shopper from page-to-page.

Having said that, the home page of your site should be named 'index.wws' and should be stored in the templates folder of your site. This is simply your 'index.html' renamed to .wws. This index.wws can have scripts in it which means you can do things like welcome the visitor back, send custom content to the user, and most importantly, you'll know who's visiting your site on a browser-by-browser basis.

If you delete the index.wws file, the system has another mode. It will look for the file templates/body.wws, and render body.wws inside of default.wc. Default.wc is your store's non-secure primary template used for most pages of the shopping experience. This is used by clients looking to eliminate the need for a home page document with a different navigation than the rest of the pages. This simplies things a bit, with body.wws being the actual content of the home page.

Var dette svaret til hjelp? 0 brukere syntes dette svaret var til hjelp (0 Stemmer)