agshoward Posted August 22, 2012 Share Posted August 22, 2012 Hi, I'm limited in my php abilities and need some direction (prefer working example) of how I can have a function that adds two products from my catalog into the cart, one of the products is what the customer ordered the other is a custom item that needs to be added automatically. I currently do this thru a mod in the ajax-cart.js under the BlockCart module, it works to a point but at times it misses adding the second product - I need something that is a little more repeatable. I'm using cookies to do this and use the same cookies to make some other custom attribute changes such as custom text. thanks in advance to any help you can give. regards Andre Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2012 Share Posted August 22, 2012 (edited) Hi, I'm limited in my php abilities and need some direction (prefer working example) of how I can have a function that adds two products from my catalog into the cart, one of the products is what the customer ordered the other is a custom item that needs to be added automatically. I currently do this thru a mod in the ajax-cart.js under the BlockCart module, it works to a point but at times it misses adding the second product - I need something that is a little more repeatable. I'm using cookies to do this and use the same cookies to make some other custom attribute changes such as custom text. thanks in advance to any help you can give. regards Andre Edited August 22, 2012 by vekia (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now