soundguy Posted January 19, 2009 Share Posted January 19, 2009 I've just built a site for a client (http://capefearnaturals.com/). The client wants to know how to set which items are visible on the home page. I explained that the items where set by when they were added to the catalog. This is no good for my client. He wants to be able to set with determination the items visible and their order. Any help is greatly apreciated. osCommerce v2.2 RC2 Link to comment Share on other sites More sharing options...
Guest Posted January 19, 2009 Share Posted January 19, 2009 Try featured products. That may be what you want. Look in the add-ons for it. Link to comment Share on other sites More sharing options...
sormui Posted January 20, 2009 Share Posted January 20, 2009 I've just built a site for a client (http://capefearnaturals.com/). The client wants to know how to set which items are visible on the home page. I explained that the items where set by when they were added to the catalog. This is no good for my client. He wants to be able to set with determination the items visible and their order. Any help is greatly apreciated. osCommerce v2.2 RC2 I'm also looking for the same feature. But I also want to know is there a way to set the catalog page to be the home page (index.php)? Thanks in advance! Link to comment Share on other sites More sharing options...
sLaV- Posted January 20, 2009 Share Posted January 20, 2009 I'm also looking for the same feature. But I also want to know is there a way to set the catalog page to be the home page (index.php)? Thanks in advance! I think your looking for Store In Root Link to comment Share on other sites More sharing options...
sormui Posted January 20, 2009 Share Posted January 20, 2009 I think your looking for Store In Root No, I meant when I type http://mydomain.com/index.php, it will go to http://mydomain.com/index.php?cPath=21 (I only have 1 category in my store and this is the page that when I click the first link in the categories info box). Link to comment Share on other sites More sharing options...
sormui Posted January 21, 2009 Share Posted January 21, 2009 No, I meant when I type http://mydomain.com/index.php, it will go to http://mydomain.com/index.php?cPath=21 (I only have 1 category in my store and this is the page that when I click the first link in the categories info box). Can anyone help please? Link to comment Share on other sites More sharing options...
sLaV- Posted January 21, 2009 Share Posted January 21, 2009 Can anyone help please? You can do a 301 redirect adding something like: RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ http://www.yourdomain.com/index.php?cPath=21 [R=301,L] to your .htaccess file in your store root The above MIGHT not work so you'd probably have to do some further research on htaccess files Link to comment Share on other sites More sharing options...
♥kymation Posted January 21, 2009 Share Posted January 21, 2009 The easiest way is to find this code in catalog/includes/application_top.php // calculate category path if (isset($HTTP_GET_VARS['cPath'])) { $cPath = $HTTP_GET_VARS['cPath']; } elseif (isset($HTTP_GET_VARS['products_id']) && !isset($HTTP_GET_VARS['manufacturers_id'])) { $cPath = tep_get_product_path($HTTP_GET_VARS['products_id']); } else { $cPath = ''; and change that last line to $cPath = '21'; Regards Jim See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
sormui Posted January 21, 2009 Share Posted January 21, 2009 The easiest way is to find this code in catalog/includes/application_top.php // calculate category path if (isset($HTTP_GET_VARS['cPath'])) { $cPath = $HTTP_GET_VARS['cPath']; } elseif (isset($HTTP_GET_VARS['products_id']) && !isset($HTTP_GET_VARS['manufacturers_id'])) { $cPath = tep_get_product_path($HTTP_GET_VARS['products_id']); } else { $cPath = ''; and change that last line to $cPath = '21'; Regards Jim Yeah, it works, thanks!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.