Hello,
katalogs.net84.net/ - Here we can find my flash app, under "DE" section ---> 1. Section and 1.section there are spare parts of machine.
And
katalogs.net84.net/index.php/sample-sites-2/category/12-einzugskasten - Here are the same spare parts, with button "Pievienot Grozam" = Add to basket.
So the problem is that I need to get my flash button to respond same as add to basket button.
I know it works with post function in php, but Im new at web programming so I dont understand it quite well.
this is the code of button, Can anyone help me with constructing the code in flash that It would post the same data. I need only one fully functional example and from that Im sure I will understand how it works.
I hope for some help soon,
Best regards
katalogs.net84.net/ - Here we can find my flash app, under "DE" section ---> 1. Section and 1.section there are spare parts of machine.
And
katalogs.net84.net/index.php/sample-sites-2/category/12-einzugskasten - Here are the same spare parts, with button "Pievienot Grozam" = Add to basket.
So the problem is that I need to get my flash button to respond same as add to basket button.
I know it works with post function in php, but Im new at web programming so I dont understand it quite well.
PHP:
<form action="/index.php/sample-sites-2/product/updatecart" method="post" name="hikashop_product_form_2_hikashop_category_information_module_130" enctype="multipart/form-data"> <div class="hikashop_product_stock"> <span class="art-button-wrapper"><span class="art-button-l"> </span><span class="art-button-r"> </span><input type="submit" class="btn button hikashop_cart_input_button art-button" name="add" value="Pievienot grozam" onclick="var field=document.getElementById('hikashop_product_quantity_field_1');if(hikashopCheckChangeForm('item','hikashop_product_form_2_hikashop_category_information_module_130')){ return hikashopModifyQuantity('2',field,1,'hikashop_product_form_2_hikashop_category_information_module_130','cart',130); } return false;" /></span><input id="hikashop_product_quantity_field_1" type="hidden" value="2" class="hikashop_product_quantity_field" name="quantity" /> </div> <input type="hidden" name="hikashop_cart_type_2_130" id="hikashop_cart_type_2_130" value="cart"/> <input type="hidden" name="product_id" value="2" /> <input type="hidden" name="module_id" value="130" /> <input type="hidden" name="add" value="1"/> <input type="hidden" name="ctrl" value="product"/> <input type="hidden" name="task" value="updatecart"/> <input type="hidden" name="return_url" value="aHR0cDovL2thdGFsb2dzLm5ldDg0Lm5ldC9pbmRleC5waHAvc2FtcGxlLXNpdGVzLTIvY2F0ZWdvcnkvMTItZWluenVnc2thc3Rlbg%3D%3D"/> </form>
this is the code of button, Can anyone help me with constructing the code in flash that It would post the same data. I need only one fully functional example and from that Im sure I will understand how it works.
I hope for some help soon,
Best regards