Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey, I want to show the product page data to my custom page (view quote) as when the customer wants to add the product in quote then this product will be shown in the view quote page but the cart page should not be effected and nor these quote products will be shown on the cart page.
Hi @aqeelzaffar use the ajax api, or the section rendering api.
https://shopify.dev/api/section-rendering
Beyond that you'd need to be much better at explaining what you mean by "product data" as that has MANY interpretations.
Do not leave it to ambiguity, specify ; or provide inspectable examples or mockups and flows, etc.
https://www.catb.org/~esr/faqs/smart-questions.html
Good Luck.
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Product data means product name with their selected quantity and also the line items that has been added on the product page. Ajax API works but it will also add the product into the cart as well. I just want to show the added product on to the custom page.
The ajax api for the cart has a get endpoint.
For products themselves use their own endpoint /products/product-handle.json
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024