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

Placing Shopping cart tota in header

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 05-07-2011, 08:40 PM
 
sdotdigital sdotdigital is offline
 

Newbie
  
Join Date: Feb 2010
Posts: 3
 

Default Placing Shopping cart tota in header

I have a website that has other pages and sections other than the x-cart shopping cart. I want to have shopping cart total in header and have it show even if customer leaves the x-cart section of website. What do i have to add to a php page so i can have the Shopping cart total show up header of other sections via IFrame
__________________
4.x.x
Reply With Quote
  #2  
Old 05-10-2011, 12:39 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: Placing Shopping cart tota in header

You should create your own PHP script with the necessary logic.
And further use it output via IFrame or Ajax.

To use X-Cart functions in the script you should start the script as follows:
PHP Code:
<?php

require "./auth.php";

#your code goes here

?>

Use home.php/minicart.php as a sample.
__________________
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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


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 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 03:31 AM.

   

 
X-Cart forums © 2001-2020