Tips and Tricks WP eCommerce

eCommerce Solution for WordPress Blog

  • Home
  • eCommerce Plugins
  • WP eStore Documentation
  • WP Shopping Cart Doc

Simple Shopping Cart – Filter Hooks Reference

Below is a list of filter hooks that are available in the Simple Shopping Cart plugin.

Table of Contents

  • Front-End Hooks
    • wpsc_product_box_thumbnail_code
    • wpsc_paypal_ipn_notify_url
    • wpsc_cart_icon_image_src
    • wpsc_cart_item_name
    • wpsc_before_checkout_form
    • wpsc_cart_checkout_button_image_src
    • wpsc_cart_extra_paypal_fields
    • wpsc_cart_stripe_checkout_button_image_src
    • wpsc_cart_extra_stripe_fields
    • wpsc_after_cart_output
    • wpsc_add_cart_button_form_attr
    • wpsc_add_cart_submit_button_value
    • wpsc_redirect_to_url
    • wpsc_cart_custom_field_value
    • wpsc_print_formatted_price
    • wpsc_cart_current_page_url
  • Payment Related
    • wpsc_stripe_sca_session_opts
    • wpsc_custom_postage_cost
  • Email Related
    • wpsc_buyer_notification_email_body
    • wpsc_seller_notification_email_body
  • Admin Hooks
    • wpsc_export_csv_header
    • wpsc_export_csv_data
    • wpsc_orders_menu_permission
    • plugin_locale

Front-End Hooks

wpsc_product_box_thumbnail_code

This filter allows you to override the product box thumbnail.

wpsc_paypal_ipn_notify_url

This filter can be used to override the PayPal IPN notify URL.

wpsc_cart_icon_image_src

This filter can be used to override the PayPal cart icon URL.

wpsc_cart_item_name

This filter can be used to override the PayPal cart item name.

wpsc_before_checkout_form

This hook can be used to append or change the content that renders before the checkout form of the cart.

wpsc_cart_checkout_button_image_src

This hook can be used to override the image of the PayPal Standard checkout form button.

wpsc_cart_extra_paypal_fields

This hook can be used to add extra PayPal hidden input fields for the cart checkout.

wpsc_cart_stripe_checkout_button_image_src

This hook can be used to override the image of the Stripe checkout form button.

wpsc_cart_extra_stripe_fields

This hook can be used to add extra Stripe hidden input fields for the cart checkout.

wpsc_after_cart_output

This hook triggers at the very end of the cart and can be used to change the overall output content of the cart.

wpsc_add_cart_button_form_attr

This hook can be used to customize the HTML form attributes of the ‘Add to Cart’ button.

wpsc_add_cart_submit_button_value

This hook can be used to add custom button text for the ‘Add to Cart’ button.

wpsc_redirect_to_url

This hook can be used to override the redirection URL used by the wpsc_redirect_to_url() function.

wpsc_cart_custom_field_value

This hook can be used to override the values of custom fields in the cart added by the ‘SWPM Custom Fields’ add-on.

wpsc_print_formatted_price

This hook can be used to override the output of the price format by the print_payment_currency() function.

wpsc_cart_current_page_url

Use this hook to override the current page URL where the cart renders.


Payment Related

wpsc_stripe_sca_session_opts

This hook can be used to modify the options while creating a Stripe checkout session.

wpsc_custom_postage_cost

This filter allows developers to provide their own custom postage cost calculation routine. It gives access to the WPSC_Cart class instance, which can be used for additional context or logic when calculating the postage cost.


Email Related

wpsc_buyer_notification_email_body

This hook can be used to override the notification email body for the buyer.

wpsc_seller_notification_email_body

This hook can be used to override the notification email body for the seller.


Admin Hooks

wpsc_export_csv_header

This hook can be used to customize or change the order data CSV export file’s header row.

wpsc_export_csv_data

This hook can be used to customize or change the order data CSV export file’s data row.

wpsc_orders_menu_permission

This hook can be used to override the permission of the orders menu.

plugin_locale

This hook can be used to change the text domain for loading language files.

Your Shopping Cart

Shopping Cart Empty
Shopping Cart is Empty
Visit The Shop

Search

Featured Documents

Stylish Product Display Options for WP eStore WP eStore Quick Setup and Usage Video Tutorial WP eStore Shortcodes and Functions Reference WordPress eStore Plugin Features WordPress eStore Plugin Demo What Our Customers Have to Say About Our Products WordPress eStore WishList (Feature Suggestions) WordPress eStore Frequently Asked Questions (FAQ) How to Show Add to Cart buttons

Featured Plugins

WP Express Checkout Plugin
wordpress_estore_icon
wordpress membership plugin icon
wordpress_affiliate_plugin_icon

Copyright © 2025 | eCommerce Plugins