Zen Cart: Dont Show Sideboxes if SSL

Some web pages will show wanrings when you have unsecure content showing on secure pages, particulaly when you are showing content coming from external site. This can cause conflict when you want to display a newsletter form from MailChimp or similar client or Facebook or content from Twitter. To overcome this when you are creating custom sideboxes for Zen Cart! you need to enter the following code into the sidebox php file

  // test if box should display
  $show_editable_sidebox = true;
  
  // bof: do not show on secure pages
  if ($request_type == 'SSL') {
    $show_editable_sidebox = false;
  }
  // eof: do not show on secure pages
  
  $define_sidebox = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', DEFINE_EDITABLE_SIDEBOX_NAME, 'false');

New Blog For Bennetts Wine Warehouse

Developing a new blog for Bennetts Wine Warehouse. The new blog will inform potential customers about new wines, special promotions, wine tasting and general wine news. The style of the blog is using the WordPress and the Thematic framework. It has been intergrated with Twitter so that any new posts will be published to twitter. It has been updated with SEO, google maps, contact form and mailchimp newsletter intergration.