hominid4 Posted November 5, 2006 Posted November 5, 2006 Hi, we only have 3 products to sale (home air filters) and would like for them to be on the home page of the store only, not to where people go to the store home page and then have to click on the one product category under the Categories page to view the filters. What we would like is to have the three types of air filters on the home page, each with a brief description, and from there the viewer selects the size they need next to the filter they want and then click 'add to cart'. No need to click on a smaller version of it and then go to each filter's own page, as it's set up now. Does anyone have any examples of using this script for just 3 products? Or is this script not made for smaller sites? The reason we've been looking at this script is because of the customer and order history handling. Thanks!
oschellas Posted November 5, 2006 Posted November 5, 2006 I haven't seen a custom made script for this, I think the only way is to alter the code. The index.php page loads by default the new products module with a short welcome on top. You could program it to load the search result module by default and show only 3 results.
hominid4 Posted November 5, 2006 Author Posted November 5, 2006 Thanks oschellas, I was afraid of that. Is there another simple PHP free script out there that would suffice for only selling 3 products? Thanks again!
oschellas Posted November 5, 2006 Posted November 5, 2006 I don't know a custom made e-commerce script for 3 product (don't think there is any). What you also could do is design 1 html page with your 3 products and their information (you can even use frontpage for this). Save this file in your root as index.html (example: http://www.mystore.com/index.html). Install oscommerce in the catalog directory (default) so it looks like this: http://www.mystore.com/catalog/ Link each product in your custom index.html file to the product info file in oscommerce (example: http://www.mystore.com/catalog/product_inf...?products_id=1). In the index.html file you can make also a link for different sizes and in the catalog you can make new id's for the same product with a different size. Example: Ventilator A / size 10 links to http://www.mystore.com/catalog/product_inf...p?products_id=1 Ventilator A / size 30links to http://www.mystore.com/catalog/product_inf...p?products_id=2 This way you don't have to code in php and you don't have to change the oscommerce script.
Guest Posted November 5, 2006 Posted November 5, 2006 index.php is basically 3 pages of code into one, the main page, category page and the products page. What you want is just the products page (the middle part of code on index.php) If you move the code for that part of index.php to the part for the main page you can mod it to appear however you want, such as your 3 products in a row, add text underneath, and add a buy now button. You will need to know php to do it but it would be possible. This might help also; http://www.oscommerce.com/community/contributions,4627 http://www.oscommerce.com/community/contributions,86 http://www.oscommerce.com/community/contributions,2125 http://www.oscommerce.com/community/contributions,2039 http://www.oscommerce.com/community/contributions,2252 http://www.oscommerce.com/community/contributions,651 But I don't think any will do exactly what you are looking for. HTH
hominid4 Posted November 5, 2006 Author Posted November 5, 2006 Yes, that is what I need! Sounds great, I'll move the needed code to the main page. Thanks to all!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.