vidmarc Posted October 13, 2016 Share Posted October 13, 2016 Hads anybody added a Facebook store, and successfully integrated the checkout part to Cubecart? Any tips please? Quote Link to comment Share on other sites More sharing options...
vidmarc Posted October 13, 2016 Author Share Posted October 13, 2016 Is there a way of adding a product to the Cubecart basket by clicking a Facebook checkout link? Do I just add #submit to the link? Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 13, 2016 Share Posted October 13, 2016 Not easily. Because it is assumed that clicking a "Facebook Checkout Link", the customer will want to stay on Facebook, that means the link will need to use the method of "remote procedure call" (ajax), that is, something like index.php?_g=fbcl&product_id=123 Plus, the link will need to be javascript cancelled so as to prevent the browser from actually attempting to switch pages pointed to by that link. Then, a plugin would need to be developed to listen for fbcl which would add the item to the shopping basket. The plugin would also have to send a CubeCart cookie so that when the customer does get to your store to checkout, there will be a session established for that customer. Quote Link to comment Share on other sites More sharing options...
vidmarc Posted October 13, 2016 Author Share Posted October 13, 2016 A pity. Looks like MyShopify is best for this as it works seamlessly with Facebook. Here's the Facebook info for anybody who is interested in writing a plugin. https://www.facebook.com/business/help/912190892201033 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.