[WordPress] 外掛分享: CoCart – Cart API Enhanced

WordPress 外掛 CoCart – Cart API Enhanced 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「CoCart – Cart API Enhanced」是 2020-03-16 上架。
  • 目前有 300 個安裝啟用數。
  • 上一次更新是 2024-09-05,距離現在已有 241 天。
  • 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

sebd86 | jppdesigns | cocartforwc |

外掛標籤

cart | headless | rest-api | decoupled | woocommerce |

內容簡介

此免費 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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CoCart – Cart API Enhanced」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.3.0 | 1.4.0 | 1.5.0 | 1.6.0 | 1.6.1 | 1.6.2 | 1.6.3 | 1.6.4 | 1.6.5 | 1.6.6 | 1.7.0 | 1.8.0 | 1.9.0 | 1.9.1 | 1.9.2 | 1.9.3 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 3.0.0 | 3.0.1 | 3.0.2 | 3.0.3 | 3.0.4 | 3.1.0 | 3.2.0 | 3.3.0 | 4.0.0 | 4.0.1 | 4.0.2 | 4.0.3 | 4.0.4 | 4.0.5 | trunk | 1.10.0 |

延伸相關外掛(你可能也想知道)

  • Menu Cart for WooCommerce 》** 與 WooCommerce 和 Easy Digital Downloads(EDD)兼容 ** , 此外掛將在導覽列中安裝購物車按鈕。 安裝此外掛的時間少於一分鐘,, 並且包括以下選項:, , ...。
  • Welcart e-Commerce 》Welcart 是一個免費的 WordPress 電子商務外掛,在日本市場佔有最高市場份額。, Welcart 提供許多功能和自定義選項,可建立線上商店。, 您可以輕鬆地創建自己...。
  • WordPress Simple Shopping Cart 》on codes that can be limited to a certain number of uses or expire after a certain date., , , WordPress Simple PayPal Shopping Cart 可讓您在網站上...。
  • Custom Add To Cart Button for WooCommerce 》WooCommerce Custom Add to Cart Button 是一個簡單的外掛,可自訂您商店的加入購物車按鈕。它讓您輕鬆更改「加入購物車」按鈕文字、將購物車圖示添加到按鈕...。
  • Ajax Cart AutoUpdate for WooCommerce 》這是一個輕巧的外掛程式,在產品數量更改時自動更新購物車頁面和迷你購物車。同時移除了預設的「更新購物車」按鈕,並可以選擇關閉購物車頁面提示訊息。, 特...。
  • WP Menu Cart 》**與WooCommerce和Easy Digital Downloads(EDD)兼容**, 此外掛會在導覽列中安裝一個購物車按鈕,安裝只需不到一分鐘時間,, 並包括以下選項:, , 顯示購物...。
  • WooCommerce Ajax Cart Plugin 》WooCommerce AJAX Cart 是一款 WordPress 插件,可以更改 WooCommerte 購物車頁面的默認行為,讓買家在更改產品數量時即時查看總價格計算,無需手動點擊 "更...。
  • Payment Button for PayPal 》Payment Button for PayPal外掛(也叫做 WP PayPal)讓你可以輕鬆建立PayPal的立即購買、加入購物車、捐款、或訂閱等按鈕。它會透過短碼產生動態按鈕,在你的...。
  • WP eCommerce 》自 2006 年以來,我們一直在幫助像您這樣的創業者實現在線銷售的目標。不論您希望出售數字下載、實物庫存,或是訂閱和會員制服務,使用 WP eCommerce,您只需...。
  • WooCommerce Cart Tab 》許多電商網站犯的一個大UX錯誤就是隱藏購物車的存取。加入商品到購物車後,訪客下一個合理的步驟就是完成購買。不要讓顧客為了尋找購物車按鈕而感到挫折!, ...。
  • WooCommerce Menu Extension 》, 我們提供高級安裝和自定義支持服務,每小時收費 $10。, 點擊這裡 了解更多信息。, , 將「WooCommerce Links」添加到您的 WordPress 菜單,就像添加其他菜...。
  • Empty Cart Button for WooCommerce 》這個外掛可以在購物車頁面上添加一個「清空購物車」按鈕,只需點擊一下即可清空購物車。, 功能:, , 在購物車頁面上添加「清空購物車」按鈕,只需點擊一下即...。
  • Caddy – Smart Side Cart for WooCommerce 》Caddy 是一款高效能、能提高轉換率的 WooCommerce 網店側邊購物車,可提升網店的購物體驗和幫助銷售增長。, 借助 Caddy 的內置產品推薦功能,可以增加平均訂...。
  • Minicart for WooCommerce 》這個外掛可以讓你在網站上加入購物車小頁面。你可以從外掛選項中更改小頁面的位置。內建有5種購物車圖示可供選擇。現在在免費版中,支援Shortcode。, 專業版,...。
  • Cart Weight for WooCommerce 》在購物車、小購物車和結帳頁面顯示顧客即將訂購的產品重量。啟用外掛後即可使用,不需要任何額外的配置。, 該外掛不需要進行任何額外的配置。啟用後,訂單總...。

文章
Filter
Mastodon