MrPhil Posted June 29, 2008 Share Posted June 29, 2008 I want to integrate my osC shopping cart into the rest of my hand-coded site (PHP). What I'd like is to have a reminder on non-osC pages (elsewhere on my site) that a visitor is still signed into the store, so I can put up a button reminding them (and one click back to the store). If they are not signed in (they signed out, or haven't visited the store pages yet), I could put up a grayed-out, inactive button. What's the best way to do this? A quick search didn't show anything promising, but I'd like to avoid re-inventing the wheel. Ideally, outside of the osC pages, I could detect three states and put up the appropriate graphic or link: * non-empty shopping cart (that I don't want them to abandon): "filled" cart button back to store * empty shopping cart (but are logged in to store): "empty" shopping cart button back to store * nothing in cart and not logged in: "grayed out" empty shopping cart as an inactive link, or maybe "empty" cart button to store (I haven't decided which) If you could tell me where to find the appropriate information (or suggest a mod that I could cannibalize), I can take it from there. I don't know what osC information will be available if they don't have a session of some kind (and how do I relate a visitor on a random page to any existing osC session?). Thanks for any suggestions! Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.