tag:blogger.com,1999:blog-7442072150765022610.post323013903630012140..comments2023-11-16T23:12:55.172+05:30Comments on Hiren's Technical Blog: Use JavaScript to built multilingual web applicationHiren Davehttp://www.blogger.com/profile/03332234242233370508noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7442072150765022610.post-8722504811352049512013-08-03T18:12:46.629+05:302013-08-03T18:12:46.629+05:30Maybe look at https://github.com/Novotive/Languati...Maybe look at https://github.com/Novotive/LanguativeKuba Szostakhttps://www.blogger.com/profile/09369659746160909441noreply@blogger.comtag:blogger.com,1999:blog-7442072150765022610.post-89539316793339246032013-04-26T21:14:34.643+05:302013-04-26T21:14:34.643+05:30Hi hiren,
I used three configurable products and...Hi hiren,<br /><br /> I used three configurable products and i used their own attributes. but, if i select first product option and add to cart means its working good.but if i select other two products option it will not added to the cart.<br />This is the form here the values are submitted <br /><br /><br />Controller:<br />public function addtocartproductAction() {<br /> $params = $this->getRequest()->getPost(); <br /> foreach($params['product'] as $values){<br /> $total = array(<br /> 'product' => $values['id'],<br /> 'super_attribute' => $values['option'],<br /> 'qty' => $values['qty'],<br /> );<br /> $cart = Mage::getSingleton('checkout/cart'); <br /> $product = new Mage_Catalog_Model_Product();<br /> $product->load($values['id']);<br /> $cart->addProduct($product, $total);<br /> }<br /> $cart->save();<br /> Mage::getSingleton('checkout/session')->setCartWasUpdated(true);<br /> $this->_redirect('checkout/cart');<br /> }This is the option values:<br /><br />Array<br />(<br /> [product] => 26<br /> [super_attribute] => Array<br /> (<br /> [144] => 19<br /> [145] => 30<br /> )<br /><br /> [qty] => 5<br />)<br />Array<br />(<br /> [product] => 32<br /> [super_attribute] => Array<br /> (<br /> [142] => 7<br /> [143] => 15<br /> )<br /><br /> [qty] => 10<br />)<br />Array<br />(<br /> [product] => 41<br /> [super_attribute] => Array<br /> (<br /> [146] => 32<br /> [147] => 37<br /> )<br /><br /> [qty] => 5<br />)<br /><br />All products are configurable products and have their own atrributes. Help me to solve this..ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7442072150765022610.post-17315871984982204292012-01-02T17:25:22.683+05:302012-01-02T17:25:22.683+05:30Yes I do have it. I made a complete bilingual appl...Yes I do have it. I made a complete bilingual application using above technique.Hiren Davehttps://www.blogger.com/profile/03332234242233370508noreply@blogger.comtag:blogger.com,1999:blog-7442072150765022610.post-87911816184849398432012-01-02T17:09:05.632+05:302012-01-02T17:09:05.632+05:30Hi,
This is really nice.
Do you maybe have a piec...Hi,<br /><br />This is really nice.<br />Do you maybe have a piece of code where this is fully used?<br /><br />Let me know.<br /><br />Thx.<br /><br />AnibalAnonymousnoreply@blogger.com