Portal Home > Knowledgebase > Shopping Cart > 3 - Design > Placeholders


Placeholders




The shopping cart template uses placeholders. Placeholders are used for adding content to a webpage.

To use a placeholder, place the code into the part of your HTML where you would like it to appear.

Placeholders for within your <head>...</head> tags:

<!--$headcontent-->This contains the charset of the page, meta tags, base href and javascript taken out of header.php. You must use this commented format of $headcontent to keep the word "$headcontent" from displaying in your web authoring software and be replaced by the correct value.
NOTE: Do not put <title>...</title> tags in your header. It will be added as part of the $headcontent variable.

 

 

Placeholders for your shopping cart:

$contentThe main content of the page (middle of the page) is put in the $content tag. The content is the actual shopping cart area.

 

Placeholders for your left or right sides:

$categoryboxThe Category box
$manufacturerboxThe Manufacturer box
$whatsnewboxThe What's New box
$searchboxThe Search box
$informationboxThe Information box
$cartboxThe Shopping Cart box
$maninfoboxThe Manufacturer Info box (doesn't show if not on a product page)
$orderhistoryboxThe Order History box (doesn't show if user not logged in)
$notificationboxThe product notification box (doesn't show if not on a product page). Do not use this tag together with $bestsellersbox
$bestsellersbox_onlyThe Best Sellers box
$bestsellersboxDisplays the bestseller box if not on a product page or if customer is logged in and has asked to receive notifications for all products. In other cases, will display the notification box. Do not use this tag together with $notificationbox nor $bestsellersbox_only
$specialboxThe Specials box
$tellafriendboxThe Tell a Friend box (doesn't show if not on a product page)
$specialfriendboxDisplays the tell a friend box if a product ID is detected and the visitor is not in the tell a friend page, otherwise displays the specials infobox
$currenciesboxThe Currencies box (doesn't show if on a checkout page)
$reviewsboxThe Reviews box. Not shown on the product_reviews_info.php page.
$accountinformationboxThe Account Information box (doesn't show if the customer is not logged in)
$currentauctionsboxThe eBay Auctions box
$googleadsenseboxThe Google Adsense box
$linksboxThe Link Exchange box
$shopbypriceboxThe Shop By Price drop down box
$boxadbox, $boxad2box, $boxad3box, $boxad4box, $boxad5box, $boxad6box, $boxad7box, $boxad8box, $boxad9box, $boxad10boxThe Box Ad Boxes are only available for Basic, Intermediate, and Advanced hosting accounts. These are used along with the Banners area of your admin to create banners, ads, or other HTML areas. There are 10 areas available.


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Banner Manager (Views: 769)
Adding/Editing Pages (Views: 795)
1 - Template Manager (Views: 1798)

Powered by WHMCompleteSolution