#TypeError: Cannot read properties of undefined (reading 'calculated_price')
6 messages · Page 1 of 1 (latest)
Hi, I had the problem with products that do not have a price yet. Do you have products without price? Then setting it in the admin panel will fix it.
You can use "?" like
if (!variant?.calculated_price?.calculated_amount)
yes, but there more errors will occur I just wanna make it workable then to improve if possible
products are missing price, go to products then edit pricing
This Edit price?