| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding additional pages | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi all
I'm a little new to all this ![]() How can i add additional php pages to the script, i will be using it for things like full news page, partner page etc etc. If anyone can help me in this i would appricate it ![]() Thanks Kirk |
|||||||
#2
|
|||||||
|
|||||||
![]() Me, too. I'll need to add a number of extra pages.
Thanks. ![]()
__________________
ArmyNavy.com TM Military Surplus, Clothing, Gear, Vehicles, and Tons More. \"Tons and Tons of Surplus!\" TM |
|||||||
#3
|
|||||||
|
|||||||
![]() Maybe this idea is too simplistic for your needs but could you just add some html pages for your "extra pages"?
|
|||||||
#4
|
|||||||
|
|||||||
![]() Hi Jeannie
Yes, you could, but would they retain the session id? What I'm concerned about is having the page parsed by the cart so that the shopping session is preserved. Thanks. ![]()
__________________
ArmyNavy.com TM Military Surplus, Clothing, Gear, Vehicles, and Tons More. \"Tons and Tons of Surplus!\" TM |
|||||||
#5
|
|||||||
|
|||||||
![]() Try the FAQ in the members area of X-Cart. It is explained there how to add additional pages.
Hope that helps Ian ![]()
__________________
_____________________________________ 4.6.6 Gold Plus and 4.7.4 Gold MySQL server 5.6.29 PHP 5.5.34 |
|||||||
#6
|
|||||||
|
|||||||
![]() Thanks, Ian.
![]() Here it is: Quote:
__________________
ArmyNavy.com TM Military Surplus, Clothing, Gear, Vehicles, and Tons More. \"Tons and Tons of Surplus!\" TM |
|||||||
#7
|
|||||||
|
|||||||
![]() So you're saying that unless the additional pages are generated by xcart that the session id is not preserved? If there are cart contents they are removed if the shopper ventures off to html pages under the same domain or other sites? I thought the cart stayed in tact until the browser was closed.
![]() |
|||||||
#8
|
|||||||
|
|||||||
![]() I had this problem with fcart and the developers told me to add this code snippet at the top of the page - I believe it will also work for xcart. The idea is that it preserves your session id when moving outside xcart as such - it certainly works for fcart
Code:
Insert that snippet at the top of your standard html page and then rename your page filesomething.php Hope this helps quote for today: get on your bike !!
__________________
Chris some carts at v4.4.5 security patched on a hardened managed unix server |
|||||||
#9
|
|||||||
|
|||||||
![]() Where does this code snipet actually go...on what page...
Does it go on the home.tpl Then add selector which will diplay your About Us template in the center of the cart: {if $smarty.get.mode eq "subscribed"} {include file="main/subscribe_confirmation.tpl"} {elseif $smarty.get.mode eq "about_us"} {include file="main/about_us.tpl"} {elseif $smarty.get.mode eq "unsubscribed"} {include file="main/unsubscribe_confirmation.tpl"} |
|||||||
#10
|
|||||||
|
|||||||
![]() Hi Ice,
you would put the code at the top of your HTML FILE as follows. <? session_register("id") ?> <HTML> <HEAD> <TITLE>Page title</TITLE> </HEAD> <BODY> -------- body code here -------- </BODY> </HTML> Change the file extension from "filename.htm or html", to "filename.php" Regards,
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|