Badges
CODE
1 badge
Plugin Developer
Recent impact
Score weights high-impact work (commits, releases, approved translations, props) at 3x routine activity.
Last 30 days
0contributions
high0
medium0
score0
Last 90 days
0contributions
high0
medium0
score0
Last 12 months
1contribution
high0
medium1
score1
Contributions
Type
November 2025
Nov 27
Thu · 17:07
Forums
med
Created a topic, Price Range Slider Not Working, on the site WordPress.org Forums:
📌 Description Hello,I am experiencing an issue wit…
📌 Description Hello,I am experiencing an issue wit…
May 2025
May 07
Wed · 16:59
Plugins
high
Committed [3289327] to Plugins SVN:
Copied load-posts-in-react/trunk to load-posts-in-react/tags/1.0.
Copied load-posts-in-react/trunk to load-posts-in-react/tags/1.0.
May 07
Wed · 16:57
Plugins
high
May 07
Wed · 16:54
Plugins
high
May 07
Wed · 16:44
Plugins
high
May 07
Wed · 15:05
Plugins
high
October 2024
Oct 23
Wed · 09:46
Forums
med
Posted a reply to i have error if i create order from api can you help me, on the site WordPress.org Forums:
Thank you @tograczyk
Thank you @tograczyk
Oct 08
Tue · 14:50
Forums
med
Created a topic, How to manage stock about any custom status created ?, on the site WordPress.org Forums:
i create shipped status i need this status decrease st…
i create shipped status i need this status decrease st…
Oct 02
Wed · 14:02
Forums
med
Posted a reply to i have error if i create order from api can you help me, on the site WordPress.org Forums:
public function create_shipping_for_order_and_cart($order, $cart) { global $fs_package_id; // Check if the cart is null and log an error if it is. if (is_null($cart)) { error_log('Cart is null. Cannot proceed with creating shipping for order.'); return; // Exit the function if the cart is null } // Get shipping methods from the order $order_shipping_methods = $order->get_shipping_methods(); // Get shipping packages from the cart $packages = $cart->get_shipping_packages(); $current_package = -1; foreach ($order_shipping_methods as $shipping_id => $shipping_method) { $current_package++; // Get the package ID based on the current package index $package_id = array_keys($packages)[$current_package]; $fs_package_id = $package_id; // Retrieve the shipping method details $fs_method = $this->get_fs_method_from_order_shipping_method($shipping_method); if (!empty($fs_method['method_integration'])) { $integration = $fs_method['method_integration']; // Check if the shipment integration exists and is supported by the order type if (fs_shipment_integration_exists($integration) && $this->is_order_type_supported_by_integration($order->get_type(), $integration)) { // Create a shipment for the order and the shipping method $shipment = $this->create_shipment_for_order_and_fs_shipping_method($order, $fs_method, $shipping_id, $shipping_method, $packages, $package_id); /** * Do actions when shipment is created via checkout. * * @param \WPDesk_Flexible_Shipping_Shipment $shipment Created shipment. */ do_action('flexible_shipping_checkout_shipment_created', $shipment); } } } } i change this function and working successfully
public function create_shipping_for_order_and_cart($order, $cart) { global $fs_package_id; // Check if the cart is null and log an error if it is. if (is_null($cart)) { error_log('Cart is null. Cannot proceed with creating shipping for order.'); return; // Exit the function if the cart is null } // Get shipping methods from the order $order_shipping_methods = $order->get_shipping_methods(); // Get shipping packages from the cart $packages = $cart->get_shipping_packages(); $current_package = -1; foreach ($order_shipping_methods as $shipping_id => $shipping_method) { $current_package++; // Get the package ID based on the current package index $package_id = array_keys($packages)[$current_package]; $fs_package_id = $package_id; // Retrieve the shipping method details $fs_method = $this->get_fs_method_from_order_shipping_method($shipping_method); if (!empty($fs_method['method_integration'])) { $integration = $fs_method['method_integration']; // Check if the shipment integration exists and is supported by the order type if (fs_shipment_integration_exists($integration) && $this->is_order_type_supported_by_integration($order->get_type(), $integration)) { // Create a shipment for the order and the shipping method $shipment = $this->create_shipment_for_order_and_fs_shipping_method($order, $fs_method, $shipping_id, $shipping_method, $packages, $package_id); /** * Do actions when shipment is created via checkout. * * @param \WPDesk_Flexible_Shipping_Shipment $shipment Created shipment. */ do_action('flexible_shipping_checkout_shipment_created', $shipment); } } } } i change this function and working successfully
Oct 02
Wed · 12:23
Forums
med
Created a topic, i have error if i create order from api can you help me, on the site WordPress.org Forums:
"error": {"type": 1,"message": "Uncaught Error: Call t…
"error": {"type": 1,"message": "Uncaught Error: Call t…
No contributions in this category yet.
Developer
1 plugin-
Load Posts in React
Less than 10 active installs