| 开发者 | dimdulltd |
|---|---|
| 更新时间 | 2026年9月13日 02:57 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
product_id, and publish another product checkout URL.[one_page_product_checkout product_id="123"]template="…" override; site-wide default in settings123 with the product ID (Products → hover or edit; the ID is post=123 in the URL).
[one_page_product_checkout product_id="123"]
Omitted attributes use WooCommerce → One Page Checkout.
Required
product_id (integer) — Published simple or variable product ID.yes / no, plus true / 1 / on and false / 0 / off.
template — classic | stacked | detail-first | express | sidebar. Default: settings (classic). Legacy: two-column → classic, single → stacked.clear_cart — Empty the cart before render. Default: no. Use yes on dedicated funnels.auto_add_simple — Simple products only: add qty 1 on first load if not in cart. Default: yes.show_product_summary — Show image, title, price, and short description. Default: yes.classic (default) — Two columns: product summary beside purchase and checkout.stacked — Single column: summary, purchase, checkout, description, reviews.detail-first — Summary and purchase on top, then description, reviews, checkout.express — Narrow funnel: summary, purchase, and checkout only.sidebar — Scrolling details with a sticky checkout card on desktop.product_id is unique per page. Duplicate a page, change only the product ID, and give each URL its own title and slug. Point each campaign at that permalink. Use clear_cart="yes" when the page must sell only that SKU.
dimdul-one-page-product-checkout to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload Plugin.[one_page_product_checkout product_id="123"] to a page, replacing 123 with a real product ID.It is a landing page that shows one product and the checkout form on the same URL. The shopper does not open a separate cart or checkout page. DimDul One Page Product Checkout builds that layout with [one_page_product_checkout].
Paid ads and email often send people who already chose a product. Extra cart and checkout steps add friction. A one-page checkout keeps the offer and payment together so the visit can end in an order on the same page.
Create a page, paste [one_page_product_checkout product_id="123"], and replace 123 with the product ID. Optionally set template, clear_cart, auto_add_simple, and show_product_summary.
Products → hover the row or open the editor. The ID is the post= number in the URL.
No. Catalog, cart, and checkout keep working. This adds an optional lander for one product. Other cart items remain unless clear_cart="yes".
Yes. It uses WooCommerce’s native variation form, so dropdowns and swatch plugins work as usual.
Simple and variable products only.
Express for short funnels, Classic for side-by-side product and checkout, Stacked or Detail First for long copy and reviews, Sticky Sidebar (sidebar) when checkout should stay on screen.
Yes. Reuse the shortcode and change product_id. Keep unique titles and slugs. Use clear_cart="yes" for single-SKU campaign URLs.
WooCommerce → One Page Checkout. If WooCommerce is inactive, use Settings → One Page Checkout.
template="…" shortcode attribute and a "Landing template" setting.layout option is deprecated in favour of template and is mapped automatically (two-column → Classic, single → Stacked). Existing sites keep their current look.