A space to discuss online store customization, theme development, and Liquid templating.
My app block code is shown below.
I set "autofill": true for the product data in the block settings.
However, when I tried to insert the block into the product page and Featured product, we found some problems:
The product page can display product information correctly. As shown in Figure P2 below
But the product information cannot be displayed in the Featured product. As shown in Figure P3 below
If you have set "autofill": true for the product data in the block settings and are experiencing issues when inserting the block into the product page and Featured product, it's important to check the following:
Ensure the block is properly inserted: Double-check that you have correctly inserted the block into the desired location on the product page and Featured product section.
Verify the block settings: Make sure the block settings are configured correctly, including the "autofill" option for the product data. Confirm that the necessary product data is available and accessible for autofilling.
Hi,
Thank you very much for your help, we checked according to your suggestions, but unfortunately we can't find the cause of this problem.
We checked our code, our code is relatively simple, we did not find any mistakes. A screenshot of the code is shown below, can you help us check what is wrong with our code? Thank you so much!
Strangely, our insert block on the product page works correctly. But when we insert the same block in the Featured product section, the product cannot be automatically populated correctly.
block in product page
block in the Featured product section
best wishes!
Same issue , for me ! manually select the product works but not autofill it's like no products is selected