Blog

Callback Function Testing

User We have completed all part except callback functionality from probo, and Callback function call from probo on live order for proper check to if all status like prepared,delivered and completed is actually work and get received in our callback function that probo sent ,because of that we just inform client about that we want […]

Get Product ID WC

User WC()->cart->get_cart_contents() Assistant `WC()->cart->get_cart_contents()` is a **WooCommerce** function in WordPress used to retrieve all the current items in the shopping cart. ### ✅ Syntax $cart_items = WC()->cart->get_cart_contents(); Or more commonly: $cart_items = WC()->cart->get_cart(); Both `get_cart()` and `get_cart_contents()` return the same array of cart items (the latter is just the underlying function for `get_cart()`). — ### […]

Dev Server HTTPS Issue

User const path = require('path') const fs = require('fs') const os = require('os') const webpack = require('webpack') const packageJson = require('./package.json') const SyncThemeConfigPlugin = require('./config/js/SyncThemeConfigPlugin') const TerserPlugin = require('terser-webpack-plugin') const CssMinimizerPlugin = require('css-minimizer-webpack-plugin') const MiniCssExtractPlugin = require('mini-css-extract-plugin') const WriteFilePlugin = require('write-file-webpack-plugin') const { CleanWebpackPlugin } = require('clean-webpack-plugin') const DEV_MODE = process.env.NODE_ENV !== 'production' const BannerPlugin […]

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 […]