MacJoe Posted October 12, 2015 Share Posted October 12, 2015 Hi there,How can I set the osCsid manually in a php file?I get from an external source a new product.This will be imported into the Products database. $cart-> add_cart ($ new_product_id); Unfortunately the command "add_cart" has no effect.The external JavaScript from the server gets its own osCsid ... Link to comment Share on other sites More sharing options...
MrPhil Posted October 12, 2015 Share Posted October 12, 2015 Instead of trying to fool the program, why not use something like the Easy Populate add-on that's built to add/update products from a CSV file? Link to comment Share on other sites More sharing options...
MacJoe Posted October 12, 2015 Author Share Posted October 12, 2015 It's a realtime Import from a other shop-system - just for the user cart ... Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 12, 2015 Share Posted October 12, 2015 Session ID's expire so assigning one won't accomplish anything, or so it seems to me. Why be concerned about it? What do you intend to do with it? Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.