Search results for filter
231 articles found
-
autoship_create_scheduled_order_link_handler (function)
(src/scheduled-orders.php) Used to process the Create Scheduled Order link data. It takes the $link (array) as a parameter and returns a boolean or WP_Error. Function /** * Processes the Create
-
[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
-
autoship_create_update_autoship_customer (function)
(src/customers.php) Used to create and update users in QPilot when they are created / updated from the Wordpress site (checkout, My Account, etc.). It takes the $wc_customer and $customer_data
-
autoship_get_schedule_order_customer_data
( src/orders.php) This function retrieves the customer and payment information to be used across all orders. The function takes a WC Order object or WC Order Id ($order) as its parameter. This
-
[WooCommerce] Product Prices
Table Of Contents Offering an Autoship Price incentive How Autoship Price is Displayed Inclusive of Tax Troubleshooting Product Price Displays Offering an Autoship Price incentive The Autoship Cloud
-
autoship_create_scheduled_order_next_occurrence
(src > orders.php) Inside the autoship_get_scheduled_order_data function, and an be used to modify the next_occurence date for each order. The filter takes the 1. next_occurrence, 2. frequency_type, 3
-
autoship_check_lock_status_info()
(src/scheduled-orders.php) Used to calculate a Scheduled Order's Lock duration. It takes the Scheduled Order, the Wordpress User Id, and returns an array of Lock data for a supplied Autoship order.
-
autoship_get_default_client()
(src/api.php) Used to retrieve the QPilot client by scope (merchant vs customer). The default scope may be overridden using the ' autoship_default_client_token_scope' filter. It takes an empty $scope
-
autoship_add_general_payment_method (function)
(src/payments.php) can be used to add any payment method to QPilot. It takes the (WooCommerce) $token object and $return (Valid QPilot Payment Method or null). Code: /** * Adds a payment method from
-
[WooCommerce] How Merchants Manage Scheduled Orders
Table Of Contents Create New Scheduled Order Failed Scheduled Orders Resolving Failed Scheduled Orders Managing Inactive Scheduled Orders Create a Scheduled Order for a customer who forgot to choose
-
Autoship Customer Metrics User Metadata Fields
The Autoship Cloud plugin can synchronize your customer metrics data from QPilot to your site's database, so it can be used "on demand" without needing to make a request to the QPilot API. These
-
Customize Autoship Product Frequency by Product Categories
Note: Backwards compatibility supported for legacy custom frequency options display in 1.2.47 and forward. Customize Autoship Product Frequency by Product Categories In the example below, a developer
-
Checkout | Schedule Orders: Attach Affiliate Metadata at Checkout for Future Scheduled Order Processing
In this example, a developer uses the autoship_create_scheduled_order_data filter to capture affiliate data at checkout to add to the created Scheduled Order's metadata. Then they hook into the
-
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_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_scheduled_order_quantity_input (function)
( src/scheduled-orders.php) Mimics the WooCommerce 'woocommerce_quantity_input' filter and is used to output the quantity input for Customer Native UI Scheduled Orders display. It takes (WC quantity
-
autoship_create_scheduled_orders (function)
(src/orders.php) Used to create and send Scheduled Orders to QPilot. Code /** * Creates and Sends scheduled orders to QPilot * WC Orders are broken down and grouped by Frequency Type + Frequency +
-
[WooCommerce] Autoship Cloud Reports
Table Of Contents Products by Date Summary Scheduled Orders by Product Scheduled Order Metrics Event Logs Products by Date Summary This report displays all products scheduled for upcoming Scheduled
-
Klaviyo
Klaviyo is a marketing automation platform that uses data about customers and their Scheduled Orders to drive marketing communications via email, text/SMS and push notifications that increase
-
autoship_get_scheduled_order_data (function)
(src > orders.php) This is the main data gather function which collects all the data needed for the upsert of the order. The function takes the WC Order object or WC Order ID and an optional creation
-
[WooCommerce] How do I Change the Default Autoship Frequency Options?
The default frequency options displayed for all Autoship products are: Every 1 Months Every 2 Months Every 3 Months Every 4 Months Every 5 Months These frequency options can be customized per product
-
[WooCommerce] Stripe Payments
Required for this integration: A Stripe account. WooCommerce Stripe Payment Gateway (by WooCommerce) download here. Working checkout able to process and save Stripe payment methods. View
-
Product-Page: Change Discount String Appearing to Customers
In this example a developer modifies their discount message on Autoship products on their store's product page. The filters used are within the autoship_checkout_recurring_discount_string() function.
-
autoship_add_to_scheduled_order_link_handler (function)
(src/scheduled-orders.php) Used to process the Add to Scheduled Order Link data. It takes the $link (array) as a parameter and returns a boolean or WP_Error. Function /** * Processes the Add to
-
WP-Admin: Only allow users with a 'manager' capability to view Autoship Cloud pages
👥 Only allow users with a 'manage_woocommerce' capability to see Autoship pages within WP-Admin > Autoship Cloud Important: Always test customizations to your site on a staging environment before
-
autoship_load_all_products_summary_data_display_notice (function)
( src/product-page.php) Used to load Autoship Cloud data on the WP-Admin > Products > Edit Product page. /** * Load Autoship Cloud Data on Edit All Products Screen. * TODO: Currently hooked into the
-
autoship_checkout_recurring_variable_discount_string (function)
( src/product-page.php) Function which returns the Autoship option HTML. It takes the (WooCommerce) $product_id as its parameter. Code /** * Retrieves the HTML for the Autoship and Save Variation
-
[WooCommerce] How Payments Work With Autoship Cloud
Payments are processed each time a Scheduled Order processes. While the actual payment processing is handled by Autoship Cloud's hosted service, QPilot, and the payment gateway that each payment
-
[WooCommerce] Autoship Cloud Settings Page
Table Of Contents Connection Settings Options Utilities Extensions Migrations Logs The Autoship Cloud Settings page displays fields used for connecting your WooCommerce store to your QPilot Account
-
autoship_total_product_summary_data
(src/products.php) In the autoship_get_product_sync_summary() function, and allows developers to use the QPilot API response in functions filtering the summary data. Takes the totals array and
-
Ignore Stock Status on WooCommerce Products Synchronized to QPilot
In the example below, a developer wants QPilot to ignore the Stock Status of a WooCommerce product, always showing it as In-Stock in QPilot. Remember: Always test code on a staging site before adding
-
autoship_total_variation_product_summary_data
(src/products.php) Part of the autoship_get_product_sync_summary() function to include a new summaries parameter that allows developers to use the QPilot API response in functions filtering the
-
Products: Map Non-Supported Product Types to Supported Types
Map non-supported WooCommerce Product Types to supported Product Types in QPilot. Important: Always test customizations to your site on a staging environment before making changes to your live /
-
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
-
My Account: Add Order Number Column to Scheduled Order Table
Adds the Order Number Column back to into the Scheduled Orders Table. Important: Always test customizations to your site on a staging environment before making changes to your live / production site.
-
[WooCommerce] How do I bulk update Autoship data on specific WooCommerce products?
This doc covers how a merchant can update Autoship product data for specific WooCommerce products in bulk. To accomplish this, you will need the WooCommerce Product Importer & Exporter utility. This
-
Cart / Checkout: Add Theme Classes to Radio Options
Add a custom theme class to the label elements on the Product and Cart Autoship Options. Important: Always test customizations to your site on a staging environment before making changes to your live
-
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
-
My Account: Disable Option to Apply Updates to Shipping Address to Scheduled Orders
Disables the option added by Autoship Cloud in My Account > Addresses that enables customers to apply changes to their Shipping Address their Scheduled Orders. Important: Always test customizations to
-
My Account: Always Apply Changes to Shipping Address to All Scheduled Orders
Enforce changes customers make to their Shipping Address within My Account > Addresses to always apply the Shipping Address change to all Scheduled Orders. Important: Always test customizations to you
-
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
-
Product Page: Default to Autoship & Hide One-Time Purchase Option
In this example, a user hides the one-time purchase option on the product page and cart for a specific product id and defaults the radio option for that product to Autoship. See how only the Autoship
-
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 /**
-
autoship_after_save_standard_payment_method_notice (function)
(src/payments.php) Fires additional actions after a payment method is saved (Standard Gateways Only). Takes a $token_id as a parameter. Function: /** * Standard Gateways Only: Fires additional
-
WP-Admin: Default Product Frequency Override Option
Default the optional setting "Select to override the default frequency options." checkbox in the WP-Admin > Products > Edit Product >> Product Data >> Autoship tab for a Product with ID 506. Note:
-
Payment Gateways: Hide Amazon Pay When Autoship Products Are In the Cart
Hides the Amazon Pay option when 1 or more products selected for Autoship are in the cart Important: Always test customizations to your site on a staging environment before making changes to your
-
autoship_maybe_update_cart_item_relative_next_occurrence()
(src/products.php) Used to check if a Next Occurrence date of a product in the cart should be recalculated. It returns the recalculated date and takes the following parameters: $product_id (integer)
-
Payment Gateways: Hide PayPal When Autoship Products Are In the Cart
Uses the function 'autoship_cart_has_valid_autoship_items' to hide PayPal as a payment option when 1 or more products that are scheduled for Autoship are in the cart. Important: Always test
-
autoship_cart_has_valid_autoship_items (function)
(src/cart.php) This function checks the cart for items selected for Autoship & returns a boolean. It is used to add the Autoship Free Shipping Option in the cart and checkout, and can be used anytime
-
[WooCommerce] Authorize.Net CIM Payments
Table of Contents: Required for this integration Supported Features Unsupported Features Setting up Authorize.Net payments with Autoship Cloud Additional Resources Required for this integration: