Close Menu
Developers ZoneDevelopers Zone
  • WordPress Themes
  • WordPress Plugins
  • Woocommerce plugin
  • Shopify Theme
Latest Contents

Elements Kit All In One Addons for Elementor Page Builder

September 24, 2025

Table Rate Shipping for WooCommerce free download

September 13, 2025

All in One WP Migration Unlimited Extension Free Download

September 2, 2025
Facebook X (Twitter) YouTube LinkedIn
Facebook X (Twitter) YouTube LinkedIn
Developers ZoneDevelopers Zone
  • WordPress Themes

    Elements Kit All In One Addons for Elementor Page Builder

    September 24, 2025

    Table Rate Shipping for WooCommerce free download

    September 13, 2025

    All in One WP Migration Unlimited Extension Free Download

    September 2, 2025

    InBio Personal Portfolio Resume Theme

    September 1, 2025

    Tutor LMS Pro Most Powerful WordPress LMS Plugin

    August 29, 2025
  • WordPress Plugins

    Elements Kit All In One Addons for Elementor Page Builder

    September 24, 2025

    Table Rate Shipping for WooCommerce free download

    September 13, 2025

    All in One WP Migration Unlimited Extension Free Download

    September 2, 2025

    InBio Personal Portfolio Resume Theme

    September 1, 2025

    Tutor LMS Pro Most Powerful WordPress LMS Plugin

    August 29, 2025
  • Woocommerce plugin

    Elements Kit All In One Addons for Elementor Page Builder

    September 24, 2025

    Table Rate Shipping for WooCommerce free download

    September 13, 2025

    All in One WP Migration Unlimited Extension Free Download

    September 2, 2025

    InBio Personal Portfolio Resume Theme

    September 1, 2025

    Tutor LMS Pro Most Powerful WordPress LMS Plugin

    August 29, 2025
  • Shopify Theme

    Elements Kit All In One Addons for Elementor Page Builder

    September 24, 2025

    Table Rate Shipping for WooCommerce free download

    September 13, 2025

    All in One WP Migration Unlimited Extension Free Download

    September 2, 2025

    InBio Personal Portfolio Resume Theme

    September 1, 2025

    Tutor LMS Pro Most Powerful WordPress LMS Plugin

    August 29, 2025
Developers ZoneDevelopers Zone
Home»WordPress Plugins»TOOLSET CRED COMMERCE wordpress plugin1.8.1
WordPress Plugins

TOOLSET CRED COMMERCE wordpress plugin1.8.1

developerszone.netBy developerszone.netJuly 22, 2020Updated:May 30, 2021No Comments5 Mins Read
TOOLSET CRED COMMERCE wordpress plugin
Share
Facebook Twitter LinkedIn Pinterest Email

TOOLSET CRED COMMERCE wordpress plugin

Toolset Forms Commerce API Hooks

Toolset Forms Commerce is an add-on plugin for Forms, to enable payments via e-commerce plugins, when submitting forms.TOOLSET CRED COMMERCE wordpress plugin

This add-on can be used to build functionality that requires special conditions (involving payments) in order to create/edit posts and custom post types. Toolset Forms Commerce covers most needed functionality out-of-the-box, however for extra fine-tuning or customization the following API hooks are available. The hooks are related to actions after a form is submitted and/or the purchase order changes status (completed/cancelled/refunded).TOOLSET CRED COMMERCE wordpress plugin

TOOLSET CRED COMMERCE wordpress plugin

Reference

  • cred_commerce_add_product_to_cart
  • cred_commerce_after_add_to_cart
  • cred_commerce_after_order_completed
  • cred_commerce_after_payment_cancelled
  • cred_commerce_after_payment_completed
  • cred_commerce_after_payment_refunded
  • cred_commerce_after_send_notifications
  • cred_commerce_before_add_to_cart
  • cred_commerce_form_action

cred_commerce_add_product_to_cart

Description

Filter that allows to dynamically alter the product associated with a CRED Commerce form, when adding to cart.Arguments.TOOLSET CRED COMMERCE wordpress plugin

  • $product_id: ID of the product associated with the form and payment.
  • $form_id: ID of the CRED Commerce form that the customer used.
  • $post_id: ID of the post that was created or edited with the form.

Output

MoreUsage examples

cred_commerce_after_add_to_cart

Description

Action to be executed after a product for a CRED Commerce form is added to customer cart.Arguments

  • $form_id. The current CRED Commerce form that is accessed.
  • $post_id. The ID of the post created or edited with the current CRED Commerce form.

Output

MoreUsage examples

cred_commerce_after_order_completed

Description

Action to be executed after WooCommerce order status is set to completed.Arguments

  • $data is an associative array that holds various information related to the order, with such structure:$data => array( ‘user_id’ => $user_id, ‘transaction_id’ => $transaction_id, ‘extra_data’ => array( array( ‘cred_product_id’ => $product_id, ‘cred_form_id’ => $form_id, ‘cred_post_id’ => $post_id, … ) ), … );Note: There may be other elements present in the array. These are internal to CRED Commerce and their presence or format is not guaranteed.
    • $user_id: ID of the user that placed the order.
    • $transaction_id: ID of the WooCommerce order associated with the buying process.
    • $product_id: ID of the product associated with the form and payment.
    • $form_id: ID of the CRED Commerce form that the customer used.
    • $post_id: ID of the post that was created or edited with the form.

Output

MoreUsage examples

cred_commerce_after_payment_cancelled

Description

