Oscommerce on 1 page only?
Posted 07 May 2011 - 03:21 PM
I have an existing php website that also has a 'shop' page which lists all our products, and PayPal "Buy Now" buttons.
Is there a way I can "have" oscommerce, but only on 1 page?
How would you recommend I go about this?
Posted 07 May 2011 - 03:44 PM
If I understand correctly, you want a page that
- list all your 5 products on the front page with a buy now button under/beside them
- there are no detailed product info pages since there is not much to say about the products, also no additional images needed
- people buy directly from the frontpage and proceed to regular checkout, to select payment etc
Yes, that's possible
EDIT: all your other pages would be included into osCommerce as well, you don't need any other website (except you want a blog, forum etc)
Edited by multimixer, 07 May 2011 - 03:45 PM.
Posted 07 May 2011 - 03:51 PM
I want to keep my website but implement oscommerce -- I do not want the "shopping cart" on every page, and I only have 5 products (each product is customisable by weight and flavour etc). How would I go about implementing osCommerce but keeping the exact structure of my website, except for the shop.php page?
Edited by rfwoolf, 07 May 2011 - 04:04 PM.
Posted 07 May 2011 - 04:10 PM
I basically want to keep the structure of my site, except on the shop.php page I want a "shopping cart" and all my (five) products listed.
In the worst case, I don't really mind hacking the hell out of a oscommerce template that just has a header, body and footer and then somehow removing the shopping cart from all the pages except one.
Posted 25 May 2011 - 06:02 PM
I put some of my php files into the catalog directory, for example
catalog/index.php <--- I over-write the default oscommerce index.php
Then I create a new page called shop.php, and register it in osCommerce in the filenames.php
Then I use STS (Simple Template System) contribution to design the page exactly like the rest of my website, and simply put $shoppingcart$ where I want the shopping cart to appear, and $content$ where I want some of my products to appear.
Of course there was a lot of manipulation and experimentation that took me a week, but in short that is what I have done