Knowledgebase
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:
$content The 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:
$categorybox The Category box $manufacturerbox The Manufacturer box $whatsnewbox The What's New box $searchbox The Search box $informationbox The Information box $cartbox The Shopping Cart box $maninfobox The Manufacturer Info box (doesn't show if not on a product page) $orderhistorybox The Order History box (doesn't show if user not logged in) $notificationbox The product notification box (doesn't show if not on a product page). Do not use this tag together with $bestsellersbox $bestsellersbox_only The Best Sellers box $bestsellersbox Displays 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 $specialbox The Specials box $tellafriendbox The Tell a Friend box (doesn't show if not on a product page) $specialfriendbox Displays 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 $currenciesbox The Currencies box (doesn't show if on a checkout page) $reviewsbox The Reviews box. Not shown on the product_reviews_info.php page. $accountinformationbox The Account Information box (doesn't show if the customer is not logged in) $currentauctionsbox The eBay Auctions box $googleadsensebox The Google Adsense box $linksbox The Link Exchange box $shopbypricebox The Shop By Price drop down box $boxadbox, $boxad2box, $boxad3box, $boxad4box, $boxad5box, $boxad6box, $boxad7box, $boxad8box, $boxad9box, $boxad10box The 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.
Add to Favourites
Print this Article
Also Read
Powered by WHMCompleteSolution
