Side Cart Woocommerce icon
eCommerce & WooCommerce

Side Cart Woocommerce hooks reference

  • By xootix
  • v2.8.3
  • Updated

Side Cart Woocommerce 2.8.3 has 33 actions and 57 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Side Cart Woocommerce fires an action
add_action( 'xoo_tab_page_end', function( $tab_id, $tab_data ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Side Cart Woocommerce is about to use
add_filter( 'xoo_wsc_admin_settings', function( $settings, $arg2 ) {
	// Change $settings here.
	return $settings;
}, 10, 2 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • admin/views/settings/advanced.php line 56 · used in 4 places
    apply_filters( 'xoo_wsc_admin_settings', $settings, 'advanced' );
  • templates/global/body/product-card.php line 20 · used in 3 places
    apply_filters( 'xoo_wsc_product_class', $productClasses );
  • includes/class-xoo-wsc-cart.php line 405 · used in 2 places
    apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
  • includes/xoo-framework/admin/templates/xoo-admin-settings-output-new.php line 7 · used in 2 places
    apply_filters( 'xoo_aff_export_options', $adminObj->tabs, $adminObj->helper->slug );
  • includes/xoo-framework/admin/templates/xoo-admin-settings-output-new.php line 191 · used in 2 places
    do_action( "xoo_as_setting_sidebar_{$adminObj->helper->slug}" );
  • includes/xoo-framework/admin/templates/xoo-admin-settings-output-new.php line 98 · used in 2 places
    do_action( 'xoo_tab_page_end', $tab_id, $tab_data );
  • includes/xoo-framework/admin/templates/xoo-admin-settings-output-new.php line 96 · used in 2 places
    do_action( 'xoo_tab_page_start', $tab_id, $tab_data );
  • includes/class-xoo-wsc-template-args.php line 83 · used in 2 places
    apply_filters( 'xoo_wsc_cart_header_args', $args );
  • templates/global/body/product-card.php line 208 · used in 2 places
    do_action( 'xoo_wsc_product_end', $_product, $cart_item_key );
  • templates/global/body/product-card.php line 171 · used in 2 places
    do_action( 'xoo_wsc_product_image_col', $_product, $cart_item_key );
  • templates/global/body/product-card.php line 157 · used in 2 places
    do_action( 'xoo_wsc_product_start', $_product, $cart_item_key );
  • includes/class-xoo-wsc-cart.php line 74
    do_action( 'woocommerce_ajax_added_to_cart', intval( $_POST['add-to-cart'] ) );
  • templates/xoo-wsc-body.php line 83
    apply_filters( 'woocommerce_cart_item_name', $product_name, $cart_item, $cart_item_key );
  • templates/xoo-wsc-body.php line 89
    apply_filters( 'woocommerce_cart_item_price', $product_price, $cart_item, $cart_item_key );
  • templates/xoo-wsc-body.php line 68
    apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key );
  • templates/xoo-wsc-body.php line 91
    apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key );
  • templates/xoo-wsc-body.php line 93
    apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key );
  • templates/xoo-wsc-body.php line 70
    apply_filters( 'woocommerce_cart_item_visible', true, $cart_item, $cart_item_key );
  • includes/class-xoo-wsc-cart.php line 117
    do_action( 'woocommerce_check_cart_items' );
  • includes/xoo-wsc-functions.php line 156
    apply_filters( 'woocommerce_quantity_input_args', wp_parse_args( $args, $defaults ), $product );
  • includes/xoo-wsc-functions.php line 150
    apply_filters( 'woocommerce_quantity_input_inputmode', has_filter( 'woocommerce_stock_amount', 'intval' ) ? 'numeric' : '' );
  • includes/xoo-wsc-functions.php line 146
    apply_filters( 'woocommerce_quantity_input_max', -1, $product );
  • includes/xoo-wsc-functions.php line 147
    apply_filters( 'woocommerce_quantity_input_min', 0, $product );
  • includes/xoo-wsc-functions.php line 149
    apply_filters( 'woocommerce_quantity_input_pattern', has_filter( 'woocommerce_stock_amount', 'intval' ) ? '[0-9]*' : '' );
  • includes/xoo-wsc-functions.php line 151
    apply_filters( 'woocommerce_quantity_input_placeholder', '', $product );
  • includes/xoo-wsc-functions.php line 148
    apply_filters( 'woocommerce_quantity_input_step', 1, $product );
  • includes/xoo-framework/class-xoo-helper.php line 54
    apply_filters( "xoo_{$this->slug}_get_template", $located, $template_name, $args, $template_path );
  • includes/xoo-framework/class-xoo-helper.php line 104
    apply_filters( "xoo_{$this->slug}_template_located", $template, $template_name, $template_path );
  • includes/xoo-framework/class-xoo-helper.php line 163
    apply_filters( "xoo_{$this->slug}_template_overrides_scan_paths", array( 'templates' => $this->path . '/templates/' ) );
  • includes/xoo-framework/admin/class-xoo-admin-settings.php line 1622
    apply_filters( 'xoo_admin_setting_field', $field, $field_id, $value, $args );
  • includes/xoo-framework/admin/class-xoo-admin-settings.php line 1585
    apply_filters( 'xoo_admin_setting_field_callback_html', $field, $field_id, $value, $args );
  • includes/xoo-framework/admin/class-xoo-admin-settings.php line 345
    do_action( "xoo_admin_settings_{$this->helper->slug}_before_saving", $formData );
  • includes/xoo-framework/admin/class-xoo-admin-settings.php line 343
    apply_filters( "xoo_admin_settings_{$this->helper->slug}_save_data", $formData );
  • includes/xoo-framework/admin/class-xoo-admin-settings.php line 358
    do_action( "xoo_admin_settings_{$this->helper->slug}_saved", $formData );
  • includes/xoo-framework/admin/class-xoo-admin-settings.php line 784
    apply_filters( 'xoo_admin_settings_output_args', $args, $this->helper->slug, $this );
  • includes/xoo-framework/admin/class-xoo-admin-settings.php line 442
    do_action( 'xoo_as_enqueue_scripts', $this->helper->slug );
  • includes/xoo-framework/class-xoo-geolocation.php line 228
    apply_filters( 'xoo_fw_use_external_geolocation', true );
  • includes/xoo-framework/class-xoo-helper.php line 435
    apply_filters( "xoo_mail_{$this->slug}_{$identifier}_callback", 'wp_mail' );
  • includes/xoo-framework/class-xoo-helper.php line 436
    apply_filters( "xoo_mail_{$this->slug}_{$identifier}_callback_params", array( $to, wp_specialchars_decode( $subject ), $message, $headers, $attachments ), $this );
  • includes/xoo-framework/class-xoo-helper.php line 434
    apply_filters( "xoo_mail_{$this->slug}_{$identifier}_content", $message );
  • includes/xoo-framework/class-xoo-helper.php line 453
    do_action( "xoo_mail_{$this->slug}_{$identifier}_sent", $return );
  • admin/views/sections.php line 204
    apply_filters( 'xoo_wsc_admin_settings_sections', $sections );
  • admin/views/tabs.php line 49
    apply_filters( 'xoo_wsc_admin_settings_tabs', $tabs );
  • templates/xoo-wsc-body.php line 129
    do_action( 'xoo_wsc_after_products' );
  • templates/global/body/qty-input.php line 38
    do_action( 'xoo_wsc_after_quantity_input_field' );
  • templates/xoo-wsc-container.php line 35
    do_action( 'xoo_wsc_basket_content' );
  • xoo-wsc-main.php line 34
    do_action( 'xoo_wsc_before_plugin_activation' );
  • templates/xoo-wsc-body.php line 51
    do_action( 'xoo_wsc_before_products' );
  • templates/global/body/qty-input.php line 24
    do_action( 'xoo_wsc_before_quantity_input_field' );
  • templates/xoo-wsc-container.php line 65
    do_action( 'xoo_wsc_body_end' );
  • templates/xoo-wsc-container.php line 61
    do_action( 'xoo_wsc_body_start' );
  • includes/class-xoo-wsc-template-args.php line 53
    apply_filters( 'xoo_wsc_cart_body_args', $args );
  • includes/class-xoo-wsc-template-args.php line 29
    apply_filters( 'xoo_wsc_cart_container_args', $args );
  • includes/class-xoo-wsc-frontend.php line 160
    apply_filters( 'xoo_wsc_cart_fetch_delay', 200 );
  • includes/class-xoo-wsc-cart.php line 433
    apply_filters( 'xoo_wsc_cart_item_savings', $data, $cart_item );
  • includes/class-xoo-wsc-cart.php line 376
    apply_filters( 'xoo_wsc_cart_savings', $savings );
  • includes/class-xoo-wsc-template-args.php line 132
    apply_filters( 'xoo_wsc_cart_shortcode_args', $args );
  • templates/xoo-wsc-shortcode.php line 52
    do_action( 'xoo_wsc_cart_shortcode_content' );
  • includes/class-xoo-wsc-cart.php line 397
    apply_filters( 'xoo_wsc_cart_total_product_savings', $savings );
  • includes/class-xoo-wsc-cart.php line 268
    apply_filters( 'xoo_wsc_cart_totals', $totals );
  • templates/xoo-wsc-body.php line 43
    do_action( 'xoo_wsc_empty_cart_content' );
  • includes/xoo-wsc-functions.php line 80
    apply_filters( 'xoo_wsc_enable_ajax_atc', $enable, $product );
  • templates/xoo-wsc-container.php line 54
    do_action( 'xoo_wsc_header_end' );
  • templates/xoo-wsc-container.php line 41
    do_action( 'xoo_wsc_header_start' );
  • includes/class-xoo-wsc-loader.php line 345
    apply_filters( 'xoo_wsc_is_sidecart_page', $this->isSideCartPage, $hidePages );
  • includes/class-xoo-wsc-template-args.php line 65
    apply_filters( 'xoo_wsc_markup_notice_args', $args );
  • includes/xoo-wsc-functions.php line 12
    apply_filters( 'xoo_wsc_notice_html', $html, $message, $notice_type );
  • includes/class-xoo-wsc-cart.php line 128
    apply_filters( 'xoo_wsc_notices_before_print', $this->notices );
  • includes/class-xoo-wsc-cart.php line 135
    apply_filters( 'xoo_wsc_print_notices_html', $notice_html, $this->notices );
  • includes/class-xoo-wsc-template-args.php line 210
    apply_filters( 'xoo_wsc_product_args', $args, $_product, $cart_item, $cart_item_key );
  • includes/class-xoo-wsc-cart.php line 358
    apply_filters( 'xoo_wsc_product_bundle_items', $data );
  • templates/global/body/product-card.php line 136
    do_action( 'xoo_wsc_product_card_back', $_product, $cart_item_key );
  • templates/global/body/product-card.php line 204
    do_action( 'xoo_wsc_product_card_front', $_product, $cart_item_key );
  • includes/class-xoo-wsc-frontend.php line 158
    apply_filters( 'xoo_wsc_product_fly_class', '' );
  • templates/global/body/product.php line 198
    do_action( 'xoo_wsc_product_summary_col_end', $_product, $cart_item_key );
  • templates/global/body/product.php line 90
    do_action( 'xoo_wsc_product_summary_col_start', $_product, $cart_item_key );
  • includes/xoo-wsc-functions.php line 152
    apply_filters( 'xoo_wsc_quantity_input_classes', array( 'xoo-wsc-qty' ), $product );
  • includes/class-xoo-wsc-template-args.php line 230
    apply_filters( 'xoo_wsc_shipping_bar_args', $args );
  • includes/class-xoo-wsc-template-args.php line 114
    apply_filters( 'xoo_wsc_slider_args', $args );
  • includes/class-xoo-wsc-template-args.php line 320
    apply_filters( 'xoo_wsc_suggested_product_args', $args );
  • templates/global/footer/totals.php line 34
    do_action( 'xoo_wsc_totals_end' );
  • includes/class-xoo-wsc-cart.php line 164
    apply_filters( 'xoo_wsc_update_quantity', true, $cart_key, $new_qty );

Generated from Side Cart Woocommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: