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

Yoast Seo Premium WordPress plugin

April 29, 2025

Ultimate addons elementor free download

April 29, 2025

WooLentor Pro WooCommerce Elementor Addon Free Download

April 25, 2025
Facebook X (Twitter) YouTube LinkedIn
Facebook X (Twitter) YouTube LinkedIn
Developers ZoneDevelopers Zone
  • WordPress Themes

    Yoast Seo Premium WordPress plugin

    April 29, 2025

    Ultimate addons elementor free download

    April 29, 2025

    WooLentor Pro WooCommerce Elementor Addon Free Download

    April 25, 2025

    CartFlows Pro WordPress Sales Funnel Builder

    April 23, 2025

    BeTheme Responsive MultiPurpose WordPress Theme free download

    April 22, 2025
  • WordPress Plugins

    Yoast Seo Premium WordPress plugin

    April 29, 2025

    Ultimate addons elementor free download

    April 29, 2025

    WooLentor Pro WooCommerce Elementor Addon Free Download

    April 25, 2025

    CartFlows Pro WordPress Sales Funnel Builder

    April 23, 2025

    BeTheme Responsive MultiPurpose WordPress Theme free download

    April 22, 2025
  • Woocommerce plugin

    Yoast Seo Premium WordPress plugin

    April 29, 2025

    Ultimate addons elementor free download

    April 29, 2025

    WooLentor Pro WooCommerce Elementor Addon Free Download

    April 25, 2025

    CartFlows Pro WordPress Sales Funnel Builder

    April 23, 2025

    BeTheme Responsive MultiPurpose WordPress Theme free download

    April 22, 2025
  • Shopify Theme

    Yoast Seo Premium WordPress plugin

    April 29, 2025

    Ultimate addons elementor free download

    April 29, 2025

    WooLentor Pro WooCommerce Elementor Addon Free Download

    April 25, 2025

    CartFlows Pro WordPress Sales Funnel Builder

    April 23, 2025

    BeTheme Responsive MultiPurpose WordPress Theme free download

    April 22, 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

Yoast Seo Premium WordPress plugin

April 29, 2025

Ultimate addons elementor free download

April 29, 2025

WooLentor Pro WooCommerce Elementor Addon Free Download

April 25, 2025
RECENT CONTENTS
  • Yoast Seo Premium WordPress plugin April 29, 2025
  • Ultimate addons elementor free download April 29, 2025
  • WooLentor Pro WooCommerce Elementor Addon Free Download April 25, 2025
  • CartFlows Pro WordPress Sales Funnel Builder April 23, 2025
  • BeTheme Responsive MultiPurpose WordPress Theme free download April 22, 2025
  • Slider Revolution WordPress Plugin v6.7.32 free download April 19, 2025
  • Tote Bags Shoes Shop Shopify Theme April 19, 2025
  • Tomoko Organic Food Fruit Responsive Shopify Theme April 19, 2025
  • Tittos Food Fashion Wedding Shopify Theme April 19, 2025
  • Time zee Shopify Watch Store Dark Jewelry Theme April 19, 2025
Stay In Touch
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • Vimeo
Categories
  • Shopify Themes (201)
  • Web design (47)
  • Woocommerce Plugin (369)
  • WordPress Plugins (1,052)
  • 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

Yoast Seo Premium WordPress plugin

April 29, 2025

Ultimate addons elementor free download

April 29, 2025
Our Content Categories
  • Shopify Themes
  • Web design
  • Woocommerce Plugin
  • WordPress Plugins
  • WordPress Themes
© 2025 Developerszone.net. Designed by WebBattalion.

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