Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I need to get a preview URL for the published product. However, I only got a preview URL for the "Draft" product status. How can I get this URL for "Active" product status? This URL has this format I got from onlineStorePreviewURL
"https://{hash}.shopifypreview.com/products_preview?preview_key={hash}"
Thank you for your support.
If it's published why do you need a preview url?
Thank you for your replies to me, I need it for my work. I need to get this preview URL for published products according to my work.
But a published product is live on the site, so use the url for the product.
It doesn't need a preview url since it's published and accessible.
You might have an interesting use case so if you have more details on they why that could give us clues for other suggestions.
Yeah, I know it works like that but I need 1 more preview URL for it. As you can see in this case. His response is "Active" but he always gets the preview_key in the preview link for his product. I need to do that for my work. How can I do that, thank you so much.
Yeah, I get product information from product list API and then I save it into my local database. My site will get data from my local database. when I update for product, my local database is not synchro automation, I can preview all changes of my product before updating it to my site. It looks like a Preview post in WordPress.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024