| 开发者 |
fahadmahmood
mklacroix marcusig invoicepress |
|---|---|
| 更新时间 | 2026年12月2日 23:03 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.Yes. Add a custom field disable_ajax_add_to_cart with the value 1 to the product. The optional pro add-on gives you a checkbox for this in the product editor.
Yes. mcafw_after_add_to_cart runs after an add to cart request (arguments: product ID, variation ID, quantity). mcafw_ds_added_to_cart runs only when the item was really added (it also receives the cart item key). On the front-end the mcafw_added_to_cart jQuery event is triggered on document.body with the server response.
If a pro folder exists inside the plugin, the premium features load automatically (plug and play). If the folder does not exist, the free version works exactly the same, without any errors.
added and notices; new mcafw_ds_added_to_cart action, mcafw_ds_response, mcafw_ds_localize_data and mcafw_ds_cart_item_data filters, and a mcafw_added_to_cart front-end event.mcafw_after_add_to_cart action hook for developers to attach custom functionality after an item is added to the cart. 25/10/2025