Jump to Content
SureCart
Plugin DocumentationRecipesREST API ReferenceComponents
SureCart
Plugin Documentation
Plugin DocumentationRecipesREST API ReferenceComponents

Getting Started

  • Getting Started

Styling

  • Styling Checkout UI
  • Styling Products and Cart
    • Form Control
    • Form Input Group
    • Image Slider
    • Drawer
    • Quantity selector

Theming

  • Querying Products

Checkout

  • Integrating with Purchases
  • Extending The Integration Class

Models

  • Retrieving Models
  • Expanding Model Relations
  • Inserting Or Updating Models

ACTIONS / FILTER

  • Order Actions Reference
    • Custom Form Validation
    • Auto Login User
    • Adding and Managing Custom Fields in Checkout Form
    • Customizing Country and Address Fields in SureCart
  • Purchase Actions Reference
  • Subscription Actions Reference
  • Refund Actions Reference
  • Authentication Reference
  • API Request Reference
  • Address
    • Address Regions (State/County)

Advanced

  • SEO
  • Admin Custom UI Elements
  • Admin Custom List Table Columns

Checkout Components

  • SureCart Checkout Components

Auto Login User

Suggest Edits

Users will be logged in automatically once the checkout is completed after linking with a customer account. By default, this feature is enabled.

apply_filters( 'surecart/checkout/auto-login-new-user', true )

How to use

Stop auto user login on checkout

add_filter( 'surecart/checkout/auto-login-new-user', '__return_false' );

Updated over 1 year ago


What’s Next
  • Billing Period Actions Reference