Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Turning design template into working shop.


vispa

Recommended Posts

Hi

 

Ok me very confused, and I have done quite a bit of reading now.

 

I have got a design template which has been done in Photoshop and is all chopped up into headers, footers, left and right sidebars....basically all the elements.

 

Question....where on earth do I drop these elements....I simply can't see a nice way of dropping them in. For instance take the shopping cart as an example....i have broken down this into it's 'box', can't I just drop this in, and then tell oscommerce to insert it's bits (what's in cart, totals etc) around it without messing around with raw coding?

 

Don't get me wrong I am quite reasonable with PHP, but i don't want to edit raw coding if there is a very simple way of doing this.

 

Help...i'm going nuts here :P

 

Martin

Link to comment
Share on other sites

There is no simple way.

 

There are things that help though:

 

All the boxes are made through the boxes class.

They get their formatting from there, and the colors etc. from

the stylesheet. (infoBox sections).

 

With those two you should be able to come quite far.

 

Furthermore all pages are created as

 

                   [header.php]

-----------------------------------------------------

[left_column] | mainpage     |  [right_column]

 calls boxes  |                    |  calls boxes

-----------------------------------------------------

                    [footer.php]  

 

where mainpage will actually have the left / right column called as ab include in EACH file... they're both just a cell in the table.

Open a file up, set table border to 1 and you'll see what I mean.

 

So you can drop your template in the header, left_column, mainPage, right_column and footer but you will have to edit each file in /catalog

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

if you are ok with php, and can make your photoshop layout into one html page, then a contribution I made might be the answer for you...

 

this was a draft I put together, but if you need help just email me....

 

http://www.oscommerce.com/downloads.php/co...ions,637/type,3

 

cheers,

Peter McGrath

-----------------------------

See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation

Link to comment
Share on other sites

  • 3 years later...
if you are ok with php, and can make your photoshop layout into one html page, then a contribution I made might be the answer for you...

this was a draft I put together, but if you need help just email me....

http://www.oscommerce.com/downloads.php/co...ions,637/type,3

cheers,

 

Hi there,

I also have a template that I have created as a single .html page, how can I incorporate it using your contribution which you have listed above but the link is unavailable

 

I would be most available if you could help me

 

regards

markyboy

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...