
內容簡介
此免費 WordPress 外掛是針對 CoCart 的附加元件,可增強傳回給購物車和添加到其中的商品的資料。
功能
每個添加到購物車的商品都會傳回以下資料:
返回定價和促銷價(如有)。 -僅增強 API v2
返回商品折扣狀態和折扣價(如有)。 -僅增強 API v2
返回產品的虛擬和可下載狀態。
返回產品縮略名。
返回產品類型。
返回格式化的變異數數據。
返回產品尺寸。
返回產品價格原始資料。
返回分配的產品類別。 -增強 API v2
返回分配的產品標籤。 -增強 API v2
返回產品 SKU。
返回產品重量和單位。
返回產品庫存狀態。 -增強 API v2
如果有,則返回產品圖庫。 -增強 API v2
返回產品永久連結。 -增強 API v2
需要更多嗎? 升級到 CoCart Pro。
工具和庫
CoCart Beta Tester 可以讓您輕鬆更新 CoCart Lite 的預發行版本,進行測試和開發用途。
CoCart VSCode 擴展為 Visual Studio Code 添加函數、類和鉤子的片段和自動完成。
CoCart Carts in Session 可以讓您通過 WordPress 管理員查看所有會話中的購物車。
CoCart Product Support Boilerplate 提供了一個基本的板,可支援與驗證不同產品類型添加到購物車,包括添加自己的參數。
CoCart Cart Callback Example 提供了一個示例,用於註冊可以在更新購物車時觸發的回調函數。
CoCart Tweaks 為開發人員提供了自定 CoCart 的起點。
官方 Node.js 程式庫 提供了支援 CommonJS(CJS)和 ECMAScript Modules (ESM) 的 JavaScript 包裝器。
其他附加元件可進一步增強您的購物車。
我們還提供其他附加元件,擴展 CoCart,以增強您的開發和客戶的購物體驗。
CoCart – CORS 只需過濾會話 cookie 即可允許 CoCart 在多個網域上運行。 -免費
Advanced Custom Fields 通過返回產品的所有高級自定義字段,擴展了產品 API。
和更多附加元件正在研發中。
這些附加元件已與 CoCart 的免費版本兼容,當然也提供支援。
加入我們不斷增長的社區
開發人員的 Slack 社區,
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This free add-on for CoCart enhances the data returned for the cart and the items added to it.
✨ Enhancements
Each item added to the cart will return the following:
Returns visible product attributes for all products that is not a variation product. – Enhances API v2 ONLY
Returns the regular price and sale price if any. – Enhances API v2 ONLY
Returns the discount status of items and the discounted price if any. – Enhances API v2 ONLY
Returns virtual and downloadable status. – Enhances API v2
Returns the product slug.
Returns the product type.
Returns variation data formatted.
Returns the product dimensions.
Returns product price raw.
Returns the product categories assigned. – Enhances API v2
Returns the product tags assigned. – Enhances API v2
Returns the product SKU.
Returns the product weight and unit.
Returns the product stock status. – Enhances API v2
Returns the product gallery if any. – Enhances API v2
Returns the product permalink. – Enhances API v2
Want more? See what we have in store.
★★★★★
An excellent plugin, which makes building a headless WooCommerce experience a breeze. Easy to use, nearly zero setup time. Harald Schneider
🧰 Developer Tools
CoCart Beta Tester allows you to easily update to pre-release versions of CoCart for testing and development purposes.
CoCart VSCode extension for Visual Studio Code adds snippets and autocompletion of functions, classes and hooks.
CoCart Product Support Boilerplate provides a basic boilerplate for supporting a different product types to add to the cart with validation including adding your own parameters.
CoCart Cart Callback Example provides you an example of registering a callback that can be triggered when updating the cart.
👍 Add-ons to further enhance CoCart
We also have other add-ons that extend CoCart to enhance your development and your customers shopping experience.
CoCart – CORS enables support for CORS to allow CoCart to work across multiple domains. – FREE
CoCart – Rate Limiting enables the rate limiting feature. – FREE
CoCart – JWT Authentication allows you to authenticate via a simple JWT Token. – FREE
and more add-ons in development.
They work with the core of CoCart already, and these add-ons of course come with support too.
★★★★★
Amazing Plugin. I’m using it to create a react-native app with WooCommerce as back-end. This plugin is a life-saver! Daniel Loureiro
More testimonials
See the wall of love.
⌨️ Join our growing community
A Discord community for developers, WordPress agencies and shop owners building the fastest and best headless WooCommerce stores with CoCart.
Join our community
🐞 Bug reports
Bug reports for CoCart – Cart API Enhanced are welcomed in the CoCart – Cart API Enhanced repository on GitHub. Please note that GitHub is not a support forum, and that issues that aren’t properly qualified as bugs will be closed.
More information
The official CoCart API plugin website.
CoCart for Developers, an official hub for resources you need to be productive with CoCart and keep track of everything that is happening with the API.
CoCart API Reference
Subscribe to updates
Like, Follow and Star on Facebook, Twitter, Instagram and GitHub
💯 Credits
This plugin is developed and maintained by Sébastien Dumont.
Founder of CoCart Headless, LLC.
