Design & Layout, Navigation & Templates

Main Template

The Main Template is the outer wrapper of your website - it contains your header, navigation, footer, and anything that appears on every page.

What you can do here

  • Edit the site-wide header and footer HTML
  • Update navigation elements
  • Update Sidebar menu
  • Add script s or tracking codes to every page
  • Change the overall page structure

Step by step

  1. Go to Design Dashboard -> Main Template.
  2. Edit the HTML in the editor.
  3. Save and preview your site to check the changes look correct.

Tips

  • Changes here affect every page - preview carefully. Use Template History to restore a previous version if something breaks.

Main Template Code Snippets

You can use the snippets below to insert predefined website elements such as navigation menus, login links, cart links, category lists, contact details, opening hours, and dynamic widgets.

Main Content Area

Use this code in the Main Template where you want the section template content to appear on live pages:

<maincontent>

Common Snippets

Element Code Snippet
Client Login
$login
Shopping Cart
/cgi-bin/cart/cart.cgi
Flower List
$flowerlist
Addon List
$addonlist
Occasion List
$occasionlist
Main Menu
~; &automainmenu; print qq~
Footer Menu
~; &autofootermenu; print qq~

Master Category Menu

Example for a Colour master category:

~;
$colourmenu = &mastercatmenu(`Colour`);
print qq~

Use the variable where needed:

$colourmenu

Copyright Year

~;
$copyyear = (localtime)[5]   1900;
print qq~

Use the variable where needed:

$copyyear

Countdown Message

~;
$showcountdown = &showcountdown;
print qq~

Use the variable where needed:

$showcountdown

Shop by Price

<ul>  
  <li><a href="/under-70/">Under $70</a></li>  
  <li><a href="/70-100/">$70 - $100</a></li>  
  <li><a href="/over-100/">Over $100</a></li> 
</ul>

These are dynamic pages, so the price ranges may need to be created in the .htaccess settings.

Contact Details

These variables display the business contact details saved in Main Settings.

Variable Displays
$sitename
Business or store name
$sitelogo
Website logo
$web_address_one
First line of the business address
$web_suburb
Business suburb
$web_state
Business state
$web_postcode
Business postcode
$adminemail
Main store email address
$webphone
Business phone number
$instagram
Instagram link
$facebook
Facebook link

Opening Hours

Variable Displays
$mon_open - $mon_close
Monday opening and closing hours
$tue_open - $tue_close
Tuesday opening and closing hours
$wed_open - $wed_close
Wednesday opening and closing hours
$thu_open - $thu_close
Thursday opening and closing hours
$fri_open - $fri_close
Friday opening and closing hours
$sat_open - $sat_close
Saturday opening and closing hours
$sun_open - $sun_close
Sunday opening and closing hours

Dynamic Widgets

Widget Code Snippet
Floating Google Star Rating Badge
<  script   src="/files/googlebadgefloat.js"></  script  >
Floating Google Reviews Carousel
<  script   src="/files/googlecarouselfloat.js"></  script  >
Recent Orders Widget
<  script   src="/files/recent.js"></  script  >
Added: 2026-07-04  •  Last updated: 2026-07-08
Was this page helpful?