Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

HELP! Want Home Page To Be A Category
 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-23-2018, 01:06 PM
 
knucklebuster knucklebuster is offline
 

Newbie
  
Join Date: Feb 2018
Posts: 4
 

Arrow HELP! Want Home Page To Be A Category

I only have one category with about 14 products in that one category....

How can I make my site so that it defaults to that category as the home page?

Exacmple my domain is "example.com" but I want example.com to go to example.com/cart.php?target=category&category_id=10 as the home page.

Please help! I see nothing in the admin to do with with.

Thank you,

KB
__________________
X-Cart
5.3.4.5

Stock Modules
Reply With Quote
  #2  
Old 02-26-2018, 02:20 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,158
 

Default Re: HELP! Want Home Page To Be A Category

An easy, but dumb, method would be redirecting from the home page to the category page via the .htaccess file.

A better approach would be creating a custom module that makes the home page display a block listing products from your category. It was discussed some time ago:
https://forum.x-cart.com/showthread.php?t=75633

However, in this case you will have to site pages listing the same products - this may be not what you are looking for.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 02-26-2018, 04:49 AM
 
knucklebuster knucklebuster is offline
 

Newbie
  
Join Date: Feb 2018
Posts: 4
 

Default Re: HELP! Want Home Page To Be A Category

Thank you Alex that worked for me!
__________________
X-Cart
5.3.4.5

Stock Modules
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:07 AM.

   

 
X-Cart forums © 2001-2018