Forms
Från Vendre Help
Version från den 18 februari 2020 kl. 13.07 av Philip (Diskussion | bidrag) (Skapade sidan med 'This page describes forms in the system, including their function and their parameters. ==Global forms== ===POST ?action=add_product=== TODO {| class="wikitable" |- ! Form...')
This page describes forms in the system, including their function and their parameters.
Innehåll
Global forms
POST ?action=add_product
TODO
| Form field | Description |
|---|---|
| clear_cart | TODO |
| products_id | TODO |
| quantity | TODO |
| full_products_id | TODO |
| attributes_comments | TODO |
| unique_id | TODO |
| id | TODO |
| text | Pass a field like text[comment] and a comment field will be stored on the product in the shopping cart. |
| json | Pass a field like json[data] and a data field be stored on the product in the shopping cart. |
?action=buy_now
?action=buy_now (multiple products)
?action=update_product
/ajax.php
GET ?mode=shopping_cart_item_set_data
TODO
| Form field | Description |
|---|---|
| products_id | TODO |
| key | TODO |
| text | TODO |
| json | TODO |