Search results for action
218 articles found
-
[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.
-
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
-
"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
-
Beyond 10% Off: Grow Your Subscription Program with Bulk Discounts & Free Gifts
Why a Flat 10% Off Isn't Enough A flat 10% off — or even 20% — is better than nothing, but it leaves the compelling part of the offer on the table, and it tends to attract discount hunters rather
-
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] Error 401: Sorry You Are Not Allowed To Create Resources
This error will appear when a Scheduled Order fails to process. What This Error Means This error means that the WordPress Admin user who registered and connected the WooCommerce API to QPilot has
-
[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] How Customers View Scheduled Orders
Customers can log in to My Account to view, manage, and create Scheduled Orders. Autoship Cloud provides several unique options for displaying Scheduled Orders to customers who are logged into My
-
Scheduled Order Processing Errors
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 the error and
-
[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 Scheduled Orders
Table Of Contents Creating a New Scheduled Order Editing Scheduled Orders Managing Failed Scheduled Orders Customers are able to manage their Scheduled Orders or create new ones from My Account >
-
[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
-
[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
-
[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
-
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
-
[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_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
-
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
-
Snooze a Scheduled Order
A snoozed Scheduled Order is paused until a date you choose, then resumes on its own. Snooze is available in the QPilot Merchant Center at Scheduled Orders. Snoozing a Scheduled Order Visit Scheduled
-
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_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_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_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_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
-
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
-
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_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
-
[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
-
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_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_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_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