Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I customize product_listing.php?


nycreal

Recommended Posts

Hi, I have recently installed osc and have been having a great time making it suit my needs. I've been browsing the forums and am very glad to see a very active and supporting community :)

 

So hopefully I can get some insight on my dilemma... I installed STS and it skinned pretty much every page and that's worked out fine, except for one thing: the product_listing.php page. It is currently the stock product listing page. I want to change the look and feel of that page (I still haven't fully decided in what way though) to perhaps a 3 column layout with like,

 

- product name -

- product picture -

- price -

- buy now button -

 

in each column. I've been staring that product_listing.php source for awhile and can't find a decent way to achieve this. I understand that it calls the function tableBox from classes/boxes.php but changing code in that function would affect every other table on the website. I am completely unfamiliar with PHP, my first contact with PHP was through Mambo, and now osc.

 

Other threads suggested finding a contrib to change the product_listing.php but when I searched for it, it didn't return anything fruitful. Is there a simpler way to change the table structure? Would it be possible for me to point product_listing.php to another tableBox function (e.g tableBoxListing or something) that would have a diff table layout?

 

Thank you all for your help in advance, I really hate asking, I like finding the answer myself, but I've gone through the forums many times to no avail on this particular topic. Thank you again.

 

-Alex

Link to comment
Share on other sites

Hi, I have recently installed osc and have been having a great time making it suit my needs. I've been browsing the forums and am very glad to see a very active and supporting community :)

 

So hopefully I can get some insight on my dilemma... I installed STS and it skinned pretty much every page and that's worked out fine, except for one thing: the product_listing.php page. It is currently the stock product listing page. I want to change the look and feel of that page (I still haven't fully decided in what way though) to perhaps a 3 column layout with like,

 

- product name -

- product picture -

- price -

- buy now button -

 

in each column. I've been staring that product_listing.php source for awhile and can't find a decent way to achieve this. I understand that it calls the function tableBox from classes/boxes.php but changing code in that function would affect every other table on the website. I am completely unfamiliar with PHP, my first contact with PHP was through Mambo, and now osc.

 

Other threads suggested finding a contrib to change the product_listing.php but when I searched for it, it didn't return anything fruitful. Is there a simpler way to change the table structure? Would it be possible for me to point product_listing.php to another tableBox function (e.g tableBoxListing or something) that would have a diff table layout?

 

Thank you all for your help in advance, I really hate asking, I like finding the answer myself, but I've gone through the forums many times to no avail on this particular topic. Thank you again.

 

-Alex

 

Alex,

 

Is it close to the layout you want? http://shop.toyshk.com/catalog/index.php?cPath=3_10

 

The site is still under development. The sequence of installation of packages are as follows:

 

1) Clean installation of the latest osCommerce

2) Basic Design Pack 1.5

3) Column Product Listing (for SPPC v4.0)

4) SPPC 4.11

 

I found that people here are very helpful. So I hope that I can take part in it.

 

-SC

Link to comment
Share on other sites

Alex,

 

Is it close to the layout you want? http://shop.toyshk.com/catalog/index.php?cPath=3_10

 

The site is still under development. The sequence of installation of packages are as follows:

 

1) Clean installation of the latest osCommerce

2) Basic Design Pack 1.5

3) Column Product Listing (for SPPC v4.0)

4) SPPC 4.11

 

I found that people here are very helpful. So I hope that I can take part in it.

 

-SC

 

Actually, as a matter of fact that is! Thanks SC, the contrib that does that is Column Product Listing (for SPPC v4.0)?

Link to comment
Share on other sites

Hi,

 

I also have that contrib installed, though I am desperatly trying to figuyre out how to take the text and button and place them allongside the images rther than below.

 

Can either of you assist with this side of things.

 

my installed contrib is - www.go4beads.com/index.php

Born - Scotland

Location - Kent, England

Job - hunting for one

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...