Re: Smarty - Browser Identifier?
I hope I did not discourage you too much. It seems like the smarty variables should work on any page that calls browser_identificator.js - but not all pages do, and we never went too far in trying to figure out how XCART is doing this. If you are only concerned about the home page - I think you may be okay because that is where xcart identifies the browser and puts the info into the smarty, the db and session variables, and, I believe cookie.
Why we decided it was unstable was - it appeared that if you already had a session going from another cart it would not set the smarty variables. You could clear the cookie from the site, go back to the home page, and it would fill the smarty variables again. On subsequent versions of X-CART - I thought they cleaned up their cookie process - so it may be okay on recent versions? It may be worth trying it out.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
|