User Tools

Site Tools


javascript_par_defaut_sur_la_page_product

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
javascript_par_defaut_sur_la_page_product [2015/02/02 13:30]
78.250.57.239
javascript_par_defaut_sur_la_page_product [2015/02/02 16:41] (current)
78.250.57.239
Line 14: Line 14:
 ^ requête AJAX ^|| ^ requête AJAX ^||
 ^ url ^|index.php?​route=checkout/​cart/​add| ^ url ^|index.php?​route=checkout/​cart/​add|
 +^ données POST attendues ^|product_id,​ quantity, option, profile_id|
 ^ data ^|$('​.product-info input[type=\'​text\'​],​ .product-info input[type=\'​hidden\'​],​ .product-info input[type=\'​radio\'​]:​checked,​ .product-info input[type=\'​checkbox\'​]:​checked,​ .product-info select, .product-info textarea'​)| ^ data ^|$('​.product-info input[type=\'​text\'​],​ .product-info input[type=\'​hidden\'​],​ .product-info input[type=\'​radio\'​]:​checked,​ .product-info input[type=\'​checkbox\'​]:​checked,​ .product-info select, .product-info textarea'​)|
 ^ data ex. ^|option%5B217%5D=4&​option%5B218%5D=6&​option%5B223%5D%5B%5D=8&​quantity=2&​product_id=42| ^ data ex. ^|option%5B217%5D=4&​option%5B218%5D=6&​option%5B223%5D%5B%5D=8&​quantity=2&​product_id=42|
javascript_par_defaut_sur_la_page_product.txt · Last modified: 2015/02/02 16:41 by 78.250.57.239