Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Which file do I edit to change the product view?

Which file do I edit to change the product view?

Views: 630

Results 1 to 4 of 4
26 Jan 2013, 3:35 PM
#1
jonroar avatar

jonroar

New Zenner

Join Date:
Jan 2013
Posts:
3
Plugin Contributions:
0

Which file do I edit to change the product view?

Hi,

I'm pretty new to Zen Cart, but I'm a developer by education. So I really SHOULD get this - but I'm afraid I need some advice here..

My store is using Zen Cart 1.5.1 and I've installed Luminix' Facebook Like button. I also use the Pure_Blue free template, and a Norwegian language pack.
The module do work as I've tested it by just adding the code on the bottom of the index.php in the main directory.

My problem now is to actually find WHICH template file that's used by my product_info page.
The browser sais: http://mydomain.com/index.php?main_page=product_info&cPath=1&products_id=1

And I've tried to edit (and even REMOVE) these files to see if it changes anything, but no change)

  • include/templates/pure_blue/templates/tpl_product_info_display.php
  • include/templates/template_default/templates/tpl_product_info_display.php
  • include/templates/template_default/templates/tpl_document_product_info_display.php

So.. can someone tell me which file the Pure_Blue template actually uses for the main product view? I'm just trying to add the Facebook 'Like' button on each product...

Best regards,
-jr

26 Jan 2013, 3:47 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Which file do I edit to change the product view?

Should be the first file you listed. A link to the actual site might let us spot something.

26 Jan 2013, 3:56 PM
#3
jonroar avatar

jonroar

New Zenner

Join Date:
Jan 2013
Posts:
3
Plugin Contributions:
0

Re: Which file do I edit to change the product view?

Of course, sorry. Here it is: http://sykkelsaker.no/
It's in norwegian. But I haven't removed the language selection option yet...

26 Jan 2013, 4:19 PM
#4
jonroar avatar

jonroar

New Zenner

Join Date:
Jan 2013
Posts:
3
Plugin Contributions:
0

Re: Which file do I edit to change the product view?

You was quite right, don't know what I've done and why it didn't work the first 2 hours i spent...
But it's working now when changing the first file :)

-jr