Blog

Create radio button

User make radio button like attached Assistant Got it 👍 You want your radio button styled like the attached screenshot (a green checkmark inside a light green circle). Here’s a CSS + HTML example to achieve that look: <style> .custom-radio { display: none; } .custom-radio + label { display: inline-flex; align-items: center; justify-content: center; width: […]

Fix login redirect code

User add_filter( 'login_redirect', function( $url, $query, $user ) { return home_url(); }, 10, 3 ); Not working Assistant Got it 👍 Let’s fix this. The filter you’re using is correct in principle, but `login_redirect` works a bit differently. By default, WooCommerce (and some plugins/themes) override the redirect. Also, the callback parameters must be correct. Here’s […]

Login redirect fix

User If you have shopped with us before, please enter your details below. If you are a new customer, please proceed to the Billing section. Username or email *Required Password *Required Remember me Login Lost your password? Its not redirecting to https://www.postmymeds.co.uk/checkout/ isto /my-account Assistant You’re getting sent to **/my-account** because something (theme/plugin) is overriding WooCommerce’s login […]

Next.js build output folder

User react nex js productio build not generating output folder now Assistant Gotcha—quick sanity check first: **Next.js doesn’t create an “output” folder by default.** – `next build` → creates a **`.next/`** folder for server/runtime deployment. – If you want a static site folder (often named **`out/`**), you must **export**. Here are the common cases + […]

T4 xlarge aws price

User T4 xlarge aws monthly price Assistant You’re most likely referring to **AWS EC2** when mentioning "T4 xlarge"—specifically, the **t4g.xlarge** instance type, powered by AWS Graviton2 processors. Here's the current pricing breakdown based on reliable sources: — ## EC2 (t4g.xlarge) – On-Demand Pricing ### **US East (N. Virginia, us-east-1)** – **Hourly rate:** $0.1344/hour citeturn0search1turn0search5 – […]

Add Silverstripe DateField

User add Silverstripe 5 DateField Assistant In **Silverstripe 5**, you can add a `DateField` to your form by using the built-in form field class `SilverStripeFormsDateField`. Here’s a simple example: use SilverStripeFormsForm; use SilverStripeFormsFieldList; use SilverStripeFormsDateField; use SilverStripeFormsFormAction; use SilverStripeFormsRequiredFields; public function MyForm() { $fields = FieldList::create( DateField::create('StartDate', 'Start Date') ->setHTML5(true) // enables native browser date […]

Make logo dynamic

User in sliverstripe Header.ss make it dynamic by set url Assistant In SilverStripe you shouldn’t hardcode image paths inside your template. Instead, make it dynamic so editors can update it via the CMS. ### ✅ Steps 1. **Add a DB field / relation for Logo** in your `Page.php` or `SiteConfig`. Usually, logo is better in […]

Live site issue

User https://wmb.ddev.site/themes/template/css/custom.css 404 but on live site its working fine we are using sliverstripe ddev setup Assistant In SilverStripe 4+ on DDEV (public web root), theme assets are exposed under `/resources/…`, not `/themes/…`. That’s why `/themes/template/css/custom.css` 404s locally but works on your live box. ### Fix options (pick one) 1) **Use the correct public path** […]

WooCommerce export queue issue

User WooCommerce Customer/Order/Coupon Export plugin Export scherdule job not woeing always shows queueued Assistant Got it—when that export stays “Queued,” it’s almost always a cron/Action Scheduler issue, not the plugin itself. Do this quick, surgical checklist: # 1) Verify WP‑Cron is actually running – Open: `https://your-site.com/wp-cron.php?doing_wp_cron` – If it downloads/200s quickly, good. If it times out […]

Mini cart blank fix

User we have created custom woocommerce product type probo_configuraor but when open product page of this type then woocommerce default min cart icon block modal shoqwing blank for other roduct type it works fine Assistant Got it. The Mini Cart **(Blocks modal)** going blank on your custom product type usually means the Store API response […]