flexi cart - A comprehensive shopping cart library for CodeIgniter |
[eluser]koichirose[/eluser]
Thank you, I think I'll go with this solution. I need the third table since I need to save split data for each store. I wanted to report a couple of what may be bugs: 1. In your doc pages the anchors don't seem to work (ex. this link is not taking me to the tax_total section: http://haseydesign.com/flexi-cart/user_g...#tax_total ) 2. It seems that the shipping is taxed even though $config['defaults']['shipping']['tax_rate'] = 0; Example: I'm adding one item to my cart (€22), quantity: 2 (€44), shipping is €10, set with Code: $shipping_data = array( Tax is 21%, set with Code: $tax_data = array( Results: Code: $this->flexi_cart->item_summary_total(); // 44 Results in a foreach cart items: Code: $this->flexi_cart->item_tax_total($row_id, false, false, false); //9.24, calculated on €44, without shipping I'm guessing the 11.34 is wrong - tax has to be calculated on products without shipping. Or viceversa. Actually, maybe 11.34 is correct and 9.24 is not. How can I set this? I am not (yet) using a shipping db table, but even then I'll still set shipping rate as shown above. Thank you once again. |
Welcome Guest, Not a member yet? Register Sign In |