Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2012
    Location
    LJubljana
    Posts
    14
    Plugin Contributions
    0

    Idea or Suggestion Product Details php file

    Dear Sirs and Madams!

    In our test webshop, I select some product and I get product details for selected item. Now, for every attribute the image shows, which is all ok. But, I have to make some cosmetic and logic modifications and my question is, which php file is responsible for showing product details. This is a file that I have to modify.

    Sincerely,
    Marko

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Product Details php file

    You are most likely looking for tpl_product_info_display.php but the actual wording on the page comes from your database. What is it you want to do?

  3. #3
    Join Date
    Jun 2012
    Location
    LJubljana
    Posts
    14
    Plugin Contributions
    0

    Default Re: Product Details php file

    Thanks for your reply, the file is right! I've removed some functionality, but now I have challenging issue: Let's say, I (as customer) click on product, that can be shipped ni 1L bottle, 4L bottle, 100L barrel and 200L barrel. These are all attribute values for product attribute named (for example) Packaging. So:
    Product A has attribute named Packaging with values 1L, 4L, 100L, 200L. The attribute is set as Combobox, so the customer can click on wished packaging. Now, how do I add action handling for this attribute combobox? If customer, for instance, selects 100L packaging, I would like to show 100L barrel instead of main product picture with recalculated final price. Where do add action handling?

    Sincerely,
    Marko

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Product Details php file

    There are these:

    http://www.zen-cart.com/downloads.php?do=file&id=699
    http://www.zen-cart.com/downloads.php?do=file&id=1301

    I haven't used either, and you'll have to test them, preferably on a separate Zencart test site, to see if they work with Zencart version 1.5 and if they work together.

  5. #5
    Join Date
    Jun 2012
    Location
    LJubljana
    Posts
    14
    Plugin Contributions
    0

    Default Re: Product Details php file

    Thanks for links, but I have to do it myself. In php file, I found section that fills combobox with attribute values, but where do I add "onchange" modifier to combobox? In which file?

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Product Details php file

    Since the Dynamic Price Updater does at least some of what you want, I suggest you look at how that works for the onchange handling. Ditto for the Attribute Image mod.
    Last edited by gjh42; 22 Sep 2012 at 05:35 PM.

 

 

Similar Threads

  1. v138a display product categories in orders.php (order details view)?
    By myshol in forum Customization from the Admin
    Replies: 1
    Last Post: 8 Jun 2012, 08:49 AM
  2. How to modify the Product Details List on the Product Details Page to look tabular?
    By CaptainCarlton in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jul 2011, 02:41 PM
  3. product description in which php file?
    By charliepingpong in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 2 Jun 2011, 07:42 AM
  4. Which file is the one that holds the single product details page.
    By qm360 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Mar 2008, 07:31 PM
  5. Align Product Details below Product Description: tpl_product_info_display.php issues
    By gingertea in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Aug 2007, 12:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg