Search results for action
211 articles found
-
"Other" Payment Type and Method
Notice: The Other Payment Gateway is not a supported Autoship Cloud Payment Gateway and therefore will not be available at checkout for Autoship products. You can override this if necessary as
-
[WooCommerce] 9. Next steps after testing
Once you've tested Autoship Cloud on a staging or development site, you'll want to activate your Online Merchant Account so that you can actually run recurring orders and prepare to launch Autoship
-
jQuery: How to Disable Certain Days on a Date Picker
jQuery is a popular method used in date pickers. In this example we restrict the only available processing days to Monday, Wednesday, and Friday. You will need to make sure you have a custom scripts
-
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
-
[WooCommerce] Scheduled Order Webhooks
Webhooks are a great way for developers to receive Scheduled Order data when changes are made to Scheduled Orders. Our Zapier integration also creates webhooks in QPilot to handle workflows created
-
[WooCommerce] Scheduled Order Processing Errors
Processing Error Codes When a Scheduled Order fails to complete processing, the status of the Scheduled Order is set to "Failed" and a notification is sent to your QPilot Site's Contact(s) explaining
-
[WooCommerce] Invalid Products and Sync Issues
Table Of Contents Identifying an Invalid Product Resolving an Invalid Product Resolving Sync Issues when Updating WooCommerce Products Identifying an Invalid Product When a WooCommerce product is
-
[WooCommerce] How Customers Manage Payment Methods
Customers can add, update and delete their saved payment methods in My Account > Payment Methods and update which saved payment method they would like to use to pay for their Scheduled Orders in My
-
[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
-
[WooCommerce] Migrating Existing Scheduled Orders to a New Site
There are several reasons you may need to migrate your Scheduled Orders from one site to another one. Common reasons for this include: Retiring an old site and migrating to a new one Changing the
-
[WooCommerce] Will my Security Plugin or Firewall work with Autoship Cloud?
If your WooCommerce site is using plugins to manage security and permissions, you may need to update your security plugin settings to ensure that your Autoship Cloud's hosted service, QPilot
-
[WooCommerce] Styling the Native UI Display Option Templates
Enabling the Native UI Display Option In order to use the Native UI Display Option, ensure that the WP-Admin > Autoship Cloud > Settings >> Additional options. Styling the Native UI Display Option
-
Troubleshooting: Log Requests to & Responses from QPilot API to Wordpress Debug Log
In this example a developer logs requests to and responses from the QPilot API in order to troubleshoot a plugin suspecting of changing product data sent to QPilot. Reviewing their Wordpress
-
autoship_add_to_scheduled_order_endpoint_redirect (function)
( src/pages.php) Sets Up the autoship Add to Scheduled Orders endpoint redirect. It takes the $redirect (url) and the logged in Wordpress $user as its parameters. Function /** * Sets Up the autoship
-
autoship_create_scheduled_order_endpoint_redirect (function)
(src/pages.php) Sets Up the autoship Create to Scheduled Orders endpoint redirect.It takes the $redirect (url) and logged in (Wordpress) $user as its parameters. Function /** * Sets Up the autoship
-
[Shopify] Install and Launch Guide
Step 1: Install the Autoship Cloud to Your Shopify App Store Go to your Shopify App Store Select "Add Apps" and then "Find more apps in the Shopify App Store" Search for "Autoship Cloud" and then
-
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
-
Cart / Checkout: Custom Product Default to Autoship and Frequency with Message
Defaults to a product with a custom meta flag (xx_autoship_only_flag) to Autoship on Product and Cart pages. Hide Autoship options and display a custom Autoship message based on product type. Importa
-
[WooCommerce] QPilot Site Settings and Options
After you've connected a WooCommerce site to your QPilot Merchant Account, you'll be able to view and manage the site within your QPilot Sites page by logging into your QPilot Merchant Account
-
autoship_log_entry (function)
(src/logger.php) Used to add log files to the Autoship Log. Takes the source for the entry ($context) and the Log message ($message) as parameters. Function /** * Add a log entry. * * @param string
-
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
-
[WooCommerce] How Customers View Scheduled Orders
Customers can log in to My Account to view, manage, and create Scheduled Orders. Autoship Cloud provides 3 unique options for displaying Scheduled Orders to customers who are logged into My Account.
-
[WooCommerce] Upgrading from WC Autoship to Autoship Cloud
Important Note for WC Autoship Customers Looking to Upgrade Please follow the guide below to upgrade WC Autoship 4.0 or higher to Autoship Cloud. Any WC Autoship versions less than 4.0 cannot be
-
autoship_before_admin_payment_integrations
Fires before the Payment Integrations widget under Admin > Autoship Cloud. function autoship_before_admin_payment_integrations_example() { echo "This will appear before the payment integrations admin
-
autoship_delete_tokenized_payment_method_gateway_id (filter)
( src/payments.php) Part of the function. Takes the $gateway_id, the $gateway_id_types, and the $token as parameters. Code do_action( 'autoship_delete_tokenized_payment_method_extend_gateway',
-
autoship_product_variations_discount_data()
(src/products.php) Takes a WC Variable Product or Variable Product ID and retrieves all the Autoship Discount and Options data for that product's variations. Example: // Print variation data to
-
autoship_get_schedulable_products_script_data (function)
( src/scheduled-orders.php) Used to output the product information for adding to Scheduled Orders. Code /** * Outputs the Product Infor for Adding to Order * * @return string The html output */
-
autoship_log_entry
(src/logger.php) Within the the new autoship_log_entry() function and allows devs to disable logging based on context and / or error message or disable Autoship logs completely. /** * Add a log
-
[WooCommerce] Can I Customize the "Create Scheduled Order" Option for Customers?
Yes you can! By default Autoship Cloud adds this button to the Scheduled Orders page by using the [autoship-create-scheduled-order-action] shortcode to the 'No Scheduled Orders Body Message' in
-
autoship_refresh_customer_metrics_for_user (function)
(src/customers.php)Handles refreshing customer metrics data for a user. It takes the Wordpress $user as its parameter. Code /** * Refresh the customer metrics for a User. * * @param int $user_id The
-
autoship_update_product_availability (function)
( src/products.php) Used to update a product / variation availability in QPilot. It takes the WP Post Id or product object ( $id) & the product's $availability as its parameters. Function /** *
-
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
-
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
-
autoship_display_apply_customer_info_to_all_scheduled_orders_btn_link_label (filter)
( src/customers.php) Used to customize the HTML / text output of the Autoship "Click here to update your shipping address on all Scheduled Orders" html added with the
-
autoship_delete_product (function)
(src/products.php) Used to delete a product / variation in QPilot. It takes the $product (Id or WC Product object) as its parameter and returns true or false & the WP Error Function /** * Deletes a
-
autoship_reset_all_products_activate (function)
(src/products.php) Used to update the Active flag in QPilot for all products except for any Product Id's supplied. It takes $enabled ('yes' or 'no') and $excluded_ids as its parameters. Function /**
-
autoship_push_product (function)
(src/products.php) Main upload function which upserts a product and its variations to QPilot. It takes the WP Post Id or product object ( $id) as its parameter. Function /** * Main Upload Function
-
autoship_oauth2_connect_site (function)
(src/admin.php) Used to create a connected site in QPilot using the current site info, and generated API Keys. Function /** * Creates a Site in QPilot using the current blog info, and generated API
-
Customers: Update Autoship Customer in WP-Usermeta on Login
In this example, a developer adds a new meta_key (or updates an existing one) to the wp_usermeta table in their Wordpress database when a customer who has "Active" status Scheduled Orders logs in to
-
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 +
-
autoship_create_scheduled_orders_on_checkout (function)
(src/orders.php) Wrapper function for Scheduled Orders created at checkout only. It takes the WooCommerce Order Object or Id ($order_id) and the (optional) date the Scheduled Order should be created
-
autoship_init_integration_test (function)
( src/api-health.php) Initiates the WooCommerce to Autoship to QPilot integration status check. Upon completion of the tests, the corresponding status timestamps are then populated. Function /** *
-
autoship_get_all_variation_cart_options(filter)
(src > cart.php) Allows You to filter the Autoship values for each variation on the Add To Cart in the Product Screens. The filter takes the WC Product for the variation and the variation id. Example
-
Products: Display Notice When Stock Level is Below 3
Dynamically display a user notice when stock is less than 3. Important: Always test customizations to your site on a staging environment before making changes to your live / production site. If you a
-
[WooCommerce] Autoship Cloud Coupons
How Coupons Work with Scheduled Orders Enable Customers to Manage Coupons on Scheduled Orders Creating a Coupon Applying a Coupon to a Scheduled Order Coupon Reference Guide Coupon Usage Examples
-
Shortcode: Enable Customers to Create A New Scheduled Order
Want to add a simple button to your site that enables customers to create new Scheduled Orders? In this article, we'll walk through adding this simple shortcode
-
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
-
Orders: Calculate and Apply Tax Rates to REST API Orders
WooCommerce Tax Rates calculate and apply without any need to extend the code, but if you use a Tax plugin to modify WooCommerce Tax Rates and it does not yet support WooCommerce Orders created via
-
autoship_update_cart_item_data (function)
(src/cart.php) Adds / updates Autoship Schedule Date in cart for items being added / updated. Takes $cart_item_data, $product_id, $variation_id, $quantity, and $schedule_data as parameters. /** *
-
[WooCommerce] Native UI Product Upsell Carousel
The Product Upsell Carousel is an optional feature of the Native UI that increases the order value of your Scheduled Orders by making it easy for subscribers to add a new item when viewing their