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 eitherid
orslug
.
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