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

How do you integrate a custom page into the card?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-19-2006, 01:02 PM
 
Jeremy.Freeman Jeremy.Freeman is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 79
 

Default How do you integrate a custom page into the card?

I apologize if this has already been covered, I tried searching around but found nothing. If this has been covered, and you know where it has, a link would be greatly appreciated.

I'm basically looking to include a custom page that I've designed (just some HTML) into a page on the cart, say.. /shop/browse-products.php which has a list of a few categories with custom descriptions on them. I want the entire cart to wrap around it, so that I have the categories menu and everything else.

It would basically be like the news page, but without news on it.. with my custom content.

Im sure its something along the lines of...

{include file}
my html page
{include file}

But I cant seem to find out which files it is I need to include directly to wrap the cart around it.

Any help on this subject would be greatly appreciated, and thank you in advance.
__________________
Jeremy Freeman
EZWatch Store
X-Cart v4.1.5
Reply With Quote
  #2  
Old 07-19-2006, 04:25 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Click on 'Static Pages' in your admin menu. That is exactly what the embedded static pages do...the content shows up in the main window, but the rest of the cart stays the same
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-20-2006, 06:02 AM
 
Jeremy.Freeman Jeremy.Freeman is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 79
 

Default

This definately builds a page like I was talking about under /shop/, however it doesnt actually wrap the cart around it.. I view the source of the page, and the only code in the page is the exact code I pasted into the Page Content field when creating it under Static Pages.

Thank you for your quick response.
__________________
Jeremy Freeman
EZWatch Store
X-Cart v4.1.5
Reply With Quote
  #4  
Old 07-20-2006, 06:11 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You need to use EMBEDDED pages...not ROOT pages. There are two static page types...make sure you are adding the right one.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 07-20-2006, 09:48 AM
 
Jeremy.Freeman Jeremy.Freeman is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 79
 

Default

ahha.. Great! Thank you! Now I feel like a complete moron.. hehe.

One last question if you don't mind... this makes the page show up with the URL "/shop/pages.php?pageid=3&mode=preview" ... is there a way I can make this "/shop/browse_products.php".. Im trying to keep the urls optimized for SEO.

Thank you for your time thus far, I greatly appreciate it.
__________________
Jeremy Freeman
EZWatch Store
X-Cart v4.1.5
Reply With Quote
  #6  
Old 07-20-2006, 10:17 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You want this mod from SafetyNetWeb....it optimizes not only the static pages, but the product and category pages as well:

http://www.safetynetweb.com/Dynamic-Search-Engine-Friendly-URLs-pr-1.html
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 07-20-2006, 10:50 AM
 
Jeremy.Freeman Jeremy.Freeman is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 79
 

Default

Quote:
Originally Posted by balinor
You want this mod from SafetyNetWeb....it optimizes not only the static pages, but the product and category pages as well:

http://www.safetynetweb.com/Dynamic-Search-Engine-Friendly-URLs-pr-1.html

Perfect. Thanks again for your time.. You've answered the last of my questions.
__________________
Jeremy Freeman
EZWatch Store
X-Cart v4.1.5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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 06:12 AM.

   

 
X-Cart forums © 2001-2020