rightbar.html

The rightbar.html template allows to use elements that are available through frame.html for leftbar.html and rightbar.html.

Generally, the rightbar.html template block is shown as right sidebar on the design. However, there are no technical limitations on the design so it can be used anywhere.

rightbar.html are included in on template level. See home.html for reference on how to include them in individual templates.

Code Blocks

Note: It is important to preserve the commented tags to ensure the software performs correctly.

Everything that needs to be included in rightbar.html should be wrapped inside following code blocks.

<!--START: RIGHT_BAR_BLOCKS-->
<!--END: RIGHT_BAR_BLOCKS-->

Other code blocks that can be used in rightbar.html

<!--START: FRAME_SEARCH-->
<!--END: FRAME_SEARCH-->

<!--START: username-->
  [account_greeting]
  [username]
<!--END: username-->

<!--START: global_header-->
  [storename]
  [storeslogan]
<!--END: global_header-->

<!--START: shopping_cart-->
  [ITEMSINCART]
  [SUBTOTAL]
<!--End: shopping_cart-->

<!--START: FRAME_MENU-->
  <!--START: menuitems_view-->
    <!--START: TOP_LINK_FORMAT-->
      [link_id]
      [link_target]
      [link_name]
    <!--END: TOP_LINK_FORMAT-->
  <!--END: menuitems_view-->
<!--END: FRAME_MENU-->

<!--START: FRAME_LINKS-->
  <!--START: LINKS-->
    <!--START: LINK_FORMAT-->
      [link_id]
      [link_target]
      [link_name]
      [template]
    <!--END: LINK_FORMAT-->
  <!--END: LINKS-->
<!--END: FRAME_LINKS-->
<!--START: FRAME_MENU-->
  <!--START: menuitems_view-->
    <!--START: TOP_LINK_FORMAT-->
      [link_id]
      [link_target]
      [link_name]
    <!--END: TOP_LINK_FORMAT-->
  <!--END: menuitems_view-->
<!--END: FRAME_MENU-->
<!--START: FRAME_CATEGORY-->
  <!--START: CATEGORIES-->
    <!--START: CATEGORY_FORMAT-->
    <!--END: CATEGORY_FORMAT-->
    <!--START: SUB_CATEGORY_FORMAT-->
    <!--END: SUB_CATEGORY_FORMAT-->
  <!--END: CATEGORIES-->
<!--END: FRAME_CATEGORY-->
<!--START: TOP_SELLERS_BLOCK-->
  [frame_top-sellers]
  <!--START: topsellers-->
    <!--START: topsellers_topitem-->
      [catalogid]
      [thumbnail]
      [name]
      <!--START: ITEMPRICE-->
        [ITEMPRICE]
      <!--END: ITEMPRICE-->
      <!--START: SALEPRICE-->
        [ITEMPRICE]
        [ITEMSALEPRICE]
      <!--END: SALEPRICE-->
      <!--START: product_review_average-->
        [review_average]
      <!--END: product_review_average-->
    <!--END: topsellers_topitem-->

    <!--START: topsellers_item-->
      [ranking]
      [catalogid]
      [thumbnail]
      [name]
      <!--START: ITEMPRICE-->
        [ITEMPRICE]
      <!--END: ITEMPRICE-->
      <!--START: SALEPRICE-->
        [ITEMSALEPRICE]
      <!--END: SALEPRICE-->
      <!--START: product_review_average-->
        [review_average]
      <!--END: product_review_average-->
    <!--END: topsellers_item-->

  <!--END: topsellers-->
<!--END: TOP_SELLERS_BLOCK-->
<!--START: NEW_RELEASES_BLOCK-->
  [frame_new-releases]
  <!--START: newreleases-->
    <!--START: newreleases_topitem-->
      [catalogid]
      [thumbnail]
      [name]
      <!--START: ITEMPRICE-->
      [ITEMPRICE]
      <!--END: ITEMPRICE-->
      <!--START: SALEPRICE-->
      [ITEMPRICE]
      [ITEMSALEPRICE]
      <!--END: SALEPRICE-->
      <!--START: product_review_average-->
        [review_average]
      <!--END: product_review_average-->
    <!--END: newreleases_topitem-->

    <!--START: newreleases_item-->
      [catalogid]
      [name]
      <!--START: ITEMPRICE-->
        [ITEMPRICE]
      <!--END: ITEMPRICE-->
      <!--START: SALEPRICE-->
      [ITEMPRICE]
      [ITEMSALEPRICE]
      <!--END: SALEPRICE-->
      <!--START: product_review_average-->
        [review_average]
      <!--END: product_review_average-->
    <!--END: newreleases_item-->

  <!--END: newreleases-->
