View Issue Details

IDProjectCategoryView StatusLast Update
0002132OXID eShop (all versions)1.09. Integrations: Facebook, Trusted Shops, Shop lupe, Econdapublic2012-12-07 14:35
Reporterleofonic Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.2 revision 29492 
Fixed in Version4.4.4 revision 30554 
Summary0002132: First Item disappears from basket when Facebook like is enabled
DescriptionWhen FB like is enabled, the very first product that is put to basket disappears from basket. This only happens if the product is put to basket via detail page, and it only happens once per browser session. When FB like is disabled, everything is fine.
Steps To ReproduceIn Demoshop
- Open up a fresh browser session
- Go to detail view of an article
- Click "add to cart"
- Click "proceed to checkout"
- The Shopping Cart is empty!
Additional InformationGerman Forum:
http://www.oxid-esales.com/forum/showthread.php?t=6921
TagsFacebook
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

rimvydas_paskevicius

2010-10-01 15:44

reporter   ~0003565

The problem is related with browsers check i oxsession::_isSwappedClient(). Method checks if user browser agent was changed - if yes, new session id is generated. Facebook Like button uses Facebook hit bot access (User-agent: facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)).
The bot retrieves the og:site_name meta tag and displays the site name it gets from there. So oxsession class checks that user agent was changed and resets session. The solution is to add facebook hit bot to Search-Engine Robots list in config.inc.php file:

$this->aRobots = array(..., 'facebookexternalhit');