tomten Posted June 29, 2006 Share Posted June 29, 2006 I added the True to the two 'in_cart's in ot_together.php. Where else do I need to change it so that the correct uprid can get passed to the calculate_2gether_discount() function? I'm beginning to think that we have to modify get_quanitity like we modified in_cart so that the get_quantity calls in ot_together's function calculate_2gether_discount can actually find a quantity of an item with attributes. My guess is this call is using the product id without attributes, and since the attributes are not included, the get_quantity function returns 0. Do you think this is correct? If so, how can I modify the get_quantity function in the same way that we modified in_cart? (I don't know how the new in_cart function works, so I have no idea how to modify the get_quantity function so that we can give it to option to check the quantity without attributes). Thanks. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.