Search results for action
218 articles found
-
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
-
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
-
Scheduled Orders: Affiliate Order Attribution to Created Scheduled Orders for Future Processing
In the example below, a developer captures a user's Affiliate Id and adds it to the created Scheduled Order's metadata at checkout. This attribution will be used (in this case added as an Order Note)
-
autoship_customer_view_order_header_attribution (function)
(src/orders.php) Used to include the Scheduled Order attributions and details in the View Order header for customers. It takes the (WooCommerce) $order_id as a parameter. Function /** * Includes the
-
[WooCommerce] API Healthiness
Table Of Contents How QPilot Makes API Requests Connecting QPilot to the WooCommerce Rest API Common Error Responses Advanced Troubleshooting Testing the WooCommerce REST API Manually Testing QPilot
-
autoship_order_customer_dashboard_icon_column_content (function)
(src/orders.php) Used to populate the custom Autoship column in My Account > Orders. Takes the (WooCommerce) $order as a parameter. Function /** * Populates the Custom Autoship Column on the
-
autoship_create_menu()
(src/admin.php) Adds the main Autoship Cloud Options page & adds the subpages to WP-Admin. These include the Native Wordpress Autoship > Settings pages and the following embedded QPilot pages:
-
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] 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_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
-
autoship_print_product_custom_fields (function)
( src/product-page.php) Outputs custom fields for simple products. Function /** * Outputs the Autoship Custom Fields for a Product * @see woocommerce_product_options_autoship_product_data * * Outputs
-
[Shopify] Product Options Display Widget
Automatically Display "Subscribe & Save" Options Manual Installation of the Widget Customizing the Widget CSS: Customizing Your Display Styling Custom Installation of the Widget Advanced Widget