Oscommerce on 1 page only?
Posted 07 May 2011 - 15:21
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 - 15:41
osCommerce is a complete ecommerce solution. There would be no reason to use your existing site.
See my Profile to learn more about add ons, templates, support plans and custom coding (click here)
Posted 07 May 2011 - 15:44
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 - 15:45.
Posted 07 May 2011 - 15:51
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 - 16:04.
Posted 07 May 2011 - 16:10
Yes, I don't mean that. The checkout page can be 1 page or more, that doesn't matter.
Well, everything on one page is not possible, and would also look strange: There are some pages. like he checkout pages, that need to be separatelly. But probably you don't mean this.
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 - 18:02
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