Blog

Summer Mocktail Recipe

User Recipe for summer mocktail Assistant Here's a refreshing **Summer Mocktail** recipe — easy, fruity, and perfect for hot days! — ### 🍓 **Tropical Berry Citrus Cooler** #### **Ingredients (serves 2–3):** – 1 cup mixed berries (strawberries, blueberries, raspberries) – 1 orange (juiced) – 1 lemon (juiced) – 1 tablespoon honey or agave syrup (optional, […]

Meerdere categorieën restrictie

User add_action('current_screen', 'restrict_order_access_based_on_category'); function restrict_order_access_based_on_category() { if (!is_admin()) return; $screen = get_current_screen(); if ($screen->id !== 'shop_order') return; if (!isset($_GET['post']) || get_post_type($_GET['post']) !== 'shop_order') return; $order_id = absint($_GET['post']); if (!$order_id) return; // 🔒 Category to restrict $restricted_category_slug = 'bijna-verboden'; // Change this $allowed_usernames = ['prof_nethues']; // Add your allowed usernames here $current_user = wp_get_current_user(); $order = […]

Preventing Double Scans

User document.addEventListener('deviceready', function () { if (cordova.platformId === 'android') { var permissions = cordova.plugins.permissions; permissions.checkPermission(permissions.CAMERA, function (status) { if (!status.hasPermission) { // Request permission permissions.requestPermission( permissions.CAMERA, function (status) { if (status.hasPermission) { navigator.splashscreen.hide(); // Hide splash after permission initializeApp(); // Proceed with your app } else { navigator.app.exitApp(); // Exit if denied } }, function […]

Common Navbar Framework7

User Fossettscircus Scanner <script> </script> <script> </script> <script> </script> <script> </script> <script> </script> Make common navbar to use on every page Assistant To make a **common navbar** that appears on every page in your Framework7 + jQuery Cordova app, follow these steps: — ### ✅ 1. **Create a Common Navbar HTML (Reusable Component)** **File**: `components/navbar.html` […]

App first launch fix

User document.addEventListener('deviceready', function () { // Initialize Framework7 window.f7App = new Framework7({ el: '#app', name: 'FossettsCircusApp', theme: 'auto', routes: [ { path: '/', url: 'pages/home.html' }, { path: '/event/:id/:dateId/', url: 'pages/event-details.html' } ] }); // ✅ Corrected main view with `url` set: window.mainView = window.f7App.views.create('.view-main', { url: '/' }); // Start the app after permissions […]

Item Quantity Clarification

User Could you please confirm are you talking about item quantity or 2 different items in order Correct above Assistant Sure! Here's the corrected version of your sentence: **"Could you please confirm whether you're referring to the quantity of a single item or two different items in the order?"** Let me know if you'd like […]

Probo Configurator Integration

User Implement Probo Configurator product User stories • As a customer, I want to be able to configure products on my website using the Connect Configurator. • As a webshop owner, I want to be able to get the payload of the product so it can be used in the Order Payload. Important notes • […]

Barcode scanner troubleshooting

User document.addEventListener('deviceready', function () { window.f7App = new Framework7({ el: '#app', name: 'FossettsCircusApp', theme: 'auto', routes: [ { path: '/', url: 'pages/home.html' }, { path: '/staff-tickets/', url: 'pages/staff-tickets.html' }, { path: '/staff-pay-terminal/', url: 'pages/staff-pay-terminal.html' }, { path: '/staff-check-orders/', url: 'pages/staff-check-orders.html' }, { path: '/event/:id/:dateId/', url: 'pages/event-details.html' } ] }); // Create main view with default […]

API Implementation Review

User Currently I've implemented this in new staff app, for this added seated_status column in order table and created an api for this Api.php, please review and let me know Correct above sentence Assistant Here is the corrected version of your sentence: **"I’ve implemented this in the new staff app by adding a `seated_status` column […]

Scan Issue Fix

User document.addEventListener('deviceready', function () { // Initialize Framework7 window.f7App = new Framework7({ el: '#app', name: 'FossettsCircusApp', theme: 'auto', routes: [ { path: '/', url: 'pages/home.html' }, { path: '/event/:id/:dateId/', url: 'pages/event-details.html' } ] }); // Create main view window.f7App.views.create('.view-main'); // Start the app after permissions function startApp() { navigator.splashscreen.hide(); initializeApp(); } // Handle camera permissions […]