<!--END: NEW_RELEASES_BLOCK-->
<!--START: FRAME_MAILLIST-->
  [frame_mailinglist]
  [mailinglist_text]
  [mailinglist_button]
  [mailinglist_subscribe]
  [mailinglist_unsubscribe]
<!--END: FRAME_MAILLIST-->
<!--START: FRAME_MANUFACTURER-->
  [frame_manufacturer]
  <!--START: manufacturer_format-->
    [mfgid]
    [manufacturer]
  <!--END: manufacturer_format-->
<!--END: FRAME_MANUFACTURER-->
<!--START: FRAME_BYPRICE-->
  [frame_byprice]
  <!--START: byprice_format-->
    [id]
    [title]
  <!--END: byprice_format-->
<!--END: FRAME_BYPRICE-->

Dynamic Code Blocks: The rightbar.html file itself contains the following code blocks which are dynamically inserted or removed based on settings/configurations set within the 3dcart Online Store Manager. In the following list, we will specify the area of the Online Store Manager where these settings are configured.

Variables

Note: Several of these variables are used in multiple places on the page, with their dynamic content controlled by the code block used in each instance.

  • [account_greeting] – Displays the Title of the “Hello,
  • [username]” message when a shopper is logged into their account. (See Settings ->Design ->Store Language)
  • [username] – Inserts the Shopper’s name when they are logged into their Customer Record/Account.
  • [storename] – This variable inserts the Store Name information. (See Settings ->Design ->Header and Footer)
  • [storeslogan] – This variable inserts the Store Slogan information. (See Settings ->Design ->Header and Footer)
  • [ITEMSINCART] – Displays the number of items currently in the Shopper’s cart.
  • [SUBTOTAL] – Inserts the Shopper’s current subtotal.
  • [link_id] – This variable is used by the Software to insert the applicable database ID of menu and extra page links. (See Settings ->Design ->Site Content)
  • [link_target] – Inserts the designated target of the menu and extra page links. (See Settings ->Design ->Site Content
  • [frame_top-sellers] – Displays the Title of the “Top Sellers” area of the site. (See Settings ->Design ->Store Language)
  • [catalogid] – Inserts the individual product Database ID numbers where products are displayed.
  • [thumbnail] – Inserts the individual product Thumbnails where products are displayed.
  • [name] – Inserts the individual product Name information where products are displayed.
  • [ITEMPRICE] – Inserts the individual product Price information where products are displayed.
  • [ITEMSALEPRICE] – Inserts the individual product Sale Price information where products are displayed.
  • [review_average] – Inserts the individual product Review Averages where products are displayed.
  • [ranking] – Inserts the ranking information for the “Top Seller” specific products.
  • [frame_new-releases] – Displays the Title of the “New Releases” area of the site. (See Settings ->Design ->Store Language)
  • [frame_mailinglist] – Displays the Title of the “Mailing List” area of the site. (See Settings ->Design ->Store Language)
  • [mailinglist_text] – Displays the Title of the “Subscribe to our Newsletter” section of the Mailing list area. (See Settings ->Design ->Store Language)
  • [mailinglist_button] – Displays the Title of the “Go” button/link of the Mailing list area. (See Settings ->Design ->Store Language)
  • [mailinglist_subscribe] – Displays the Title of the “Subscribe” radio button of the Mailing list area. (See Settings ->Design ->Store Language)
  • [mailinglist_unsubscribe] – Displays the Title of the “Unubscribe” radio button of the Mailing list area. (See Settings ->Design ->Store Language)
  • [frame_manufacturer] – Displays the Title of the “Manfucturer” area of the site. (See Settings ->Design ->Store Language)
  • [mfgid] – Used by the Software to provide the proper linking for the Browse by “Manufacturer” functionality.
  • [manufacturer] – Inserts the applicable Manufacturer names.
  • [frame_mailinglist] – Displays the Title of the “Mailing List” area of the site. (See Settings ->Design ->Store Language)
  • [frame_byprice] – Displays the Title of the “Browse by Price” area of the site. (See Settings ->Design ->Store Language)
  • [id] – Used by the Software to provide the proper linking for the “Browse by Price” functionality.
  • [title] – Used by the Software to provide the price range titles for the “Browse by Price” functionality.
  • [RIGHT_BANNER] – Displays content added in the Global Right Banner area of the Online Store Manager. (See Settings ->Design ->Header and Footer)
X