Search results for action
211 articles found
-
autoship_after_update_scheduled_order_schedule_handler_nochange (action)
(src/scheduled-orders.php) Used to add customization after the Scheduled Order was updated when no changes have been made to the Scheduled Order. It takes the (Scheduled) $order_id, the $action, and
-
autoship_after_update_schedule_items_handler_nochange (action)
(src/scheduled-orders.php) Used to add customization where Scheduled Order Items were updated and no change was made from the previous Item(s) values. It takes the (Scheduled) $order_id, the
-
autoship_after_update_scheduled_order_shipping_address_handler_nochange (action)
(src/scheduled-orders.php) Can be used to add customization when a shipping address is updated with no change in the shipping address fields. It takes the (Scheduled) $order_id, the $action being
-
autoship_after_update_scheduled_order_payment_method_handler_nochange (action)
(src/scheduled-orders.php) Used to add customization when a Scheduled Order payment method is updated with no change to the payment method. It takes the (Scheduled) $order_id, $action, and the
-
autoship_update_scheduled_orders_on_processing_{$action}_gateway (action)
(src/orders.php) Used to update Scheduled Orders for WooCommerce Orders QPilot creates over the REST API when the WooCommerce Order is updated to "Processing". It takes $payment_meta, the
-
autoship_initiate_add_to_scheduled_order_link_handler (action)
( src/scheduled-orders.php) Can be used to add customization when initiating the Add to Scheduled Order link. It takes the $link as its parameter. Code do_action(
-
autoship_initiate_create_scheduled_order_link_handler (action)
( src/scheduled-orders.php) Can be used to add customization when initiating the Create Scheduled Order link. It takes the $link as its parameter. Code do_action(
-
autoship_after_push_product (action)
( src/products.php) Can be used to perform custom actions after upserting products to QPilot. It takes the $product as its parameter. Code do_action( 'autoship_after_push_product', $product ); Found
-
autoship_after_delete_product (action)
(src/products/php) Can be used to add customization after a product is deleted. It takes the (WooCommerce product) $id as its parameter. Code do_action( 'autoship_after_delete_product', $id ); Found
-
autoship_after_update_product_availability (action)
(src/products.php) Can be used to add customization after updating a product's availability in QPilot. It takes the $product as its parameter. Code do_action(
-
autoship_after_update_product_activate (action)
( src/products.php) Can be used to add customization after activating products in QPilot. It takes $enabled ('yes' or 'no') and $excluded_ids (WC Product Id's) as its parameters. Code do_action(
-
autoship_push_product_404_missing_variable_parent (action)
( src/products.php) Can be used to add customization when a product variation's parent product cannot be found it takes $product & the get_parent_id() method for the supplied product
-
autoship_strip_actions (function)
(src/scheduled-orders.php) Hooked to the ' autoship_get_account_scheduled_orders_actions filter and currently removes the Delete, Failed, and Pending unsupported actions from the Scheduled Orders
-
autoship_update_cart_action (function)
(src/cart.php) Updates the Autoship Frequency and Type when cart is updated. It takes as its parameter and returns $cart_updated (boolean) whether the cart was updated or not. /** * Updates the
-
[WooCommerce] Scheduled Order Statuses & Actions
Administrators can create and manage existing Scheduled Orders from within the WordPress Admin at WP-Admin > Autoship Cloud > Scheduled Orders. Learn more here: Editing Scheduled Orders. For more
-
[WooCommerce] What Bulk Actions Can I Perform on My Products?
Table of Contents Update Product Synchronization Bulk Update Autoship Checkout Price Bulk Update Autoship Recurring Price Bulk Enable WooCommerce Products to Display Autoship Options Bulk Enable
-
autoship_edit_scheduled_order_action_button_skin
(src > scheduled-orders.php) Allows you to add/change the classes assigned to the buttons in order to change the look and feel of the ui. Example // Customize action button skin and span function xx_c
-
autoship_activate_sync_bulk_action_handler (function)
(src/product-page.php) Handles the Autoship All Products Activate for Sync Action. It takes a $redirect_url, the current $action being performed, and the Product Ids ($post_ids) as its parameters,
-
autoship_get_account_scheduled_orders_actions (function)
(src/scheduled-orders.php) Used to get account Scheduled Order actions. It takes the $order_number, $status, and $context as its parameters and returns the $actions. Function /** * Get account
-
autoship_update_schedule_items_action_handler (function)
( src/scheduled-orders.php) The main handler for the for updating Scheduled Orders items. It takes the (Scheduled) $order_id, and the $data needed to perform the action as parameters and returns
-
autoship_update_order_schedule_action_handler (function)
( src/scheduled-orders.php) The main handler for the for updating Scheduled Orders schedule (Frequency, Frequency Type, Next Occurrence Date). It takes the (Scheduled) $order_id, and the $data needed
-
autoship_update_payment_method_action_handler (function)
( src/scheduled-orders.php) The main handler for the for updating Scheduled Orders payment methods. It takes the (Scheduled) $order_id, and the $data needed to perform the action as parameters and
-
autoship_get_account_scheduled_orders_actions (filter)
(src/scheduled-orders.php) Part of the autoship_get_account_scheduled_orders_actions() function. Takes the $actions (array), $statuses (array), and the $context to apply the actions as its
-
autoship_update_order_shipping_address_action_handler (function)
( src/scheduled-orders.php) The main handler for the for updating Scheduled Orders payment methods. It takes the (Scheduled) $order_id, and the $data needed to perform the action as parameters and
-
autoship_update_scheduled_order_{$action}_handler_call_back (filter)
( src/scheduled-orders.php) Within the autoship_update_scheduled_order_handler() function and is a dynamic filter that can be used to modify the name of the callback function for handling the
-
autoship_update_scheduled_order_handler (function)
(src/scheduled-orders.php) Main handler for updates to Scheduled Orders for the Native UI. It takes the (Scheduled) $order_id, the $action, and the (Scheduled Order) $data as its parameters. Function
-
autoship_deactivate_sync_bulk_handler (function)
(src/product-page.php) Handles the Autoship All Products Deactivate for Sync Action. It takes a $redirect_url, the current $action being performed, and the Product Ids ($post_ids) as its parameters,
-
autoship_update_scheduled_order_handler_call_back_data (filter)
( src/scheduled-orders.php) filter is now available in the autoship_update_scheduled_order_handler() function and can be used to modify the array of data that's passed to the different action
-
autoship_update_scheduled_orders_on_processing (function)
(src/orders.php) Updates the WooCommerce Order's payment gateway metadata when the Order is updated via QPilot after processing payment. Takes the (WooCommerce) $order as its parameter. Function /**
-
autoship_add_to_scheduled_order_endpoint_wrapper (function)
( src/scheduled-orders.php) Used to wrap the functionality for adding an item to Scheduled Orders using the Autoship link builder. It takes the $action being performed as its parameter. Function /**
-
[WooCommerce] How Can I Change Where the Autoship Options Display on my Product Pages?
Autoship select and frequency options are displayed on WooCommerce Product Page templates using WooCommerce hooks. Most WooCommerce theme's will immediately display Autoship options whenever a
-
Product Page Layout Diagram
( src/cart.php) Autoship Cloud adds One-Time and Autoship radio buttons to existing WooCommerce product pages. The visual guides below identify the location of WooCommerce action hooks and Autoship
-
[WooCommerce] Error messages during WC Autoship Upgrade
When upgrading from WC Autoship to Autoship Cloud, you may see error messages displayed below the status bar during imports. These error messages are displayed so that the admin can see if there were
-
autoship_delete_tokenized_payment_method (function)
(src > payments.php) is a router for deleting a method in QPilot and is hooked into the woocommerce_payment_token_deleted action hook. It takes the WooCommerce Token and the token id from the hook
-
Native UI Template Page Hooks Layout
( templates/scheduled-orders) The main Scheduled Order template can be broken up into three main sections which all templates are hooked into. This doc outlines the action hooks and the actions hooks
-
[WooCommerce] 8. Testing Scheduled Orders
Note: Until you have activated your Online Merchant Account, no recurring Autoship Orders will be processed. However, you can still test the functionality of creating Scheduled Orders. Testing an
-
autoship_add_tokenized_payment_method (function)
(src > payments.php) A router for adding a method in QPilot and is hooked into the woocommerce_payment_token_added action hook. It takes the token_id from the hook. Has filters and actions to allow
-
Products: Add Autoship Options to Custom Theme Product Templates
(src/cart.php) Add Autoship options to simple and variable product templates in a custom theme. Important: Always test customizations to your site on a staging environment before making changes to
-
[WooCommerce] How Customers Manage Shipping Addresses
WooCommerce enables customers to update and manage their Shipping Addresses by logging into My Account > Addresses. Autoship Cloud enhances the WooCommerce customer experience in My Account >
-
autoship_update_scheduled_order_shipping_address_post_wrapper (function)
( src/scheduled-orders.php) Updates a Scheduled Order Shipping Address via POST to QPilot. Function /** * Updates a Scheduled Order Shipping Address via POST * @see
-
[WooCommerce] Testing Checkout and Scheduled Orders
Testing WooCommerce checkout with Autoship Cloud enabled Visit your WooCommerce store as a new customer and complete a checkout with 1 or more products scheduled for a future order to the cart.
-
autoship_set_global_sync_active_enabled (function)
(src/products.php) Sets the value for the Global '_autoship_sync_all_products_enabled' field. It takes the $option ('yes' or 'no') as a parameter Function /** * Sets the value for the Global
-
[WooCommerce] How to Add Payment Methods in Square
How to Manually Add a Saved Payment Method to a Scheduled Order with Square Need to manually add a payment to a Scheduled Order for a customer who has already saved a Credit Card in their account? If
-
autoship_legacy_version_trigger_handler (function)
(src/upgrade.php) handles upgrades from the legacy Autoship versions. It takes the $version being upgraded to and the the $init_global (initialize) sync option as its parameters. Function /** * The
-
autoship_display_apply_customer_info_to_all_scheduled_orders_btn_link (function)
(src/customers.php) Used to add the 'Click here to update your shipping address on all Scheduled Orders' link to the existing (WooCommerce) notice on the My Account > Addresses page. It takes the
-
autoship_delete_general_payment_method
(src > payments.php) Calls function to delete a payment method in QPilot. Takes the token_id and token as parameters. Example /** * Calls the function to delete a payment method to QPilot * Based on T
-
[WooCommerce] My Account: Remove Scheduled Order Creation Button
How do I remove the 'Create Scheduled Order' button on my Scheduled Order page (Native UI)? To help customers avoid creating unnecessary Scheduled Orders from the Native UI My Account > Scheduled
-
Native UI: Auto-Apply Coupon When Scheduled Order Updated by Customer
In this example a user wants to automatically apply a coupon whenever a Scheduled Order is updated by a customer using the Native UI Scheduled Order display option ( My Account > Scheduled Orders). a
-
autoship_version_trigger (function)
(src/upgrade.php) Used to check for upgrades, new installs, and changes of Autoship Cloud versions. It is hooked into the admin_init (Wordpress) action for all types of updates. Function ** * The
-
[WooCommerce] 4. Enabling Products for Autoship
Note: until you have activated your Online Merchant Account, no recurring Autoship Scheduled Orders will be created. However, you can still test the functionality of Enabling Products for Autoship.