| 开发者 | sjrubel10 |
|---|---|
| 更新时间 | 2026年8月21日 02:32 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[comw_product id="123"] - Sell a single item from COD Order Manager's own built-in product catalog. Shows the thumbnail/gallery, title, price, and an inline Buy Now button with the checkout panel already wired up. Use this for a dedicated product page or a promoted item embedded in a blog post.
[comw_buy_button id="123"] - The universal buy button. Point it at any priced post - COD Order Manager's own catalog, a WooCommerce product (simple, variable, or external/affiliate), or any other post type you've registered via a filter - and it resolves the price, image, and stock fresh from the database every time. Also works with no product behind it at all:
[comw_buy_button title="One-Hour Consultation" price="49.99"]
for a one-off service or item that doesn't need its own product page. Perfect for a pricing table, a landing page call-to-action, or a "Buy Now" link dropped into an existing WooCommerce product page.
[comw_product_list] - A full catalog grid (or list) with a grid/list toggle, a left-hand sidebar of filters that only render when they're actually useful (price range, category, tags, attributes, rating, and stock status), and a click-to-preview image popup with an auto-rotating gallery. New pages load either with a "Load More" button or automatically via infinite scroll as the visitor reaches the bottom - your choice, set once in Settings. Attributes:
title - an optional heading shown on the same line as the "Showing X of Y products" count and grid/list toggle (default: none)post_type - comw_product (default, your own catalog), product (list WooCommerce products instead), or both_product (merge your own catalog and WooCommerce's into one combined grid)per_page, columns, view (grid or list)group_by_category - yes to show a "Shop by Category" layout instead: a heading and its own small grid (starting with per_page products) for every category that actually has published products, one after another. Each category gets its own independent "Load More" button (loading more of just that category, not the whole page) once it has more than per_page products, plus a "View All" link to its own archive. No filter sidebar or infinite scroll in this mode - each category grid is its own self-contained query.filters, filter_price, filter_category, filter_tags, filter_attributes, filter_rating, filter_stock - each can be set to no to hide that specific filter, or filters="no" to hide the whole sidebar (ignored when group_by_category="yes")[comw_hero_slider] - An auto-rotating image slider/banner for your homepage, landing page, or storefront header. Each slide has its own background image, heading (choose the HTML tag, H1-H6, for SEO control), subtitle, call-to-action button, text alignment/color, and color overlay. Manage slides with drag-to-reorder and global settings (autoplay, interval, dots, arrows, fade/slide transition, height, boxed/full width) under COD Order Manager > Hero Slider.
[comw_product_landing id="123"] - A full marketing-style landing page for one product: hero photo (or auto-sliding gallery), title, price, and Buy Now, an optional feature-chip strip pulled from the product's own Specifications, and optional "Related Products" (same category) / "Newest Arrivals" sections. Two hero layouts (full-width image with the title over it, or a classic side-by-side split) and a "Dark Premium" or "Light" color scheme are set globally under COD Order Manager > Product Landing Page, along with colors, fonts, image sizing, and auto-slide timing - any of it can be overridden per shortcode instance, e.g. show_related="no". Give a product its own Landing Page Images (Product Manager) for a hero photo distinct from its catalog thumbnail, or leave it empty to fall back to the Featured Image + Product Gallery automatically.
[comw_category_showcase] - A "Search by Category" row for your homepage or landing page: a horizontally-scrolling set of category cards (image + name), each linking straight to that category's own archive. Give a category its image under COD Order Manager > Products > Categories (Add/Edit Category screen) - a category with none set falls back to a plain placeholder icon rather than an empty box. Attributes:
title - the heading text (default "Search by Category"); leave empty (title="") to hide the heading entirelytaxonomy - comw_product_cat (default, this plugin's own catalog), product_cat (WooCommerce's categories instead - only when WooCommerce is active, otherwise falls back to this plugin's own), or both (merge both catalogs' categories into one row - each keeps using whichever "category image" field its own admin screen already offers: this plugin's Add/Edit Category screen for its own categories, WooCommerce's own Thumbnail field for WooCommerce's)count - how many categories to show (default: all)parent - 0 (default) shows only top-level categories; pass a category ID to show its subcategories insteadorderby, order - name (default), count, term_id, or menu_order; ASC (default) or DESChide_empty - yes to hide categories with no published products (default: no, so a category still shows even before its first product is added)show_arrows - no to hide the prev/next scroll buttons[comw_order_lookup] - A self-service "Track My Order" form. A customer enters their Order ID and the email they ordered with and sees the order's current status, item, and total - no account or login required. Wrong ID or wrong email both return the same generic message, so the form can't be used to probe whether a given order ID or email exists. Drop this on its own "Track Your Order" page and link to it from your order confirmation email or footer menu.
[comw_order_confirmation] - The order confirmation/thank-you page content, auto-created for you on activation (find it under COD Order Manager > Settings) - you don't normally need to place this manually.
Your own product catalog
[comw_product_list] and assignable right from the product editor, including adding a new category inline without leaving the page. Give a category its own image for a [comw_category_showcase] "Search by Category" row.<meta name="description">/og:description tag from the product's short description for search engines and social previews, automatically stepping aside if Yoast, Rank Math, All in One SEO, SEOPress, or The SEO Framework is already active.
Everything else it does
sjrubel-cod-order-manager folder to /wp-content/plugins/, or install it directly from the Plugins screen in your WordPress admin.[comw_product id="X"] shortcode on any page - or use [comw_product_list] to show your whole catalog at once.[comw_hero_slider] on your homepage.No. COD Order Manager ships with Cash on Delivery and Offline payment, both of which need nothing but a label - no API keys, no gateway account.
No. COD Order Manager works entirely on its own. If WooCommerce is also active on your site, it stays off by default so the two checkouts never collide - you can opt in to running it alongside WooCommerce from COD Order Manager > Settings.
Yes, once enabled alongside WooCommerce. Use [comw_buy_button id="123"] with a WooCommerce product ID, and a "Buy Now" button also appears on that product's own page - for simple and variable products. If COD Order Manager isn't set up to take over yet, that button automatically falls back to WooCommerce's own normal Add to Cart instead. External/affiliate products always link straight to the seller's own site, since WooCommerce itself never processes their payment either.
Yes - add the [comw_order_lookup] shortcode to any page. They enter their Order ID and the email they ordered with, no login required.
Yes to both. Categories and tags are managed under COD Order Manager > Products > Categories/Tags (or right from the product editor, including adding a new category on the fly), and the Import Products button on the Products screen accepts a CSV file - a WooCommerce product export works, or any CSV using the same column names.
Yes - each product under COD Order Manager > Products has an Inventory box where you can either track an exact quantity or manually mark it In Stock / Out of Stock. Existing products with no stock setting at all stay purchasable, so nothing you already have live suddenly disappears from sale.
It's for products that only make sense as one fixed-size package - a 20kg sack, a box of 6, a bundle of 3. Set a Fixed Quantity on the product and the quantity field at checkout is locked to that exact number, so customers can never accidentally multiply the price by ordering "20" of something that should only ever be ordered as one package. Just make sure Regular Price is the price of the whole package, not a single unit.
Yes - add [comw_category_showcase] to any page for a horizontally-scrolling row of category cards (image + name), each linking to that category's own archive. Set each category's image from COD Order Manager > Products > Categories, on that category's own Add/Edit screen.
Yes - the [comw_hero_slider] shortcode shows a fully customizable, auto-rotating image slider. Add and reorder slides (background image, heading, subtitle, button, text color, overlay) and control autoplay/timing/transition under COD Order Manager > Hero Slider.
Yes - add [comw_product_landing id="123"] to any page for a full marketing-style page for that one product: hero photo, price, Buy Now, a feature-highlight strip, and Related Products/Newest Arrivals sections. Colors, hero layout, image sizing, fonts, and auto-slide timing are all set under COD Order Manager > Product Landing Page, and any of the show/hide sections can be overridden per shortcode instance.
Yes - add your WhatsApp number under COD Order Manager > Settings > General Settings and an "Order via WhatsApp" button appears next to Buy Now everywhere it's shown. Clicking it opens the customer's own WhatsApp with a message already filled in (product, price, link) addressed to your number - they still have to press Send themselves, so it's a free, no-API contact channel rather than a guaranteed order. Requires nothing but a phone number - no WhatsApp Business API, no paid provider.
The free plugin shows you a preview of the checkout fields (Full Name, Email, Phone, Delivery Address, City, Postal Code, Country) under COD Order Manager > Checkout Fields. Editing labels/validation/order, hiding fields, and adding unlimited custom fields (text, email, phone, dropdown, checkbox, radio) requires COD Order Manager Pro.
Each filter (price, category, tags, attributes, rating, stock) only appears when it's actually applicable - your own product catalog has categories, tags, and stock status but no WooCommerce-style attributes or ratings, while a WooCommerce catalog shows attributes and ratings instead of tags. You can also disable any individual filter, or the whole sidebar, via shortcode attributes.
Orders are stored separately from WooCommerce orders, in their own Orders screen under the COD Order Manager admin menu.
Yes, via the separate COD Order Manager Pro add-on, which plugs payment gateways, Discount Rules, a full Checkout Fields editor, Sales Reports, SMS/WhatsApp notifications, OTP checkout verification, and ad pixel tracking directly into this plugin's existing Settings, Orders, and storefront screens - no separate configuration to learn.
[comw_category_showcase] taxonomy attribute - show WooCommerce's own product categories (taxonomy="product_cat") or merge them with this plugin's own catalog categories (taxonomy="both") instead of only this plugin's own catalog. Requires WooCommerce active; falls back to this plugin's own categories otherwise.[comw_product_list] title and group_by_category attributes - an optional heading inline with the product count/toggle, and a "Shop by Category" layout (a heading + small grid per category, each with its own independent "Load More" button and a "View All" link where there are more products than shown).[comw_product_list] filter popup (toggle/drawer display mode) wasn't usable on mobile - the dimmed background behind it now stays scoped to the product grid itself instead of covering the whole screen (including unrelated content above it), the panel opens in its original position instead of jumping to the top of the screen, and its close button no longer gets visually clipped.[comw_category_showcase] - a "Search by Category" row of category cards (image + name) for your homepage or landing page, with prev/next scrolling and a link to each category's own archive.[comw_category_showcase] shows for that category.[comw_product_landing id="123"] - a full marketing-style landing page for one product: hero image/gallery, title, price, Buy Now, category badges, a feature-chip strip, and "Related Products"/"Newest Arrivals" sections, each independently toggleable per shortcode instance.[comw_product id="123" modal="yes"]) now pops the checkout into the same popup style used elsewhere on the site, instead of expanding inline.[comw_hero_slider] shortcode plus a drag-to-reorder admin screen for an auto-rotating homepage/landing-page image banner.both_product option for [comw_product_list] to merge your own catalog and WooCommerce's into one combined grid.[comw_product_list] sidebar filters - price range, category, tags, attributes, rating, and stock status, each conditionally shown based on what's actually available.[comw_product_list], alongside the original Load More button - switch between them in Settings.[comw_order_lookup] shortcode for self-service guest order tracking, rate-limited and enumeration-safe.