In the product page, we get detailed information about the product. Hover over the Desktops category menu and click on See All Desktops. You will get a list of desktop products. You can click on any one of them. Let's click on Apple Cinema 30, as it contains more details than other products. It contains a main image, additional images, a product name, a brand name, a product code, reward points, availability, a price, tax, options of the products such as the add to cart button, reviews, description of the product, specifications, and related products. Go to catalog/view/theme/packttheme/template/product
and open product.tpl
. We will describe only what we have not covered previously.
The $heading_title
variable shows the name of the product, $thumb
gives the URL path of the main image, and $popup
gives the URL path of the pop-up image. When we click on this image, it pops up with Magnific Popup. The $images
variable holds additional images, $tab_description
shows the Description...