Action to be executed after the purchase is cancelled.Arguments

  • $data is an associative array that holds various information related to the purchase, with such structure:$data = array( ‘extra_data’ => array( ‘cred_form_id’ => $form_id, ‘cred_post_id’ => $post_id, ‘cred_product_id’ => $product_id … ), … )Note: There may be other elements present in the array. These are internal to CRED Commerce and their presence or format is not guaranteed.
    • $form_id: ID of the CRED Commerce form that the customer used.
    • $post_id: ID of the post that was created or edited with the form.
    • $product_id: ID of the product that was associated with the form and payment.

Output

MoreUsage examples

cred_commerce_after_payment_completed

Description

Action to be executed after the purchase is completed successfully.Arguments.TOOLSET CRED COMMERCE wordpress plugin

  • $data is an associative array that holds various information related to the purchase, with such structure:$data = array( ‘extra_data’ => array( ‘cred_form_id’ => $form_id, ‘cred_post_id’ => $post_id, ‘cred_product_id’ => $product_id … ), … )Note: There may be other elements present in the array. These are internal to CRED Commerce and their presence or format is not guaranteed.
    • $form_id: ID of the CRED Commerce form that the customer used.
    • $post_id: ID of the post that was created or edited with the form.
    • $product_id: ID of the product that was associated with the form and payment.

Output

MoreUsage examples

cred_commerce_after_payment_refunded

Description

Action to be executed after the purchase is refunded to the client.Arguments

  • $data is an associative array that holds various information related to the purchase, with such structure:$data = array( ‘extra_data’ => array( ‘cred_form_id’ => $form_id, ‘cred_post_id’ => $post_id, ‘cred_product_id’ => $product_id … ), … )Note: There may be other elements present in the array. These are internal to CRED Commerce and their presence or format is not guaranteed.
    • $form_id: ID of the CRED Commerce form that the customer used.
    • $post_id: ID of the post that was created or edited with the form.
    • $product_id: ID of the product that was associated with the form and payment.

Output

MoreUsage examples

cred_commerce_after_send_notifications

Description

Action to be executed after the notification has been sent and on order status change.Arguments

  • $data is an associative array that holds various information related to the notidication, with such structure:$data => array( ‘order_id’ => $order_id, ‘previous_status’ => $previous_status, ‘new_status’ => $new_status, ‘cred_meta ‘=> array( array( ‘cred_product_id’ => $product_id, ‘cred_form_id’ => $form_id, ‘cred_post_id’ => $post_id, ) ) );Note: There may be other elements present in the array. These are internal to CRED Commerce and their presence or format is not guaranteed.
    • $order_id: ID of the WooCommerce order associated with the buying process.
    • $previous_status: The initial status of the order.
    • $new_status: The new status of the order. It can take one of the following values: pending, failed, processing, completed, on-hold, cancelled, refunded.
    • $product_id: ID of the product associated with the form and payment.
    • $form_id: ID of the CRED Commerce form that the customer used.
    • $post_id: ID of the post that was created or edited with the form.

Output

MoreUsage examples

cred_commerce_before_add_to_cart

Description

Action to be executed before a product for a CRED Commerce form is added to customer cart.Arguments

  • $form_id. The current CRED Commerce form that is accessed.
  • $post_id. The ID of the post created or edited with the current CRED Commerce form.

Output

MoreUsage examples

TOOLSET CRED COMMERCE WordPress plugin

cred_commerce_form_action

Description

Action to be executed after CRED Commerce form has been submitted.Arguments

  • $action. The form action according to form settings.
  • $form_id. The current form that is accessed.
  • $post_id. The ID of the post created or edited with the current form.
  • $form_data. The form data (form type, post type), similarly to CRED hooks.
  • $is_ajax. Whether it is an AJAX form.




See How To Download

TOOLSET CRED COMMERCE wordpress plugin
Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Email
developerszone.net
  • Website
  • Facebook

Related Posts

Elements Kit All In One Addons for Elementor Page Builder

September 24, 2025

Table Rate Shipping for WooCommerce free download

September 13, 2025

All in One WP Migration Unlimited Extension Free Download

September 2, 2025
RECENT CONTENTS
  • Elements Kit All In One Addons for Elementor Page Builder September 24, 2025
  • Table Rate Shipping for WooCommerce free download September 13, 2025
  • All in One WP Migration Unlimited Extension Free Download September 2, 2025
  • InBio Personal Portfolio Resume Theme September 1, 2025
  • Tutor LMS Pro Most Powerful WordPress LMS Plugin August 29, 2025
  • Tijarah Digital Goods Store WordPress Theme Free Download August 25, 2025
  • MeFit Fitness Shopify Theme Gym Store August 21, 2025
  • Crazy Fashion Shopify Responsive Theme August 21, 2025
  • Medik Medical Shopify Theme August 21, 2025
  • MAXCOLT Minimal Clean Fashion Shopify Theme August 21, 2025
Stay In Touch
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • Vimeo
Categories
  • Shopify Themes (201)
  • Web design (47)
  • Woocommerce Plugin (369)
  • WordPress Plugins (1,053)
  • WordPress Themes (686)
About DevelopersZone
About DevelopersZone

DevelopersZone is a sister concern of CodemanBD. We provide premium contents on WordPress Themes, Plugins, Shopify Themes & Woocommerce Addons.

Facebook X (Twitter) YouTube LinkedIn
Recent Content

Elements Kit All In One Addons for Elementor Page Builder

September 24, 2025

Table Rate Shipping for WooCommerce free download

September 13, 2025
Our Content Categories
  • Shopify Themes
  • Web design
  • Woocommerce Plugin
  • WordPress Plugins
  • WordPress Themes
© 2025 Developerszone.net. Designed by Iqbal Tasif.

Type above and press Enter to search. Press Esc to cancel.