BGsys.dk
Dansk English   
 
Ordre: 0 Vare(r)   Total: 0,00 DKK
Dankort Visa MasterCard Visa Electron JCB
Phone +45 8780 0042
Phone
Varegrupper
Artikler
BG Webshop
  Tema struktur
    Mails
    Artikler
    Kunde konto
Hosted Mail
Ordre mere
..er tom!
 Se ordre 
VSS

 

product_info.tpl

1.)  {$product_name_text} – To display the name of the product in the product_info
     page.

2.)  {$products_model_text} -  To display the model of the product.

2a.)  {$products_weight} - displays the products weight as number.

3.)  {$suggested_price} – To display the suggested price.(This price added from the 
     admin)

4.)  {$products_price_text}  - To display the price of the product.

5.)  {$banner_display_text} -  To display the  banners of the product, if it have.

6.)  {$products_stock_text} - To display the stock status of the product in form of 3 icons (red, yellow and green).

7.)  {$product_delivery_text} – To show the delivery status of the product,  if the   
     available product’s quantity is less than or equal to zero.

8.)  {$pdf_text} – To show the ‘link to PDF-button’ on the products information page.

9.)  {$pdf_document_text} – To display the PDF Document link name.

10.)  {$products_medium_image} - To show the front image of the product in the
        product information page.

11.)  {$products_medium_image_back} – To show the back image of the product in
       the product information page.

12.)  {$quick_buy_text} -  To display the quick buy products, if exists.

13.)  {$products_description_text} - To display the description about the product.

14.)  {$product_quantity_text} - To display the product’s quantity   in  the product
       information page. The products_quantity displayed here is depending upon the 
       quantity we set in the  ‘Quantity Blocks’ from the admin . If it is not set , it will
       show one.

15.)  {$stock_show_attribute} - To display the products options in the product   
       information page.

16.)  {$additional_images} - To display the additional images in the product
       information page.

17.)  {$reviews_text} - To display the number of reviews related to this product, if
        exists.

18.)  {$product_url_redirect} - To display the link regarding to the product, if the
        products_url for the product exists.

19.)  Dates on products:
{$product_date_added_text}-  To display the product added date.
{$product_date_available_text} - displays expected arrival date if > today

20.)  {$make_an_offer_button} - To display the ‘Make an Offer’ button in the
       product information page, if the products_make_an_offer is ‘true’.

21.)  {$reviews_button} – To display the ‘Reviews’ button in the product information
       page, if the configuration variable REVIEWS_ON is 'true'

22.)  {$whishlist_button}- To display the ‘Add to Wishlist ’ button in the product
       information page , if the configuration variable WISHLIST_ON is  'true'

23.)  {$buy_now_button} - To display the ‘Add to Cart’ button in the product
       information page .

24.)  {$product_xsell} - To display the Xsell products, if exists.

25.)  {$also_purchased_products}- To display the ‘Also purchased products’, if   
       exists.

 

26.)  {$bgt_suggested_price_text} - To display the suggested price text

27.) {$bgt_suggested_price_value} – To display the suggested price of the product

28.) {$bgt_stock_qty} - To display the actual number on stock. This is an optional variable that replaces the icon presentation, and it shouldn't be shown at the same time.


 

29.) {$product_bundle} - To display the Bundled Sub Products in the product information page.

30.) {$reviews_raw_text}- To display the latest reviews of the product if added. The number number of reviews can be changed in c settings -> product Features -> Maximum number of reviews on product info page.

31.) {$reviews_write_form} - To show the text area for writing the review for the product. One important thing is , this tpl variable should come under all the tpl variables. Or to be more specific under the add to cart button.


32.) Document regarding Additional images in product_info.tpl

Following variables are used for displaying images in the product_info.tpl

   {$products_medium_image} - To show the front image of the product in the 
    product info page.

   {$products_medium_image_back} – To show the back image of the product in the
    product info page.

  {$product_additional_img_large} - To display enlarged additional image when you   
    click on a  particular additional image  in the product_info page.

   {$additional_images} - To display the additional images in the product info
    page.

For additional images
The variables  {$products_medium_image}  and  {$products_medium_image_back} must be placed  inside the <div with id=”prod_view_large”.  That is,

  <div>
     <table>
              <tr>
                    <td>
                {$products_medium_image}
                 </td>
        </tr>
                  <tr>
                         <td>
                {$products_medium_image_back}
                </td>
      </tr>
      </table>
   </div>

Also the variable {$product_additional_img_large} must  be placed just before the start tag of the <div>   or  after the end tag of the </div>
That is,

{$product_additional_img_large} <div>
     <table>
              <tr>
                    <td>
                {$products_medium_image}
                 </td>
        </tr>
                  <tr>
                         <td>
                {$products_medium_image_back}
                </td>
      </tr>
      </table>
   </div>
Or
  <div>
     <table>
              <tr>
                    <td>
                {$products_medium_image}
                 </td>
        </tr>
                  <tr>
                         <td>
                {$products_medium_image_back}
                </td>
      </tr>
      </table>
   </div>{$product_additional_img_large}
You can place the variable  {$additional_images} (to show additional images) anywhere in the product_info.tpl

 

New popup Feature on images(JQuery Lightbox effect)

In this feature it overlay images on the current page.

In our product_info.tpl following tpl variables are using for this new feature:-

1) {$products_medium_image_lightbox} - To show the front image of the product .

2) {$products_medium_image_back_lightbox} - To show the back image of the product.

3) {$additional_images_lightbox} - To display the additional images


 To display  images in this popup feature , you just replace the current variable with the new one in product_info.tpl

 For eg:  We are using {$products_medium_image} for showing front image of the product, instead if you use the tpl variable {$products_medium_image_lightbox} in product_info.tpl, you can display the product image in new popup feature.

   For product back image you can use the tpl variable {$products_medium_image_back_lightbox}  instead {$products_medium_image_back}

   For additional images you can use the tpl variable {$additional_images_lightbox} instead {$additional_images}.

{$social_bookmark} - Adds a box with links to many community systems like Facebook, Twitter, Google a.o.

{$tell_friend_link} - adds a nice little recommend/tell others link

{$products_print_link} - adds a Print this page feature to product page(s)

{$ask_question} - adds an option that allows the customers to send shop-owner a question about that particular product. If present in tpl-file, then you'll be able to toggle on/off on individual products on the product Special settings tab in admin.

{$info_emarket_linktext} - This tpl variable will be used to add a popup info for E-markaet. Additional informations like CC fee's applied and shipping cost details will be displayed in the popup window. You can edit the details from product_info language_variables which is present in master_admin-->C advanced-->settings-->other settings-->language variables. Link text can be changed by editing INFO_EMARKET_LINKTEXT. The details in the popup window is coming from the language variable INFO_EMARKET_TEXT. For changing the heading you can edit the language variable HEADING_INFO_EMARKET

Sidst opdateret d. 28/09/2010.

HACKER SAFE certified sites prevent over 99.9% of hacker crime.