Twisty Bug RecorderReport #BR-0RBCI
NewHomeCPH2381 · likely OnePlus Nord CE 2 Lite 5G · Chrome · Android 14
Oct 27, 2026, 05:07 AM

Home page

BR-0RBCI
https://bug-recorder-dev.myshopify.com/
Loading replay…
NOW · 0:00
Opened /
NEXT

Nothing else after this point

AI summary

The customer was on the home page of the demo store on a CPH2381 phone using Chrome on Android 14. They were trying to scroll down and add a best seller product to the cart. When they did this, an error message appeared instead of the item being added successfully. They expected the product to be added to the cart normally. The issue seems to be related to the add-to-cart request on the home page, with a likely related error showing a 404 POST to /products/undefined and a JSON parsing failure.

Spoken: English · Shown in English · Generated by AI — may contain mistakes

Pages visited

/bug-recorder-dev
/pages/contact?view=bug-playgroundContact – bug-recorder-dev
/bug-recorder-dev
/products/little-explorer-mapLittle Explorer Map Poster | Twisty Prints – bug-recorder-dev

Transcript

English
So this is our home page for the demo store. And this bug playground which will give us a summary of the type of bugs that we can record on our website. Going back, we can explore the best sellers. If I scroll down and I try to add this product to the cart, this will show me this error message. So in this way you can notify the store owner you're facing this error.
Reported
Oct 27, 2026, 05:07 AM
Type
Replay + voice
Duration
0:51
Views
224
Device
CPH2381 · likely OnePlus Nord CE 2 Lite 5G · Chrome · Android 14
Screen
360 × 695
Upload
Saved in 984 ms · 71 KB after stop

Network

500 requests · 2 failed

0:12
0:36

Storage

Cart: 0 → 0 items (changed)

localrb_bugs_tried: (none) → ["image"]
sessionrb_owner_counts: {"pages":11,"taps":23,"errors":0,"failed":0,"storage":0} → {"pages":14,"taps":30,"errors":0,"failed":1,"storage":0}
sessionri-YXTX0r-pS4WjMFacMgKXVheTB3Z4-x: (none) → ••••

Read before changing your store

This is a suggestion, not a guaranteed fix. It's based on your store's code and what this recording captured.

  • Test it on a duplicate of your theme first
  • Share this report with your developer
  • Or let Twisty Studios fix it for you

Suggested fix

Suggestion · not confirmed
Impact on your storeHigh

Customers cannot add the product to cart from this page, so you may be losing orders.

Affects:Add to cartProduct formCart flow
Medium confidence

SyntaxError: Failed to execute 'json' on 'Response': Unexpected end of JSON input

The product form is submitting to `/products/undefined`, which means the form action or product URL being used by `product-form.js` is missing/invalid on this page. The JSON parse error happens because the failed request returns an empty/invalid response after the bad POST target

assets/product-form.js:1
Before
if (!customElements.get('product-form')) {  customElements.define('product-form', class ProductForm extends HTMLElement {    constructor() {      super();       this.form = this.querySelector('form');      this.form.querySelector('[name=id]').disabled = false;      this.form.addEventListener('submit', this.onSubmitHandler.bind(this));      this.cart = document.querySelector('cart-notification') || document.querySelector('cart-drawer');      this.submitButton = this.querySelector('[type="submit"]');      if (document.querySelector('cart-drawer')) this.submitButton.setAttribute('aria-haspopup', 'dialog');       this.hideErrors = this.dataset.hideErrors === 'true';    }     onSubmitHandler(evt) {      evt.preventDefault();      if (this.submitButton.getAttribute('aria-disabled') === 'true') return;       this.handleErrorMessage();
After
if (!customElements.get('product-form')) {  customElements.define('product-form', class ProductForm extends HTMLElement {    constructor() {      super();       this.form = this.querySelector('form');      this.form.querySelector('[name=id]').disabled = false;      this.form.addEventListener('submit', this.onSubmitHandler.bind(this));      this.cart = document.querySelector('cart-notification') || document.querySelector('cart-drawer');      this.submitButton = this.querySelector('[type="submit"]');      if (document.querySelector('cart-drawer')) this.submitButton.setAttribute('aria-haspopup', 'dialog');       this.hideErrors = this.dataset.hideErrors === 'true';    }     onSubmitHandler(evt) {      evt.preventDefault();      if (this.submitButton.getAttribute('aria-disabled') === 'true') return;       this.handleErrorMessage();
  1. Check the product form markup on the home page for a missing or invalid product URL/action.
  2. Make sure the Add to cart form posts to a real product endpoint, not `/products/undefined`.
  3. Verify the product form has a valid selected variant ID before submit.
  4. Retest Add to cart from the home page.

This one needs a developer.

  • Image missing: https://bug-recorder-dev.myshopify.com/cdn/shop/files/twisty-demo-missing-photo.jpg — re-upload it or fix the image picker

Suggestions are AI-generated from a read-only copy of the store's theme. Twisty Bug Recorder never changes the theme.

What went wrong

error message on adding something to card

Details

Reported
Oct 27, 2026, 05:07 AM
Type
Replay + voice
Duration
0:51
Views
224
Device
CPH2381 · likely OnePlus Nord CE 2 Lite 5G · Chrome · Android 14
Screen
360 × 695
Upload
Saved in 984 ms · 71 KB after stop