Action Hooks

add_product_download

called after digital product file upload in product editor.

attach_product_download

called when product asset is attached to product or product variant.

password_reset

called after a password reset

shopp_account_management

called before customer account content template is loaded.

shopp_account_menu

called after loading customer account page menu.

shopp_activate

called on Shopp activation.

shopp_admin_menu

called after Shopp admin pages are added.

shopp_after_purchased_data

called in order admin for each item in the purchase as it is displayed.

shopp_apply_discount

runs once per active discount when the cart and order totals are being calculated

shopp_auth

called after customer login authorization.

shopp_autoupdate

called after Shopp auto update.

shopp_calculate_item_shipping

called for each shipped item for per item shipping calculation.

shopp_calculate_shipping

called when shipping options are calculated.

shopp_calculate_shipping_init

called before shipping calculations.

shopp_cart_add_item

called when an item is added to the cart.

shopp_cart_request

called on a cart request.

shopp_cart_retotal

called after cart totals are calculated.

shopp_cart_updated

called when cart has been updated.

shopp_category_admin_scripts

called after categories admin scripts are enqueued.

shopp_category_arrange_scripts

called when category sort scripts are enqueued in admin.

shopp_category_editor_scripts

called after category editor scripts are enqueued in admin.

shopp_category_products_arrange_scripts

called after product sort order scripts are enqueued in admin.

shopp_category_saved

called on category save in the category editor.

shopp_checkout_processed

called after checkout form validation.

shopp_confirm_order

called on submission of the confirm order page.

shopp_create_purchase

called to trigger the creation of a new purchase.

shopp_customer_admin_scripts

called after customer admin scripts are enqueued.

shopp_customer_editor_info

runs after customer editor save meta box content.

shopp_customer_editor_scripts

called after the customer editor scripts are enqueued.

shopp_customer_editor_settings

called after customer editor settings meta box content is displayed.

shopp_customer_registered

This action is called at the end of the customer registration process.

shopp_customer_registration

This action is called at the beginning of the customer registration process.

shopp_customer_update

Called when a customer’s profile is updated / saved from their account dashboard.

shopp_deactivate

called on Shopp plugin deactivation.

shopp_default_scripts

called when shopp default scripts are enqueued.

shopp_download_keygen

called when generating download key for product download.

shopp_download_request

called on product download request.

shopp_download_success

called after a product download.

shopp_gateway_ajax_{purchase-gateway-slug}

called on shopp_gateway ajax requests.

shopp_gateway_module_settings

called after payments setting ui.

shopp_generate_password_key

called on customer password reset request.

shopp_google_checkout_analytics

called in header to enqueue Google Checkout analytics scripts.

shopp_init

called at end of Shopp’s init action

shopp_init_checkout

called before the checkout, order confirmation, or receipt is displayed.

shopp_init_confirmation

called before confirm order page.

shopp_inventory_manager_scripts

called before inventory manager scripts are loaded on the products admin page.

shopp_loaded

runs when the plugin is fully loaded.

shopp_logged_out

called after a customer is logged out.

shopp_login

called on login to Shopp customer

shopp_logout

called on store logout.

shopp_map_{country}_postcode

called after a post-code has been verified to match the pattern for the country.

shopp_module_loaded

called after an add-on module is loaded.

shopp_order_admin_script

called during in-line javascript output on order manager in the admin.

shopp_order_management_scripts

called after order manager admin scripts are enqueued.

shopp_order_new_note_ui

called after order notes UI in the order manager admin..

shopp_order_note_controls

called after order note UI controls.

shopp_order_notifications

called on new order notification.

shopp_order_row_css

called after styling classes are determined for an order row in the orders admin.

shopp_order_success

called on transaction completion.

shopp_order_txnstatus_update

called on transaction/payment status update.

shopp_packager_add_{packtype}

called dynamically when an item is given to the default ShippingPackager object to pack according to the packing type setting the ShippingPackager is instantiated with by the shipping module.

shopp_print_footer_scripts

called before shopp javascript tags are output in the footer.

shopp_print_scripts

called before Shopp javascript tags are output in the page header.

shopp_process_checkout

called on checkout form submission to process the form data.

shopp_process_order

called on submission of confirm order page to process the order.

shopp_process_shipmethod

called when shipping method selection has been submitted.

shopp_product_admin_scripts

called after product admin pages scripts are enqueued.

shopp_product_editor_scripts

called after the product editor scripts are enqueued.

shopp_product_saved

Called after product save in product editor.

shopp_promo_admin_scripts

called after promotion admin pages scripts are enqueued.

shopp_promo_editor_scripts

called after promotion editor admin page scripts are enqueued.

shopp_promo_saved

called after save in promotions editor.

shopp_register_smartcategories

called after built-in smart categories are registered.

shopp_remote_payment

called on remote payment return call to Shopp.

shopp_reset_session

called when session reset is called.

shopp_resource_{src}

called dynamically on resource requests to Shopp.

shopp_save_payment_settings

called on Payments Settings save.

shopp_save_product

called before a product is saved in the editor

shopp_session_load

called after new session is created or existing session is reloaded.

shopp_session_loaded

called after an existing session is reloaded.

shopp_session_reset

called to trigger session reset.

shopp_settings_shipping_ui

called during javascript generation of shipping module settings UI.

shopp_setup

called after database schema updates during plugin activation, and triggers Shopp plugin setup routines.

shopp_txn_update

called when a transaction update Shopp callback url is loaded.

shopp_update_destination

called when the shipping destination update has been submitted on the cart.

shopp_verify_shipping_services

called to trigger settings validation in shipping calculation services.

shopp_{event}_order_event

Called when a new OrderEventMessage is created.

shopp_{gateway}_{event}

called when a new OrderEvent is created for a particular payment gateway.

shopp_{module-classname}_loaded

dynamic action called on the load of each addon module.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar