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

"Items in Cart" Widget on non-X-Cart site -- possible?

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 04-10-2017, 01:33 PM
 
Miriable Miriable is offline
    
Join Date: Apr 2017
Posts: 1
 

Question "Items in Cart" Widget on non-X-Cart site -- possible?

I'm trying to do something that seems like it should be simple. This is of course a dangerous thing to think.

Say we have two sites: an X-Cart 5 site at store.example.com and one using a regular CMS at www.example.com. What was want to do is put a tiny widget on the non-X-Cart site that alerts people if they still have unpurchased items in their shopping cart, and tells them how many items they have. When they click the widget, it sends them to store.example.com/cart.php. No need for a full-fledged mini-cart.

I figure the simplest method would use an iframe to make cross-site authentication easier, though if anyone can think of a RESTful solution (either server- or browser-based) I'd prefer that instead. But first off, I need to figure out how/where to find the correct data. All I need is one integer, but I haven't been able to find it yet.

Anyone have any ideas on this one?
__________________
Wot wot
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (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 09:53 PM.

   

 
X-Cart forums © 2001-2020