Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Static main page?


Recommended Posts

This is the 3rd time I've worked with OSC, and the first time that I'm the primary on the install and configuration. And I've hit a brick wall.


I want the main page of the catalog to be static. We have a dozen products, and half of those are add-ons. I just want to show our standard products on the main page--not "What's new in May", and most definitely not randomized.


I've looked through every setting in the admin I can think of--I can't see anything that does what I want. Short of yanking all the php and inserting straight html, what are my options?


I've searched through the knowledge base and the forums, but haven't found an answer.


I've installed the "featured products" contribution, but it doesn't appear to do anything. I have pretty buttons and a whole bunch of new configuration settings in admin, but they don't appear to actually *do* anything.



I'm tired and frustrated. :P


Thanks in advance.

Link to comment
Share on other sites

Did you add the code to your index.php?


featured products sounds like it would do exactly what you want.

Wendy James


Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Take a root level file like conditions.php and resave as index.php. Remove this:


require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONDITIONS);


Then change the other reference to FILENAME_CONDITIONS to FILENAME_DEFAULT


Then, where you see this:


<td class="main"><?php echo TEXT_INFORMATION; ?></td>


change it to this:


<td class="main"><?php include('index.html'); ?></td>


Then create an index.html file with your main page content and drop it into the root of your web.



Link to comment
Share on other sites

Thanks for the help. I handed it off to my programmer and together we got it working (this is what happens when the "make it pretty" guy tries to mess around with the "make it work" problems) :)


Next question: We have Featured Products up and running--it's exactly what I needed)--but the content still shuffles around randomly. Is there a way to sort the Featured Products? Both our programmer and I have looked through the controls, and can't fine a flag for that.


Our situation is this: We're a new webhosting company, and we want just the various plans to be listed on the main catalog page. It would be nice to be able to sort the plans by their rank (as dictated by a product number).


Any suggestions would be appreciated.

Link to comment
Share on other sites


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

  • Create New...