• Home
  • Everyone hello friends today as opencart 2.x versions in the current version of the product details of the product as a pdf brochure or pdf as a separate product to the user through the button to download any other information for that product is an additional modification. As a site owner, we have added our detailed information about our products, we can share our more visualized content with our user authorization certificate which belongs to that product, and we can download the pdf files added by admin by that admin in this product in detail.

    Opencart 2.2.x Product Details Pdf Brochure Insertion Modification Setup

     Let's remove the ocmod.zip file from the archive file you downloaded from our site, log in to the admin section of our site, and then login to the plugin installation from the plugins section. Then click on the browse button and select the ocmod.zip file on the desktop and wait for the attachment to be installed. After the installation is over, you can click on the checkbox to the left of the uploaded modification checkbox in the admin-> attachments-> modifications section, then click on the refresh button at the top and activate the attachment. Then the tombos to be added to the database are created and the pdf downloading section is active in our add- It will be.

    Peki biz bunu ürün detay sayfasında tab içersinde pdf dosyamızın görüntülenmesini istiyorsak ne  yapmamız gerekiyor ? Çok basit arkadaşlar aşağıdaki işlemleri teker teker yerine getirerekten yapabiliriz. Ancak ocmod olarak kurduğumuzdan ötürü düzenlemelerimiz farklı dizin altında yapılacaktır.

    1-)  İlk iş tab kısımından Pdf dosyasının Eklenmesi: Bu işlemi yapmak için arkadaşlar sırasıyla dizin yolundan giderek tpl dosyamızı açmamız gerekmektedir. Bu dizin yolu aşağıdaki gibidir.

    Dosyamızı Açalım : system/storage/modification/catalog/view/theme/seninteman/temlate/product

    product.tpl

    Bulalım :

    Alt Satıra Ekleyelim :

    Bulalım :

    Alt Satıra Ekleyelim :

    2-) Controller Dosyasında Tanımlama : Tpl dosyasında kod eklerken arkadaşlar kullanmış olduğumuz $tab_pdf ; değeri controller dosyasında mevcut olmadığından tpl dosyasında tanımsız olması nedeniyle sitede ürün detayda tab üzerinde undefined diye tanımlanamayan karakter hatası verecektir, bunun çözümü için controller dosyasına küçük bir kod satırı eklenmesi gerekiyor. Bunun için

    Dosyamızı Açalım : system/storage/modification/catalog/controller/product/

    product.php

    Bulalım :

    Alt Satıra Ekleyelim :

    Bu kodu ekledikten sonra undefined hatası düzelecektir.

    3-) Dil Dosyasından Tanımlama : Controller dosyasına ekledikten sonra tabımızda bu sefer tab_pdf diye bir yazı çıkacaktır. Bunun sebebi controllerde tanımladık tamam ama dil olarak tanımlı ama dil dosyasında böyle bir tanımlama olmadığından controller eki tanımını gösterecektir. Dil dosyasından da tanımlamak için aşağıdaki işlemleri yapalım.

    Dosyamızı Açalım  : system/storage/modification/catalog/language/kullandığımızdil/product/

    product.php

    İstediğiniz herhangi bir satıra ekleyiniz.

     

     

    İşlem tamamdır güle güle kullanınız.

    Make a Comment

    Note: HTML is not translated!
    Captcha


    Opencart 2.2.x Product Pdf Detail Addition Modification

    • Article Department: Opencart
    • Article Edition: 2.3.0.0, 2.3.0.1, 2.3.0.2, 2.2.0.0
    • Platform: Linux System
    • Date Added: 2017-09-14
    • Video Duration: 10.00 'DK
    • Article Lang : Türkçe
    • File size: (2.85KB)

    •  

    • pdf_opencart_version_2.2.x -2.3.x (2.85KB)





    Similar Articles

    Similar Articles

    Editor Liked

    Popular


    Opencart 2.3.x Facebook Graph Meta Tags OCMOD

    Opencart 2.3.x Facebook Graph Meta Tags OCMOD

    As everyone knows, we add texts such as headline and description in the facebook while adding the li..

    Popular


    Opencart 2.x B2B Login Page Modification

    Opencart 2.x B2B Login Page Modification

    Opencart 2.x B2B Home Page Modification Hello friends today we will tell you the B2B style home p..

     (5) 

    Editor Liked

    Popular


    Opencart 2.3.x PH File Manager Modification

    Opencart 2.3.x PH File Manager Modification

    Everyone hello friends today you will get a more functional Filemanager page instead of the simple F..

     (4) 


    Specials

    Specials

    Popular


    Opencart 1.5.x Bowtie  Responsive Theme V4 Setup

    Opencart 1.5.x Bowtie Responsive Theme V4 Setup

    Opencart 1.5.x Bowtie  Responsive Theme What is V4 Setup? As it is now known, search resu..

    5.00 'DK

    Popular


    Opencart 2.x Automatic Seo Link And Meta Label Creation

    Opencart 2.x Automatic Seo Link And Meta Label Creation

    Hello friends you OpenCart 2.x versions of the current version of the categories entered in the prod..

    6.00 'DK

    Popular


    Opencart 1.5.x Bromic Responsive Theme Setup

    Opencart 1.5.x Bromic Responsive Theme Setup

    Hello friends, we will give you information about the Bromic Responsive Theme that the kulertheme co..

    6.00 'DK

    Popular


    Opencart 1.5.x Moment Responsive Theme V1 Setup

    Opencart 1.5.x Moment Responsive Theme V1 Setup

    Hello friends, we will give you information about the Moment Responsive Theme that the kulertheme co..

    6.00 'DK

    Popular


    Opencart 1.5.x Bromic Responsive Theme V6  Setup

    Opencart 1.5.x Bromic Responsive Theme V6 Setup

    Hello friends, we will give you information about the Bromic V6  Responsive Theme that the..

    7.00 'DK

    Popular


    Opencart 2.x Product Reviews Modular Owl Carousel Setup

    Opencart 2.x Product Reviews Modular Owl Carousel Setup

    Hello friends today we will tell you how to install and use the owl carousel product comments module..

    6.00 'DK

    Popular


    Opencart 1.4.x Interpreted Products Module Setup

    Opencart 1.4.x Interpreted Products Module Setup

    Hello friends, we will tell you how to install the comments module in the current versions for OpenC..

    5.00 'DK

    Popular


    Borland Delphi 7 Bass Player Music Player

    Borland Delphi 7 Bass Player Music Player

    Hello everybody, we will give you information about a very successful mp3 player player project whic..

    8.00 'DK

    Popular


    Opencart 1.5.x  Multi Language Seo Sef Url Modul Installation Expression

    Opencart 1.5.x Multi Language Seo Sef Url Modul Installation Expression

    Hello friends today, OpenCart 1.5.x versions of these versions of the current version of the appropr..

    5.00 'DK

    Popular


    Opencart 2.2.0.0  Multi Language Seo Sef Url Modul Installation Expression

    Opencart 2.2.0.0 Multi Language Seo Sef Url Modul Installation Expression

    Hello friends today, Opencart 2.2.0.0  versions of these versions of the current version of the..

    5.00 'DK

    Popular


    Opencart 2.x  Multi Language Seo Sef Url Modul Installation Expression

    Opencart 2.x Multi Language Seo Sef Url Modul Installation Expression

    Hello friends today, Opencart 2.x   versions of these versions of the current version of t..

    5.00 'DK

    Popular


    Opencart 1.5.x Bromic Responsive Theme V5  Setup

    Opencart 1.5.x Bromic Responsive Theme V5 Setup

    Hello friends, we will give you information about the Bromic V5  Responsive Theme that the..

    5.00 'DK

    Popular


    Delphi 7 Free TPng Component Installation And Usage

    Delphi 7 Free TPng Component Installation And Usage

    Everyone hello today to you   borland delphi 7 In our projects we will use visual objects&nb..

    6.00 'DK

    Popular


    Opencart 1.5.x Free Cargo Sticker Insertion Mode Vqmod

    Opencart 1.5.x Free Cargo Sticker Insertion Mode Vqmod

    Hello friends you tonight Opencart version 1.5.x versions of the products specified in the free ship..

    6.00 'DK

    Popular


    Opencart 1.5.x  Maven Responsive Theme V1  Setup

    Opencart 1.5.x Maven Responsive Theme V1 Setup

    Hello friends, we will give you information about the Maven Responsive Theme that the kulertheme..

    8.00 'DK

    Popular


    Opencart 1.5.x  PAV BIKE STORE  Responsive Theme V1  Setup

    Opencart 1.5.x PAV BIKE STORE Responsive Theme V1 Setup

    Hello friends, we will give you information about the PAV BIKE STORE Responsive Theme that the ku..

    8.00 'DK

    Popular


    Opencart 1.5.x  Pav Queenbeauty  Responsive Theme V1  Setup

    Opencart 1.5.x Pav Queenbeauty Responsive Theme V1 Setup

    Hello friends, we will give you information about the Pav Queenbeauty Responsive Theme that the k..

    8.00 'DK

    Popular


    Opencart 1.5.x Bromic Responsive Theme V2  Setup

    Opencart 1.5.x Bromic Responsive Theme V2 Setup

    Hello friends, we will give you information about the Bromic Responsive Theme that the kulertheme co..

    8.00 'DK

    Popular


    Opencart 1.5.x Moment Responsive Theme V2  Setup

    Opencart 1.5.x Moment Responsive Theme V2 Setup

    Hello friends, we will give you information about the Moment Responsive Theme that the kulertheme co..

    8.00 'DK

    Popular


    Opencart 2.3.x Kingstore Lite Responsive Theme Setup

    Opencart 2.3.x Kingstore Lite Responsive Theme Setup

    Hello friends, we will talk about installing and using the Kingstore lite responsive theme, which wo..

     (5) 

    18.00 'DK

    Popular


    Opencart 2.x Pav Flower Responsive Theme V1  Setup

    Opencart 2.x Pav Flower Responsive Theme V1 Setup

    Hello friends, we will give you information about the Pav Flower Responsive Theme that the kulert..

    15.00 'DK

    Popular


    Adding Opencart 2.x Admin Score And Expiration Date

    Adding Opencart 2.x Admin Score And Expiration Date

    Hello friends today you are in versions available in OpenCart 2.x versions. We will share our articl..

     (5) 

    15.00 'DK

    Popular


    Adding Opencart 2.x Admin Score And Expiration Date 2017

    Adding Opencart 2.x Admin Score And Expiration Date 2017

    Hello friends today you are in versions available in OpenCart 2.x versions. We will share our articl..

    15.00 'DK

    Popular


    Opencart 1.5.x Bromic Responsive Theme V4  Setup

    Opencart 1.5.x Bromic Responsive Theme V4 Setup

    Hello friends, we will give you information about the Bromic V4  Responsive Theme that the..

    5.00 'DK

    Popular


    Opencart 1.5.x Moment Responsive Theme V4  Setup

    Opencart 1.5.x Moment Responsive Theme V4 Setup

    Hello friends, we will give you information about the Moment V4  Responsive Theme that the kule..

    5.00 'DK

    Popular


    Opencart 1.5.x x Maven Responsive Theme V3  Setup

    Opencart 1.5.x x Maven Responsive Theme V3 Setup

    Hello friends, we will give you information about the Maven Responsive Theme that the kulertheme c..

    5.00 'DK

    Popular


    Delphi 7 Combobox with Url Connection

    Delphi 7 Combobox with Url Connection

    Everyone will look at the use of the simple code snippet to go to the site belonging to the clicked ..

    6.00 'DK

    Viewed

    Viewed

    Popular


    Opencart 2.2.x Product Pdf Detail Addition Modification

    Opencart 2.2.x Product Pdf Detail Addition Modification

    Everyone hello friends today as opencart 2.x versions in the current version of the product details ..

     (5) 

    10.00 'DK

    Facebook Comments ()

    Facebook Comments ()