Blog
The Blog component of the Zid Themes Library includes functions to access blog-related data within the Zid platform, such as fetching specific blog posts and retrieving FAQs and shipping/payment information.
Fetch Blog Post
Function:Â fetch
Description: Retrieves details of a specific blog post.
Parameters:
id
 - Unique identifier of the blog post.slug
 - Slug of the blog post. Use eitherÂid
 orÂslug
.
Usage:Â zid.store.page.fetch({id, slug}).then(function (response) { /* Handle response */ });
Fetch FAQs
Function:Â FetchFaqs
Description: Retrieves frequently asked questions.
Usage:Â zid.store.page.fetchFaqs().then(function (response) { /* Handle response */ });
Fetch Shipping and Payment Information
Function:Â FetchShippingAndPayment
Description: Fetches shipping and payment information.
Usage:Â zid.store.page.fetchShippingAndPayment().then(function (response) { /* Handle response */ });
Last modified: 17 days ago