This is the action that is run when an item is added to the cart by a non-logged-in user.
RestroPress
⌘K
- Getting Started
- Shortcodes Overviews
- Set Up Products
- Extensions
- RestroPress Addon Quantity
- RestroPress KDS
- Checkout Fields Manager
- Delivery Zone and Fees
- Mailchimp Integration
- Order Time, Intervals & Limits
- Restropress Print & Tracking APP
- RestroPress – Extra Fees
- RestroPress DineIn
- RestroPress – Order Tracking APP
- RestroPress – Inventory
- RestroPress – Tips
- SMS Notification
- Store Timings & Delivery Cutoff
- WhatsApp Notifications
- RestroPress – Multilocation
- Restropress- Whatsapp Order
- Restropress-Rewards
- RestroPress – Clover POS
- Payment Gateway
- Developer Docs
- Filters
- rpress_purchase_form_required_fields
- rpress_email_templates
- rpress_purchase_receipt
- rp_get_order_status
- rpress_cart_data
- rpress_cart_item
- rpress_fees_get_fees
- rpress_get_discount_status
- rpress_get_option_
- rpress_metabox_save_
- rpress_modal_title
- rpress_proceed_checkout
- rpress_user_can_view_receipt_item
- rpress_empty_cart_message
- rpress_get_reporting_view
- rpress_is_discount_active
- rpress_registered_settings
- rpress_report_dates
- rpress_special_instructions
- rpress_vegan_options
- rpress_get_cart_item_quantity
- rpress_get_fooditem_sku
- rpress_get_payment_transaction_id
- rpress_payments_table_gateways
- rpress_store_delivery_timings_format
- rpress_store_pickup_timings_format
- rpress_get_cart_item_tax
- rpress_get_graph_data
- rpress_pickup_time_string
- rpress_receipt_delivery_address
- rpress_sale_notification
- rpress_email_template
- rpress_item_in_cart
- rpress_receipt_discount_price
- rpress_report_views
- rpress_update_option
- rpress_api_products
- rpress_email_template_tags filter
- rpress_export_get_data
- rpress_get_tax_rates
- rpress_receipt_tax_price
- rpress_button_colors
- rpress_email_message
- rpress_get_settings
- rpress_receipt_total_price
- rpress_button_styles
- rpress_fooditems_query
- rpress_protected_directory_htaccess_rules
- rpress_settings_gateways
- rpress_fooditems_excerpt
- rpress_reset_store_items
- rpress_set_payment_transaction_id
- rpress_validate_username
- rpress_fooditems_content
- rpress_get_user_verification_url
- rpress_receipt_price_column
- rpress_update_discount
- rpress_view_users_role
- rpress_cart_title
- rpress_email_attachments
- rpress_receipt_item_note_label
- rpress_user_verification_email_message
- rp_addon_category
- rpress_cart_remove
- rpress_email_heading
- rpress_receipt_subtotal_amount
- rpress_cart_edit
- rpress_email_content_type
- rpress_email_from_address
- rpress_show_checkout_button
- rp_confirm_order_text
- rpress_email_from_name
- rpress_email_default_content_type
- rpress_get_users_orders_args
- rpress_users_purchased_products_payments
- rpress_purchase_stats_by_user
- rpress_user_registration_admin_email_subject
- rpress_user_registration_admin_email_heading
- rpress_user_registration_admin_email_message
- rpress_user_registration_email_password
- rpress_user_registration_email_login_url
- rpress_verification_link_expired_text
- rpress_user_account_verification_request_redirect
- rpress_add_to_cart_text
- rpress_purchase_fooditem_form
- rpress_template_paths
- rpress_is_order_history_page
- rpress_embed_hide_comments
- rpress_use_taxes
- rpress_get_tax_rates
- rpress_tax_rate
- rpress_formatted_tax_rate
- rpress_taxed_amount
- rpress_get_sales_tax_for_year
- rpress_prices_include_tax
- rpress_fooditem_is_tax_exclusive
- rpress_addon_is_tax_exclusive
- rpress_tax_name
- restropress_output_fooditem_shortcode_content
- rpress_set_fooditems_attributes
- rpress_sepcial_instruction
- rpress_timing_for_today
- rpress_current_date
- rpress_date_format
- rpress_local_date
- rpress_get_categories
- rpress_service_type
- rpress_store_delivery_timings
- rp_store_time_format
- rpress_store_pickup_timings
- rpress_timing_for_today
- rpress_is_test_mode
- rpress_is_debug_mode
- rpress_no_guest_checkout
- is_a_restropress_page
- rpress_string_is_image
- rpress_currencies
- rpress_currency_symbol
- rpress_currency_name
- rpress_use_skus
- rpress_can_view_receipt
- rpress_is_service_enabled
- rpress_food_type_icon
- rpress_customer_delivery_address
- rpress_order_count
- rpress_is_ajax_enabled
- rpress_is_ajax_disabled
- rpress_ajax_url
- rp_variable_price_heading
- rp_addon_category
- rpress_insert_user_data
- rpress_is_zip_valid
- rpress_fooditem_labels
- rpress_payment_labels
- rpress_default_fooditems_name
- rpress_allowed_fooditem_taxonomies
- rpress_payment_statuses
- rpress_order_statuses
- rpress_is_payment_complete
- rpress_total_earnings
- rpress_payment_meta_cart_details
- rpress_is_guest_payment
- rpress_payment_currency
- rpress_get_next_payment_number
- rpress_payment_amount
- rpress_discount_price_by_payment
- rpress_payment_meta
- rpress_delivery_address_meta
- rpress_order_note_meta
- rpress_payment_fee_keys
- rpress_update_payment_meta_
- rpress_payment_unlimited_fooditems
- rpress_payment_meta_fooditems
- rpress_payment_number
- rpress_payment_address
- rpress_payment_meta_user_info
- rpress_payment_user_email
- rpress_payment_user_id
- rpress_payment_customer_id
- rpress_payment_user_ip
- rpress_payment_gateway
- rpress_payment_currency_code
- rpress_payment_discounted_amount
- rpress_get_payment_subtotal
- rpress_get_payment_tax
- rpress_payment_completed_date
- rpress_payment_cart_details
- rpress_should_process_pending
- Functions
- rpress_get_fooditem()
- rpress_price()
- rpress_has_user_purchased()
- rpress_get_cart_contents()
- rpress_get_payment_transaction_id()
- rpress_format_amount()
- rpress_add_email_tag()
- rpress_get_variable_prices()
- rpress_get_option()
- rpress_get_fooditem_sales_stats()
- rpress_get_price_option_name()
- rpress_has_variable_prices()
- rpress_email_purchase_receipt()
- rpress_set_payment_transaction_id()
- rpress_is_ajax_enabled()
- rpress_get_fooditem_earnings_stats()
- rpress_update_option()
- rpress_is_test_mode()
- Actions
- rpress_complete_purchase
- rpress_{payment gateway ID}_cc_form
- rpress_add_to_cart
- rpress_complete_fooditem_purchase
- rpress_insert_payment
- rpress_update_payment_status
- rpress_before_fooditem_content
- wp_ajax_rpress_add_to_cart
- rpress_purchase_form_user_info
- rpress_after_checkout_cart
- rpress_remove
- rpress_after_fooditem_content
- rpress_purchase_link_top
- rpress_purchase_form_register_fields
- rpress_cart_empty
- rpress_purchase_link_end
- rpress_after_purchase_form
- rpress_purchase_form_after_submit
- rpress_after_price_option
- rpress_process_verified_fooditem
- rpress_checkout_login_fields_after
- rpress_purchase_form_before_submit
- rpress_after_cart
- rpress_before_checkout_cart
- rpress_cc_form_address_fields
- wp_ajax_rpress_remove_from_cart
- wp_ajax_nopriv_rpress_add_to_cart
- rpress_cc_form
- rpress_after_price_options
- rpress_before_purchase_form
- rpress_purchase_form_bottom
- rpress_email_template_{template name}
- rpress_checkout_login_fields_before
- rpress_before_cart
- rpress_checkout_form_top
- rpress_before_price_options
- rpress_purchase_form_login_fields
- rpress_after_price_options_list
- rpress_before_payment_status_change
- wp_ajax_rpress_get_fooditem_title
- rpress_update_edited_purchase
- rpress_purchase_form_top
- rpress_checkout_table_header_first
- rpress_after_cc_fields
- rpress_admin_sale_notice
- rpress_payment_mode_after_gateways
- rpress_payment_delete
- rpress_render_receipt_in_browser_after
- rpress_post_insert_discount
- rpress_before_cc_fields
- wp_ajax_nopriv_checkout_register
- rpress_post_insert_log
- rpress_payment_mode_before_gateways
- rpress_email_body_footer
- rpress_pre_insert_discount
- rpress_render_receipt_in_browser_before
- rpress_post_update_log
- wp_ajax_rpress_apply_discount
- rpress_checkout_table_body_first
- wp_ajax_nopriv_checkout_login
- rpress_api_output_after
- rpress_api_output_{format}
- rpress_payment_deleted
- rpress_email_body_header
- wp_ajax_nopriv_rpress_remove_from_cart
- wp_ajax_nopriv_rpress_get_fooditem_title
- rpress_payment_mode_top
- rpress_checkout_table_body_last
- rpress_checkout_table_footer_last
- rpress_pre_insert_log
- rpress_payment_mode_bottom
- rpress_pre_update_discount
- rpress_post_update_discount_status
- rpress_checkout_table_header_last
- rpress_post_remove_cart_discount
- wp_ajax_nopriv_rpress_apply_discount
- rpress_post_update_discount
- rpress_before_cc_expiration
- rpress_api_output_before
- rpress_checkout_table_footer_first
- rpress_post_delete_payment_note
- rpress_pre_update_log
- rpress_pre_remove_cart_discount
- rpress_pre_update_discount_status
- rpress_pre_delete_payment_note
- rpress_post_delete_discount
- rpress_pre_delete_discount
- Filters
- Home
- Docs
- RestroPress
- Developer Docs
- Actions
- wp_ajax_nopriv_rpress_add_to_cart