Blog

Order Confirmation Process

User In current setup when ever user customer click on "Order Now" button at checkout page then pending order created, and it will moved only when user complete the payment and payment confirmation received from Global payment gateway Correct above sentence Assistant Here is the corrected version of your sentence: >In the current setup, whenever […]

Starting a Task Query

User Do I start on this? Correct Assistant A clearer and more grammatically correct version of **"Do I start on this?"** depends on the context, but here are a few refined options: 1. **"Should I start on this?"** – If you're asking for permission or confirmation. 2. **"Shall I start this?"** – Slightly more formal, […]

Send Email on Error

User 0) { foreach ($products as $product) { $productu = Product::getByID($product['pID']); $page = Page::getByID($productu->getPageID()); if (!$page || $page->isError()) { $this->logFeedStatus($db, $config['id'], 'error', "Missing or invalid page for product ID {$product['pID']} ({$product['pName']}). Page ID: {$pageID}"); continue; } $url = $page->getCollectionLink(); $imageUrl = ''; $image = $productu->getImageObj(); if (is_object($image)) { $imageUrl = $image->getURL(); } $brand = ''; […]

ACF Consultation Form Fields

User We would like new fields to be available for selection on our consultation forms. New field group form selection Assistant To add **new fields to your consultation forms** and make them **available for selection in a field group**, here’s how you can proceed depending on the platform you're using. Since you've worked extensively with […]

Upsell Variation Support

User Commonly bought add-ons… we have also now variTION PROduct how to adjust in above code Assistant To **support variation products** (variable products) in your current upsell code, you’ll need to handle two main changes: — ### 🔧 1. Detect if the selected product is a variation You are currently using: $prod1 = new WC_Product($featured_prod1->ID); […]

Product Customization and Update

User 22- We will setup basic and provide user to customize product at frontend and add configure meta data to cart item meta data 31- We will provide full update with all features mentioned Correct above sentence Assistant Here is the corrected version of your sentences: **22 -** We will set up the basics and […]

JS Configurator Issue

User <script> " rel="text/javascript" > </script> <script> window.connectConfigurator.init({ language: 'en', // You had 'nl' and then 'en', so I kept 'en' as final productCode: "<?php echo esc_attr($api_code); ?>", internalProductId: "<?php echo esc_attr($product->get_id()); ?>", proxy: "<?php echo esc_url(home_url('/wp-json/probo-api/v1/configurator/api')); ?>", overwrites: <?php echo $configurable_options ? $configurable_options : '[]'; ?> }); </script> when we use this then configure […]

PHP Total Quantity Price

User {"ringside_adult":{"quantity":1,"price":26,"seating_area":"Ringside","ticket_type":"Adult"},"ringside_child":{"quantity":1,"price":18,"seating_area":"Ringside","ticket_type":"Child"},"ringside_senior":{"quantity":1,"price":18,"seating_area":"Ringside","ticket_type":"Senior"},"tiered_adult":{"quantity":1,"price":18,"seating_area":"Tiered","ticket_type":"Adult"}} in php count quantity total Assistant To calculate the total quantity and total price from the given array in PHP, you can do the following: ### ✅ PHP Code: $data = [ "ringside_adult" => [ "quantity" => 1, "price" => 26, "seating_area" => "Ringside", "ticket_type" => "Adult" ], "ringside_child" => [ "quantity" => […]

API error handling

User Assistant To display an error on the frontend when the API (Probo) returns an error, you need to check for errors in the response JSON (from the proxy endpoint) and handle them appropriately in the JavaScript or inside your Web Component logic (depending on your setup). Here’s how to **modify your PHP proxy code** […]

Payment Gateway Test Cards

User Global payment gateways test cards Assistant Here's a list of **global payment gateways** and their commonly used **test card numbers** for sandbox/test environments. These cards simulate successful and failed transactions, and do **not** trigger real payments. — ### 🔐 **1. Stripe Test Cards** – **Successful payment**: – Card Number: `4242 4242 4242 4242` – […]